mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-31 16:37:27 -08:00
Added location to asset view
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
02ba13be26
commit
ada8e77b85
|
@ -431,6 +431,9 @@
|
|||
<th class="col-md-2" data-switchable="true" data-visible="false">
|
||||
{{ trans('admin/hardware/form.default_location') }}
|
||||
</th>
|
||||
<th class="col-md-2" data-switchable="true" data-visible="false">
|
||||
{{ trans('general.location') }}
|
||||
</th>
|
||||
|
||||
@can('self.view_purchase_cost')
|
||||
<th class="col-md-6" data-footer-formatter="sumFormatter" data-fieldname="purchase_cost">
|
||||
|
@ -489,6 +492,9 @@
|
|||
<td>
|
||||
{{ ($asset->defaultLoc) ? $asset->defaultLoc->name : '' }}
|
||||
</td>
|
||||
<td>
|
||||
{{ ($asset->location) ? $asset->location->name : '' }}
|
||||
</td>
|
||||
@can('self.view_purchase_cost')
|
||||
<td>
|
||||
{!! Helper::formatCurrencyOutput($asset->purchase_cost) !!}
|
||||
|
|
Loading…
Reference in a new issue