1
0
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:
David Bomba 2022-05-17 18:01:59 +10:00
parent 53b1f4911c
commit 7311508e15
2 changed files with 4 additions and 2 deletions

View File

@ -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',
];
}
}

View File

@ -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',
];
}
}