A free open source IT asset/license management system
Prevent a ludicrous amount of consumables
snipe67d6f7119d52
diff --git a/resources/views/partials/forms/edit/quantity.blade.php b/resources/views/partials/forms/edit/quantity.blade.phpindex f8a421adcd..b41d13f650 100644--- a/resources/views/partials/forms/edit/quantity.blade.php+++ b/resources/views/partials/forms/edit/quantity.blade.php@@ -4,8 +4,10 @@<label for="qty" class="col-md-3 control-label">{{ trans('general.quantity') }}</label><div class="col-md-7{{ (Helper::checkIfRequired($item, 'qty')) ? ' required' : '' }}"><div class="col-md-3" style="padding-left:0px">- <input class="form-control" type="text" name="qty" aria-label="qty" id="qty" value="{{ old('qty', $item->qty) }}" {!! (Helper::checkIfRequired($item, 'qty')) ? ' required ' : '' !!}/>+ <input class="form-control" maxlength="5" type="text" name="qty" aria-label="qty" id="qty" value="{{ old('qty', $item->qty) }}" {!! (Helper::checkIfRequired($item, 'qty')) ? ' required ' : '' !!}/></div>+ <div class="col-md-12" style="padding-left:0px">{!! $errors->first('qty', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}+ </div></div></div>