mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
cleaning up/adding variable
This commit is contained in:
parent
3ba79600fb
commit
a8643e5d35
|
@ -12,5 +12,5 @@ return array(
|
|||
'remaining' => 'Remaining',
|
||||
'total' => 'Total',
|
||||
'update' => 'Update Component',
|
||||
'checkin_limit' => 'Amount checked in must be equal to or less than this amount'
|
||||
'checkin_limit' => 'Amount checked in must be equal to or less than :assigned_qty'
|
||||
);
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<input type="text" class="form-control" name="checkin_qty" aria-label="checkin_qty" value="{{ old('assigned_qty', $component_assets->assigned_qty) }}">
|
||||
</div>
|
||||
<div class="col-md-9 col-md-offset-2">
|
||||
<p class="help-block">{{ trans(admin/components/general.checkin_limit) }}: {{ $component_assets->assigned_qty }}</p>
|
||||
<p class="help-block">{{ trans(admin/components/general.checkin_limit, ['assigned_qty' => '$component_assets->assigned_qty']) }}</p>
|
||||
{!! $errors->first('checkin_qty', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i>
|
||||
:message</span>') !!}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue