Fixed routes and budgets.index #508

This commit is contained in:
James Cole
2016-12-29 20:48:33 +01:00
parent 3f802fe27a
commit a58cd83ea7
6 changed files with 69 additions and 35 deletions

View File

@@ -32,12 +32,12 @@ class BudgetLimit extends Model
= [
'created_at' => 'date',
'updated_at' => 'date',
'startdate' => 'date',
'start_date' => 'date',
'end_date' => 'date',
'repeats' => 'boolean',
];
/** @var array */
protected $dates = ['created_at', 'updated_at'];
protected $hidden = ['amount_encrypted'];
protected $dates = ['created_at', 'updated_at','start_date','end_date'];
/**
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo