From d0a80bb738b31e39d41f6fb47d4d097db89b9140 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Wed, 26 Dec 2018 22:44:07 -0600 Subject: [PATCH] jump bridge statistics --- app/Library/Finances/JumpBridgeTax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Library/Finances/JumpBridgeTax.php b/app/Library/Finances/JumpBridgeTax.php index 7b168943f..a3a1989fb 100644 --- a/app/Library/Finances/JumpBridgeTax.php +++ b/app/Library/Finances/JumpBridgeTax.php @@ -132,7 +132,7 @@ class JumpBridgeTax { //Get the total usage $usage = JumpBridgeJournal::whereBetween('date', [$this->date, $this->date->addDays($this->days)]) - ->sum(['amount']); + ->sum('amount'); //Return the usage return $usage;