mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Added: Location column in 'View Assigned Assets' View.
This commit is contained in:
parent
7e14f8c6d6
commit
d7ad981f29
|
@ -411,13 +411,17 @@
|
||||||
<th class="col-md-2" data-switchable="true" data-visible="true">
|
<th class="col-md-2" data-switchable="true" data-visible="true">
|
||||||
{{ trans('admin/hardware/table.asset_tag') }}
|
{{ trans('admin/hardware/table.asset_tag') }}
|
||||||
</th>
|
</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">
|
<th class="col-md-2" data-switchable="true" data-visible="true">
|
||||||
{{ trans('admin/hardware/table.asset_model') }}
|
{{ trans('admin/hardware/table.asset_model') }}
|
||||||
</th>
|
</th>
|
||||||
<th class="col-md-3" data-switchable="true" data-visible="true">
|
<th class="col-md-3" data-switchable="true" data-visible="true">
|
||||||
{{ trans('admin/hardware/table.serial') }}
|
{{ trans('admin/hardware/table.serial') }}
|
||||||
</th>
|
</th>
|
||||||
|
<th class="col-md-2" data-switchable="true" data-visible="false">
|
||||||
|
{{ trans('general.location') }}
|
||||||
|
</th>
|
||||||
<th class="col-md-2" data-switchable="true" data-visible="false">
|
<th class="col-md-2" data-switchable="true" data-visible="false">
|
||||||
{{ trans('admin/hardware/form.default_location') }}
|
{{ trans('admin/hardware/form.default_location') }}
|
||||||
</th>
|
</th>
|
||||||
|
@ -476,6 +480,9 @@
|
||||||
<td>
|
<td>
|
||||||
{{ $asset->serial }}
|
{{ $asset->serial }}
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
{{ ($asset->location) ? $asset->location->name : '' }}
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ ($asset->defaultLoc) ? $asset->defaultLoc->name : '' }}
|
{{ ($asset->defaultLoc) ? $asset->defaultLoc->name : '' }}
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue