Fix for invoice status label

This commit is contained in:
Hillel Coren 2017-01-29 09:15:53 +02:00
parent 439b885c1d
commit 527ded9b92

View File

@ -638,7 +638,7 @@ class Invoice extends EntityModel implements BalanceAffecting
public function statusClass() 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() public function statusLabel()