minor fixes for redundant code

This commit is contained in:
David Bomba 2021-09-27 10:36:36 +10:00
parent d5e580b863
commit 768a8bebba

View File

@ -191,7 +191,7 @@ class RecurringExpense extends BaseModel
for ($x=0; $x<$iterations; $x++) { for ($x=0; $x<$iterations; $x++) {
// we don't add the days... we calc the day of the month!! // we don't add the days... we calc the day of the month!!
$next_due_date = $this->nextDateByFrequency($next_send_date); $this->nextDateByFrequency($next_send_date);
$data[] = [ $data[] = [
'send_date' => $next_send_date->format('Y-m-d'), 'send_date' => $next_send_date->format('Y-m-d'),