Finance overview page added to admin with monthly breakdown #130

This commit is contained in:
Nabeel Shahzad
2018-03-05 19:55:48 -06:00
parent 01af6f6855
commit 505931736c
18 changed files with 276 additions and 31 deletions

View File

@@ -14,6 +14,7 @@ class SubfleetExpense extends BaseModel
'subfleet_id',
'name',
'amount',
'type',
];
/**
@@ -23,6 +24,7 @@ class SubfleetExpense extends BaseModel
*/
protected $casts = [
'amount' => 'float',
'type' => 'integer',
];
public static $rules = [