mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop
This commit is contained in:
commit
a1cb4ce00b
@ -59,6 +59,8 @@ class StorePurchaseOrderRequest extends Request
|
||||
$rules['file'] = $this->file_validation;
|
||||
}
|
||||
|
||||
$rules['status_id'] = 'nullable|integer|in:1,2,3,4,5';
|
||||
|
||||
return $rules;
|
||||
}
|
||||
|
||||
|
@ -62,6 +62,8 @@ class UpdatePurchaseOrderRequest extends Request
|
||||
$rules['file'] = $this->file_validation;
|
||||
}
|
||||
|
||||
$rules['status_id'] = 'sometimes|integer|in:1,2,3,4,5';
|
||||
|
||||
return $rules;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user