mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-02 11:44:34 -04:00
set requirement of array type on ids for bulk actions
This commit is contained in:
parent
6a2600b7dc
commit
8e12cfe4d5
@ -24,7 +24,7 @@ class BulkInvoiceRequest extends Request
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'action' => 'required|string',
|
'action' => 'required|string',
|
||||||
'ids' => 'required',
|
'ids' => 'required|array',
|
||||||
'email_type' => 'sometimes|in:reminder1,reminder2,reminder3,reminder_endless,custom1,custom2,custom3,invoice,quote,credit,payment,payment_partial,statement,purchase_order'
|
'email_type' => 'sometimes|in:reminder1,reminder2,reminder3,reminder_endless,custom1,custom2,custom3,invoice,quote,credit,payment,payment_partial,statement,purchase_order'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user