From cd66d2c7b00c5f13de78a2a1421fcacaf0c0ce91 Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 18 Feb 2016 10:06:34 +0100 Subject: [PATCH] Return 0 amount. [skip ci] --- app/Helpers/Collection/BillLine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Helpers/Collection/BillLine.php b/app/Helpers/Collection/BillLine.php index 4f29e85a64..8c3141170e 100644 --- a/app/Helpers/Collection/BillLine.php +++ b/app/Helpers/Collection/BillLine.php @@ -35,7 +35,7 @@ class BillLine */ public function getAmount(): string { - return $this->amount; + return $this->amount ?? '0'; } /**