mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-04 20:15:30 +00:00
Merge pull request #16781 from uberbrady/make_min_qty_not_required
min_amt wasn't correctly being set to required or not
This commit is contained in:
@ -3,7 +3,10 @@
|
||||
<label for="min_amt" class="col-md-3 control-label">{{ trans('general.min_amt') }}</label>
|
||||
<div class="col-md-9">
|
||||
<div class="col-md-2" style="padding-left:0px">
|
||||
<input class="form-control col-md-3" maxlength="5" type="text" name="min_amt" id="min_amt" aria-label="min_amt" value="{{ old('min_amt', ($item->min_amt ?? '')) }}"{{ (isset($item) ?? (Helper::checkIfRequired($item, 'min_amt')) ? ' required' : '') }}/>
|
||||
<input class="form-control col-md-3" maxlength="5" type="text" name="min_amt" id="min_amt"
|
||||
aria-label="min_amt"
|
||||
value="{{ old('min_amt', ($item->min_amt ?? '')) }}"
|
||||
{{ (isset($item) && (Helper::checkIfRequired($item, 'min_amt')) ? ' required' : '') }}/>
|
||||
</div>
|
||||
<div class="col-md-7" style="margin-left: -15px;">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user