From 527ded9b925addf7290a9e7bd2383518c0c0ac24 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 29 Jan 2017 09:15:53 +0200 Subject: [PATCH] Fix for invoice status label --- app/Models/Invoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Invoice.php b/app/Models/Invoice.php index e6276de59dc9..2d161f0e0168 100644 --- a/app/Models/Invoice.php +++ b/app/Models/Invoice.php @@ -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()