mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 12:14:29 -04:00
Merge fix to show archived payments to clients
This commit is contained in:
parent
86c00170bc
commit
1819f72847
@ -103,7 +103,7 @@ class PaymentRepository extends BaseRepository
|
||||
->where('clients.is_deleted', '=', false)
|
||||
->where('payments.is_deleted', '=', false)
|
||||
->where('invitations.deleted_at', '=', null)
|
||||
->where('invoices.deleted_at', '=', null)
|
||||
->where('invoices.is_deleted', '=', false)
|
||||
->where('invitations.contact_id', '=', $contactId)
|
||||
->select(
|
||||
DB::raw('COALESCE(clients.currency_id, accounts.currency_id) currency_id'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user