Filtered out quotes from reminder emails
This commit is contained in:
parent
65d3667600
commit
37ffd01463
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue