Skip to content

Commit

Permalink
Merge pull request #13940 from snipe/features/add_location_to_user_vi…
Browse files Browse the repository at this point in the history
…ew_assets

Added location to user view assets
  • Loading branch information
snipe authored Nov 23, 2023
2 parents 6409018 + ad6b286 commit e3a8952
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/account/view-assets.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@
data-show-columns="true"
data-show-export="true"
data-show-footer="true"
data-show-refresh="false"
data-sort-order="asc"
id="userAssets"
class="table table-striped snipe-table"
Expand All @@ -407,6 +406,7 @@ class="table table-striped snipe-table"
<th class="col-md-2" data-switchable="true" data-visible="true">{{ trans('general.name') }}</th>
<th class="col-md-2" data-switchable="true" data-visible="true">{{ trans('admin/hardware/table.asset_model') }}</th>
<th class="col-md-3" data-switchable="true" data-visible="true">{{ trans('admin/hardware/table.serial') }}</th>
<th class="col-md-2" data-switchable="true" data-visible="false">{{ trans('admin/hardware/form.default_location') }}</th>
@can('self.view_purchase_cost')
<th class="col-md-6" data-footer-formatter="sumFormatter" data-fieldname="purchase_cost">{{ trans('general.purchase_cost') }}</th>
@endcan
Expand Down Expand Up @@ -444,7 +444,7 @@ class="table table-striped snipe-table"
@endif
</td>
<td>{{ $asset->serial }}</td>

<td>{{ ($asset->defaultLoc) ? $asset->defaultLoc->name : '' }}</td>
@can('self.view_purchase_cost')
<td>
{!! Helper::formatCurrencyOutput($asset->purchase_cost) !!}
Expand Down

0 comments on commit e3a8952

Please sign in to comment.