mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-12 16:44:08 -08:00
Show accessory checkout id in user accessory table
This commit is contained in:
parent
f32ebdc7ac
commit
e7cb4a75eb
|
@ -1,11 +1,10 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
'accessory_checkout_id' => 'Checkout ID',
|
||||
'dl_csv' => 'Download CSV',
|
||||
'eula_text' => 'EULA',
|
||||
'id' => 'ID',
|
||||
'require_acceptance' => 'Acceptance',
|
||||
'title' => 'Accessory Name',
|
||||
|
||||
|
||||
);
|
||||
|
|
|
@ -896,7 +896,8 @@
|
|||
}'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-md-5">{{ trans('general.name') }}</th>
|
||||
<th class="col-md-1">{{ trans('admin/accessories/table.accessory_checkout_id') }}</th>
|
||||
<th class="col-md-4">{{ trans('general.name') }}</th>
|
||||
<th class-="col-md-5" data-fieldname="note">{{ trans('general.notes') }}</th>
|
||||
<th class="col-md-1" data-footer-formatter="sumFormatter" data-fieldname="purchase_cost">{{ trans('general.purchase_cost') }}</th>
|
||||
<th class="col-md-1 hidden-print">{{ trans('general.action') }}</th>
|
||||
|
@ -905,7 +906,8 @@
|
|||
<tbody>
|
||||
@foreach ($user->accessories as $accessory)
|
||||
<tr>
|
||||
<td>{!!$accessory->present()->nameUrl()!!}</td>
|
||||
<td>{{ $accessory->pivot->id }}</td>
|
||||
<td>{!!$accessory->present()->nameUrl()!!}</td>
|
||||
<td>{!! $accessory->pivot->note !!}</td>
|
||||
<td>
|
||||
{!! Helper::formatCurrencyOutput($accessory->purchase_cost) !!}
|
||||
|
@ -1210,4 +1212,4 @@ $('#dataConfirmModal').on('show.bs.modal', function (event) {
|
|||
</script>
|
||||
|
||||
|
||||
@stop
|
||||
@stop
|
||||
|
|
Loading…
Reference in a new issue