Fix for invoice status label
This commit is contained in:
parent
439b885c1d
commit
527ded9b92
1 changed files with 1 additions and 1 deletions
|
|
@ -638,7 +638,7 @@ class Invoice extends EntityModel implements BalanceAffecting
|
|||
|
||||
public function statusClass()
|
||||
{
|
||||
return static::calcStatusClass($this->invoice_status_id, $this->balance, $this->due_date);
|
||||
return static::calcStatusClass($this->invoice_status_id, $this->balance, $this->getOriginal('due_date'));
|
||||
}
|
||||
|
||||
public function statusLabel()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue