Skip to content

Commit

Permalink
Fixed #15820 - added model number to view-assets
Browse files Browse the repository at this point in the history
Signed-off-by: snipe <[email protected]>
  • Loading branch information
snipe committed Nov 14, 2024
1 parent 7b7a848 commit b4a2a4e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions resources/views/account/view-assets.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -380,13 +380,8 @@
<div class="table table-responsive">
@if ($user->id)
<div class="box-header with-border">
<div class="box-heading">
<h2 class="box-title"> {{ trans('admin/users/general.assets_user', array('name' => $user->first_name)) }}</h2>
</div>
</div><!-- /.box-header -->
@endif

<div class="box-body">
<!-- checked out assets table -->
<div class="table-responsive">

Expand Down Expand Up @@ -421,10 +416,15 @@ class="table table-striped snipe-table"
<th class="col-md-2" data-switchable="true" data-visible="true">
{{ trans('admin/hardware/table.asset_tag') }}
</th>
<th class="col-md-2" data-switchable="true" data-visible="false">{{ trans('general.name') }}</th>
<th class="col-md-2" data-switchable="true" data-visible="false">
{{ 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-2" data-switchable="true" data-visible="false">
{{ trans('general.model_no') }}
</th>
<th class="col-md-3" data-switchable="true" data-visible="true">
{{ trans('admin/hardware/table.serial') }}
</th>
Expand Down Expand Up @@ -482,9 +482,10 @@ class="table table-striped snipe-table"
{{ $asset->name }}
</td>
<td>
@if ($asset->physical=='1')
{{ $asset->model->name }}
@endif
</td>
<td>
{{ $asset->model->model_number }}
</td>
<td>
{{ $asset->serial }}
Expand Down Expand Up @@ -528,7 +529,6 @@ class="table table-striped snipe-table"
</table>
</div>
</div> <!-- .table-responsive-->
</div>
</div><!-- /asset -->
<div class="tab-pane" id="licenses">

Expand Down

0 comments on commit b4a2a4e

Please sign in to comment.