jump bridge statistics

This commit is contained in:
2018-12-26 22:43:44 -06:00
parent 47c275fda5
commit 5d1dd959e3

View File

@@ -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