Fix for #626
This commit is contained in:
parent
feb62b1253
commit
74c636aef2
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue