mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Hide archived recurring invoice in the client portal
This commit is contained in:
parent
be4dbe5195
commit
2c77af532f
@ -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…
x
Reference in New Issue
Block a user