1
0
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:
Hillel Coren 2017-06-04 16:04:09 +03:00
parent 0b3a116287
commit 2d7b56ede7

View File

@ -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'),