Implement household, QR sale, team helpers assignment, and helper endpoints
This commit is contained in:
@@ -23,6 +23,8 @@ class StoreCollectionTeamRequest extends FormRequest
|
||||
'truck_id' => ['nullable', 'integer', 'exists:trucks,id'],
|
||||
'helper_ids' => ['nullable', 'array'],
|
||||
'helper_ids.*' => ['integer', 'exists:users,id'],
|
||||
'helper_count' => ['nullable', 'integer', 'min:0', 'max:10'],
|
||||
'helper_assignment_mode' => ['nullable', 'string', Rule::in(['random', 'manual'])],
|
||||
'status' => ['nullable', Rule::in([CollectionTeam::STATUS_ACTIVE, CollectionTeam::STATUS_INACTIVE])],
|
||||
'notes' => ['nullable', 'string', 'max:1000'],
|
||||
'override_conflicts' => ['nullable', 'boolean'],
|
||||
|
||||
Reference in New Issue
Block a user