Skip to content

Commit ada8e77

Browse files
committed
Added location to asset view
Signed-off-by: snipe <[email protected]>
1 parent 02ba13b commit ada8e77

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

resources/views/account/view-assets.blade.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,9 @@ class="table table-striped snipe-table"
431431
<th class="col-md-2" data-switchable="true" data-visible="false">
432432
{{ trans('admin/hardware/form.default_location') }}
433433
</th>
434+
<th class="col-md-2" data-switchable="true" data-visible="false">
435+
{{ trans('general.location') }}
436+
</th>
434437

435438
@can('self.view_purchase_cost')
436439
<th class="col-md-6" data-footer-formatter="sumFormatter" data-fieldname="purchase_cost">
@@ -489,6 +492,9 @@ class="table table-striped snipe-table"
489492
<td>
490493
{{ ($asset->defaultLoc) ? $asset->defaultLoc->name : '' }}
491494
</td>
495+
<td>
496+
{{ ($asset->location) ? $asset->location->name : '' }}
497+
</td>
492498
@can('self.view_purchase_cost')
493499
<td>
494500
{!! Helper::formatCurrencyOutput($asset->purchase_cost) !!}

0 commit comments

Comments
 (0)