jump bridge statistics
This commit is contained in:
@@ -132,7 +132,7 @@ class JumpBridgeTax {
|
|||||||
|
|
||||||
//Get the total usage
|
//Get the total usage
|
||||||
$usage = JumpBridgeJournal::whereBetween('date', [$this->date, $this->date->addDays($this->days)])
|
$usage = JumpBridgeJournal::whereBetween('date', [$this->date, $this->date->addDays($this->days)])
|
||||||
->sum(['amount']);
|
->sum('amount');
|
||||||
|
|
||||||
//Return the usage
|
//Return the usage
|
||||||
return $usage;
|
return $usage;
|
||||||
|
|||||||
Reference in New Issue
Block a user