Hide archived recurring invoice in the client portal
This commit is contained in:
parent
be4dbe5195
commit
2c77af532f
1 changed files with 1 additions and 0 deletions
|
|
@ -217,6 +217,7 @@ class InvoiceRepository extends BaseRepository
|
|||
->where('clients.deleted_at', '=', null)
|
||||
->where('invoices.is_recurring', '=', true)
|
||||
->where('invoices.is_public', '=', true)
|
||||
->where('invoices.deleted_at', '=', null)
|
||||
//->where('invoices.start_date', '>=', date('Y-m-d H:i:s'))
|
||||
->select(
|
||||
DB::raw('COALESCE(clients.currency_id, accounts.currency_id) currency_id'),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue