mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-03 18:07:41 -08:00
un'required'ing the rule. not sure what's breaking here but looking
This commit is contained in:
parent
e00a1aec02
commit
0c84904bf9
|
@ -27,7 +27,7 @@ class AssetCheckinRequest extends Request
|
|||
|
||||
if($settings->require_checkinout_notes) {
|
||||
// dd($settings->require_checkinout_notes);
|
||||
$rules['notes'] = 'required|string|nullable';
|
||||
$rules['notes'] = 'string|nullable';
|
||||
}
|
||||
return $rules;
|
||||
}
|
||||
|
|
|
@ -37,12 +37,12 @@ class AssetCheckoutRequest extends Request
|
|||
'nullable',
|
||||
'date'
|
||||
],
|
||||
];
|
||||
|
||||
if($settings->require_checkinout_notes) {
|
||||
// dd($settings->require_checkinout_notes);
|
||||
$rules['notes'] = 'required|string|nullable';
|
||||
$rules['notes'] = 'string|nullable';
|
||||
}
|
||||
];
|
||||
|
||||
return $rules;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue