cleaning up/adding variable
This commit is contained in:
parent
3ba79600fb
commit
a8643e5d35
2 changed files with 2 additions and 2 deletions
|
@ -12,5 +12,5 @@ return array(
|
||||||
'remaining' => 'Remaining',
|
'remaining' => 'Remaining',
|
||||||
'total' => 'Total',
|
'total' => 'Total',
|
||||||
'update' => 'Update Component',
|
'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) }}">
|
<input type="text" class="form-control" name="checkin_qty" aria-label="checkin_qty" value="{{ old('assigned_qty', $component_assets->assigned_qty) }}">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9 col-md-offset-2">
|
<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>
|
{!! $errors->first('checkin_qty', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i>
|
||||||
:message</span>') !!}
|
:message</span>') !!}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue