mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Fixes for profit/loss request
This commit is contained in:
parent
c131cfcd1e
commit
5a7b032975
@ -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…
Reference in New Issue
Block a user