This commit is contained in:
denisdulici
2018-03-09 16:24:00 +03:00
parent 96a55a8225
commit b51163ae02
4 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@ class InvoiceReminder extends Command
$date = Date::today()->subDays($day)->toDateString();
// Get upcoming bills
$invoices = Invoice::with('customer')->due($date)->get();
$invoices = Invoice::with('customer')->accrued()->due($date)->get();
foreach ($invoices as $invoice) {
// Notify the customer