mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Add send_email in the request body for reports
This commit is contained in:
parent
53b1f4911c
commit
7311508e15
@ -32,7 +32,8 @@ class GenericReportRequest extends Request
|
||||
'end_date' => 'string|date',
|
||||
'date_key' => 'string',
|
||||
'date_range' => 'string',
|
||||
'report_keys' => 'present|array'
|
||||
'report_keys' => 'present|array',
|
||||
'send_email' => 'bool',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -33,7 +33,8 @@ class ProfitLossRequest extends Request
|
||||
'is_income_billed' => 'required|bail|bool',
|
||||
'is_expense_billed' => 'required|bail|bool',
|
||||
'include_tax' => 'required|bail|bool',
|
||||
'date_range' => 'required|bail|string'
|
||||
'date_range' => 'required|bail|string',
|
||||
'send_email' => 'bool',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user