adds notes to the accessories tab under users

This commit is contained in:
Godfrey M 2022-12-20 10:37:19 -08:00
parent 88291cadc1
commit e791e6592a

View file

@ -751,7 +751,8 @@
<thead> <thead>
<tr> <tr>
<th class="col-md-5">{{ trans('general.name') }}</th> <th class="col-md-5">{{ trans('general.name') }}</th>
<th class="col-md-6" data-footer-formatter="sumFormatter" data-fieldname="purchase_cost">{{ trans('general.purchase_cost') }}</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> <th class="col-md-1 hidden-print">{{ trans('general.action') }}</th>
</tr> </tr>
</thead> </thead>
@ -759,6 +760,7 @@
@foreach ($user->accessories as $accessory) @foreach ($user->accessories as $accessory)
<tr> <tr>
<td>{!!$accessory->present()->nameUrl()!!}</td> <td>{!!$accessory->present()->nameUrl()!!}</td>
<td>{!! $accessory->pivot->note !!}</td>
<td> <td>
{!! Helper::formatCurrencyOutput($accessory->purchase_cost) !!} {!! Helper::formatCurrencyOutput($accessory->purchase_cost) !!}
</td> </td>