mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Show used credits in the client portal
This commit is contained in:
parent
0b3a116287
commit
2d7b56ede7
@ -69,7 +69,6 @@ class CreditRepository extends BaseRepository
|
||||
->where('credits.client_id', '=', $clientId)
|
||||
->where('clients.deleted_at', '=', null)
|
||||
->where('credits.deleted_at', '=', null)
|
||||
->where('credits.balance', '>', 0)
|
||||
->select(
|
||||
DB::raw('COALESCE(clients.currency_id, accounts.currency_id) currency_id'),
|
||||
DB::raw('COALESCE(clients.country_id, accounts.country_id) country_id'),
|
||||
|
Loading…
Reference in New Issue
Block a user