mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Filtered out quotes from reminder emails
This commit is contained in:
parent
65d3667600
commit
37ffd01463
@ -673,6 +673,8 @@ class InvoiceRepository extends BaseRepository
|
||||
$sql = implode(' OR ', $dates);
|
||||
$invoices = Invoice::whereAccountId($account->id)
|
||||
->where('balance', '>', 0)
|
||||
->where('is_quote', '=', false)
|
||||
->where('is_recurring', '=', false)
|
||||
->whereRaw('('.$sql.')')
|
||||
->get();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user