mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Merge pull request #13184 from akemidx/department_in_side_bar
User department now visible in side pane of asset view page
This commit is contained in:
commit
4027acee46
|
@ -45,4 +45,5 @@ return [
|
|||
'alert_details' => 'Please see below for details.',
|
||||
'custom_export' => 'Custom Export',
|
||||
'mfg_warranty_lookup' => ':manufacturer Warranty Status Lookup',
|
||||
'user_department' => 'User Department',
|
||||
];
|
||||
|
|
|
@ -919,6 +919,10 @@
|
|||
</li>
|
||||
@endif
|
||||
|
||||
@if((isset($asset->assignedTo)) && ($asset->assignedTo->department))
|
||||
<li>{{ trans('admin/hardware/general.user_department') }}: {{ $asset->assignedTo->department->name}}</li>
|
||||
@endif
|
||||
|
||||
@if (isset($asset->location))
|
||||
<li>{{ $asset->location->name }}</li>
|
||||
<li>{{ $asset->location->address }}
|
||||
|
|
Loading…
Reference in a new issue