Fix for invoice status label
This commit is contained in:
parent
716c6dd43f
commit
c6e8ca20b7
1 changed files with 1 additions and 1 deletions
|
|
@ -637,7 +637,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