Fix view of bills.

This commit is contained in:
James Cole
2018-06-24 16:17:42 +02:00
parent 59f5b38dca
commit 89f8f9b45b
4 changed files with 5 additions and 13 deletions

View File

@@ -50,6 +50,7 @@ class BillFormRequest extends Request
'repeat_freq' => $this->string('repeat_freq'),
'skip' => $this->integer('skip'),
'notes' => $this->string('notes'),
'active' => $this->boolean('active'),
];
}
@@ -72,6 +73,7 @@ class BillFormRequest extends Request
'date' => 'required|date',
'repeat_freq' => 'required|in:weekly,monthly,quarterly,half-year,yearly',
'skip' => 'required|between:0,31',
'active' => 'boolean',
];
return $rules;