mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-28 23:19:42 -08:00
requested changes from pr
This commit is contained in:
parent
0d608552ef
commit
2727210c78
|
@ -26,7 +26,7 @@ class AssetCheckinRequest extends Request
|
|||
$rules = [];
|
||||
|
||||
if($settings->require_checkinout_notes) {
|
||||
$rules['note'] = 'string|nullable';
|
||||
$rules['note'] = 'string|required';
|
||||
}
|
||||
return $rules;
|
||||
}
|
||||
|
|
|
@ -23,7 +23,6 @@ return [
|
|||
'nothing_updated' => 'No fields were selected, so nothing was updated.',
|
||||
'no_assets_selected' => 'No assets were selected, so nothing was updated.',
|
||||
'assets_do_not_exist_or_are_invalid' => 'Selected assets cannot be updated.',
|
||||
'no_note' => 'Note field is empty',
|
||||
],
|
||||
|
||||
'restore' => [
|
||||
|
|
Loading…
Reference in a new issue