From 5d1dd959e37623a0ebd746003b95eac98005c973 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Wed, 26 Dec 2018 22:43:44 -0600 Subject: [PATCH] jump bridge statistics --- app/Library/Finances/JumpBridgeTax.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Library/Finances/JumpBridgeTax.php b/app/Library/Finances/JumpBridgeTax.php index b1cfa44d5..7b168943f 100644 --- a/app/Library/Finances/JumpBridgeTax.php +++ b/app/Library/Finances/JumpBridgeTax.php @@ -131,8 +131,7 @@ class JumpBridgeTax { public function OverallTax() { //Get the total usage - $usage = DB::table('jump_bridge_journal') - ->whereBetween('date', [$this->date, $this->date->addDays($this->days)]) + $usage = JumpBridgeJournal::whereBetween('date', [$this->date, $this->date->addDays($this->days)]) ->sum(['amount']); //Return the usage