Fixes for profit/loss request
This commit is contained in:
parent
c131cfcd1e
commit
5a7b032975
1 changed files with 2 additions and 2 deletions
|
|
@ -28,8 +28,8 @@ class ProfitLossRequest extends Request
|
|||
public function rules()
|
||||
{
|
||||
return [
|
||||
'start_date' => 'required_if:date_range,custom|string|date',
|
||||
'end_date' => 'required_if:date_range,custom|string|date',
|
||||
'start_date' => 'bail|nullable|required_if:date_range,custom|string|date',
|
||||
'end_date' => 'bail|nullable|required_if:date_range,custom|string|date',
|
||||
'is_income_billed' => 'required|bail|bool',
|
||||
'is_expense_billed' => 'bool',
|
||||
'include_tax' => 'required|bail|bool',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue