user department now in side view of asset view page

This commit is contained in:
akemidx 2023-06-20 19:17:14 -04:00
parent 0f76eda4af
commit 1a407dc05b

View file

@ -553,7 +553,7 @@
<div class="row">
<div class="col-md-2">
<strong>
{{ trans('admin/hardware/table.current_value') }}
{{ trans('admin/hardware/table.git_value') }}
</strong>
</div>
<div class="col-md-6">
@ -919,6 +919,10 @@
</li>
@endif
@if((isset($asset->assignedTo)) && ($asset->assignedTo->department!=''))
<li>{{ $asset->assignedTo->department->name}}</li>
@endif
@if (isset($asset->location))
<li>{{ $asset->location->name }}</li>
<li>{{ $asset->location->address }}