beginning of everything. tried some stuff but yea. something is up
This commit is contained in:
@@ -72,14 +72,6 @@ class ConsumablePresenter extends Presenter
|
||||
'searchable' => true,
|
||||
'sortable' => true,
|
||||
'title' => trans('admin/consumables/general.item_no'),
|
||||
], [
|
||||
'field' => 'min_amt',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'title' => trans('general.min_amt'),
|
||||
'visible' => true,
|
||||
'formatter' => 'minAmtFormatter',
|
||||
'class' => 'text-right text-padding-number-cell',
|
||||
], [
|
||||
'field' => 'qty',
|
||||
'searchable' => false,
|
||||
@@ -96,6 +88,14 @@ class ConsumablePresenter extends Presenter
|
||||
'visible' => true,
|
||||
'class' => 'text-right text-padding-number-cell',
|
||||
'footerFormatter' => 'qtySumFormatter',
|
||||
], [
|
||||
'field' => 'min_amt',
|
||||
'searchable' => false,
|
||||
'sortable' => true,
|
||||
'title' => trans('general.min_amt'),
|
||||
'visible' => true,
|
||||
'formatter' => 'minAmtFormatter',
|
||||
'class' => 'text-right text-padding-number-cell',
|
||||
], [
|
||||
'field' => 'location',
|
||||
'searchable' => true,
|
||||
|
||||
@@ -189,6 +189,17 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- total -->
|
||||
@if ($consumable->qty)
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
{{ trans('admin/components/general.total') }}
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
{{ $consumable->qty }}
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- remaining -->
|
||||
@if ($consumable->numRemaining())
|
||||
|
||||
Reference in New Issue
Block a user