Show accessory checkout id in user accessory table

This commit is contained in:
Marcus Moore 2024-11-04 15:56:53 -08:00
parent f32ebdc7ac
commit e7cb4a75eb
No known key found for this signature in database
2 changed files with 6 additions and 5 deletions

View file

@ -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',
);

View file

@ -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,6 +906,7 @@
<tbody>
@foreach ($user->accessories as $accessory)
<tr>
<td>{{ $accessory->pivot->id }}</td>
<td>{!!$accessory->present()->nameUrl()!!}</td>
<td>{!! $accessory->pivot->note !!}</td>
<td>