Merge remote-tracking branch 'origin/develop'
This commit is contained in:
@@ -86,7 +86,7 @@ class LicenseCheckinController extends Controller
|
||||
}
|
||||
|
||||
if($licenseSeat->assigned_to != null){
|
||||
$return_to = User::find($licenseSeat->assigned_to);
|
||||
$return_to = User::withTrashed()->find($licenseSeat->assigned_to);
|
||||
session()->put('checkedInFrom', $return_to->id);
|
||||
} else {
|
||||
$return_to = Asset::find($licenseSeat->asset_id);
|
||||
|
||||
@@ -82,6 +82,10 @@
|
||||
@foreach ($users as $show_user)
|
||||
<div id="start_of_user_section"> {{-- used for page breaks when printing --}}</div>
|
||||
<h3>
|
||||
@if ($show_user->company)
|
||||
<b>{{ trans('admin/companies/table.name') }}:</b> {{ $show_user->company->name }}</b>
|
||||
<br>
|
||||
@endif
|
||||
{{ trans('general.assigned_to', ['name' => $show_user->present()->fullName()]) }}
|
||||
{{ ($show_user->employee_num!='') ? ' (#'.$show_user->employee_num.') ' : '' }}
|
||||
{{ ($show_user->jobtitle!='' ? ' - '.$show_user->jobtitle : '') }}
|
||||
|
||||
Reference in New Issue
Block a user