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