1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Update last sent date for recurring expenses

This commit is contained in:
David Bomba 2023-08-03 13:37:10 +10:00
parent 7fca2cd24f
commit 6a92d91895

View File

@ -111,7 +111,7 @@ class RecurringExpensesCron
$recurring_expense->next_send_date = $recurring_expense->nextSendDate();
$recurring_expense->next_send_date_client = $recurring_expense->next_send_date;
$recurring_expense->last_sent_date = now();
$recurring_expense->remaining_cycles = $recurring_expense->remainingCycles();
$recurring_expense->save();
}