mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
adds notes to the accessories tab under users
This commit is contained in:
parent
88291cadc1
commit
e791e6592a
|
@ -750,18 +750,20 @@
|
||||||
}'>
|
}'>
|
||||||
<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 hidden-print">{{ trans('general.action') }}</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>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach ($user->accessories as $accessory)
|
@foreach ($user->accessories as $accessory)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{!!$accessory->present()->nameUrl()!!}</td>
|
<td>{!!$accessory->present()->nameUrl()!!}</td>
|
||||||
<td>
|
<td>{!! $accessory->pivot->note !!}</td>
|
||||||
|
<td>
|
||||||
{!! Helper::formatCurrencyOutput($accessory->purchase_cost) !!}
|
{!! Helper::formatCurrencyOutput($accessory->purchase_cost) !!}
|
||||||
</td>
|
</td>
|
||||||
<td class="hidden-print">
|
<td class="hidden-print">
|
||||||
@can('checkin', $accessory)
|
@can('checkin', $accessory)
|
||||||
<a href="{{ route('accessories.checkin.show', array('accessoryID'=> $accessory->pivot->id, 'backto'=>'user')) }}" class="btn btn-primary btn-sm hidden-print">{{ trans('general.checkin') }}</a>
|
<a href="{{ route('accessories.checkin.show', array('accessoryID'=> $accessory->pivot->id, 'backto'=>'user')) }}" class="btn btn-primary btn-sm hidden-print">{{ trans('general.checkin') }}</a>
|
||||||
|
|
Loading…
Reference in a new issue