Add field to charge an expense to a user #130

This commit is contained in:
Nabeel Shahzad
2018-03-06 17:15:42 -06:00
parent dad923489b
commit c7925db0e7
4 changed files with 18 additions and 6 deletions

View File

@@ -18,17 +18,19 @@ class Expense extends BaseModel
'amount',
'type',
'multiplier',
'charge_to_user',
'ref_class',
'ref_class_id',
'active',
];
public static $rules = [
'active' => 'boolean',
'airline_id' => 'integer',
'amount' => 'float',
'multiplier' => 'bool',
'type' => 'integer',
'active' => 'boolean',
'airline_id' => 'integer',
'amount' => 'float',
'type' => 'integer',
'multiplier' => 'bool',
'charge_to_user' => 'bool',
];
/**