mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for #626
This commit is contained in:
parent
feb62b1253
commit
74c636aef2
@ -806,7 +806,7 @@ class Account extends Eloquent
|
||||
for ($i=1; $i<=3; $i++) {
|
||||
if ($date = $this->getReminderDate($i)) {
|
||||
$field = $this->{"field_reminder{$i}"} == REMINDER_FIELD_DUE_DATE ? 'due_date' : 'invoice_date';
|
||||
if ($this->$field == $date) {
|
||||
if ($invoice->$field == $date) {
|
||||
return "reminder{$i}";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user