File tree Expand file tree Collapse file tree 2 files changed +33
-10
lines changed Expand file tree Collapse file tree 2 files changed +33
-10
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,28 @@ class="table table-striped snipe-table"
190190
191191 @endif
192192
193+ @if ($component -> company )
194+ <div class =" col-md-12" style =" padding-bottom : 5px ;" >
195+ <strong >{{ trans (' general.company' ) } } : </strong >
196+ {!! $component -> company -> present ()-> formattedNameLink ! !}
197+ </div >
198+ @endif
199+
200+ @if ($component -> category )
201+ <div class =" col-md-12" style =" padding-bottom : 5px ;" >
202+ <strong >{{ trans (' general.category' ) } } : </strong >
203+ {!! $component -> category -> present ()-> formattedNameLink ! !}
204+ </div >
205+ @endif
206+
207+ @if ($component -> location )
208+ <div class =" col-md-12" style =" padding-bottom : 5px ;" >
209+ <strong >{{ trans (' general.location' ) } } : </strong >
210+ {!! $component -> location -> present ()-> formattedNameLink ! !}
211+ </div >
212+ @endif
213+
214+
193215 @if ($component -> serial != ' ' )
194216 <div class =" col-md-12" style =" padding-bottom : 5px ;" ><strong >{{ trans (' admin/hardware/form.serial' ) } } : </strong >
195217 {{ $component -> serial } } </div >
Original file line number Diff line number Diff line change 571571 </div >
572572 @endif
573573
574- <!-- last login -->
575- <div class =" row" >
576- <div class =" col-md-3" >
577- {{ trans (' general.last_login' ) } }
578- </div >
579- <div class =" col-md-9" >
580- {{ \App \Helpers \Helper:: getFormattedDateObject ($user -> last_login , ' datetime' , false ) } }
581- </div >
582- </div >
583-
584574
585575 @if ($user -> department )
586576 <!-- empty -->
608598 @endif
609599 @endif
610600
601+
602+ <!-- last login -->
603+ <div class =" row" >
604+ <div class =" col-md-3" >
605+ {{ trans (' general.last_login' ) } }
606+ </div >
607+ <div class =" col-md-9" >
608+ {{ \App \Helpers \Helper:: getFormattedDateObject ($user -> last_login , ' datetime' , false ) } }
609+ </div >
610+ </div >
611+
611612 @if ($user -> created_at )
612613 <!-- created at -->
613614 <div class =" row" >
You can’t perform that action at this time.
0 commit comments