{{-- stylesheets --}}
@if ($snipeSettings->logo_print_assets=='1')
@if ($snipeSettings->brand == '3')
@if ($snipeSettings->logo!='')
@endif
{{ $snipeSettings->site_name }}
@elseif ($snipeSettings->brand == '2')
@if ($snipeSettings->logo!='')
@endif
@else
{{ $snipeSettings->site_name }}
@endif
@endif
{{ trans('general.assigned_to', ['name' => $show_user->present()->fullName()]) }}
{{ ($show_user->employee_num!='') ? ' (#'.$show_user->employee_num.') ' : '' }}
{{ ($show_user->jobtitle!='' ? ' - '.$show_user->jobtitle : '') }}
{{ trans('admin/users/general.all_assigned_list_generation')}} {{ Helper::getFormattedDateObject(now(), 'datetime', false) }}
@if ($assets->count() > 0)
@php
$counter = 1;
@endphp
{{ trans_choice('general.countable.assets', $assets->count(), ['count' => $assets->count()]) }}
# |
{{ trans('general.image') }} |
{{ trans('admin/hardware/table.asset_tag') }} |
{{ trans('general.name') }} |
{{ trans('general.category') }} |
{{ trans('admin/hardware/form.model') }} |
{{ trans('general.location') }} |
{{ trans('admin/hardware/form.serial') }} |
{{ trans('admin/hardware/table.checkout_date') }} |
{{ trans('general.signature') }} |
@foreach ($assets as $asset)
{{ $counter }} |
@if ($asset->getImageUrl())
@endif
|
{{ $asset->asset_tag }} |
{{ $asset->name }} |
{{ (($asset->model) && ($asset->model->category)) ? $asset->model->category->name : trans('general.invalid_category') }} |
{{ ($asset->model) ? $asset->model->name : trans('general.invalid_model') }} |
{{ ($asset->location) ? $asset->location->name : '' }} |
{{ $asset->serial }} |
{{ Helper::getFormattedDateObject($asset->last_checkout, 'datetime', false) }} |
@if (($asset->assetlog->first()) && ($asset->assetlog->first()->accept_signature!=''))
@endif
|
@if ($settings->show_assigned_assets)
@php
$assignedCounter = 1;
@endphp
@foreach ($asset->assignedAssets as $asset)
{{ $counter }}.{{ $assignedCounter }} |
@if ($asset->getImageUrl())
@endif
|
{{ $asset->asset_tag }} |
{{ $asset->name }} |
{{ $asset->model->category->name }} |
{{ ($asset->location) ? $asset->location->name : '' }} |
{{ $asset->model->name }} |
{{ $asset->serial }} |
{{ $asset->last_checkout }} |
|
@php
$assignedCounter++
@endphp
@endforeach
@endif
@php
$counter++
@endphp
@endforeach
@endif
@if ($licenses->count() > 0)
{{ trans_choice('general.countable.licenses', $licenses->count(), ['count' => $licenses->count()]) }}
|
{{ trans('general.name') }} |
{{ trans('admin/licenses/form.license_key') }} |
{{ trans('admin/hardware/table.checkout_date') }} |
@php
$lcounter = 1;
@endphp
@foreach ($licenses as $license)
{{ $lcounter }} |
{{ $license->name }} |
@can('viewKeys', $license)
{{ $license->serial }}
@else
{{ str_repeat('x', 15) }}
@endcan
|
{{ $license->pivot->updated_at }} |
@php
$lcounter++
@endphp
@endforeach
@endif
@if ($accessories->count() > 0)
{{ trans_choice('general.countable.accessories', $accessories->count(), ['count' => $accessories->count()]) }}
|
{{ trans('general.image') }} |
{{ trans('general.name') }} |
{{ trans('general.category') }} |
{{ trans('admin/hardware/table.checkout_date') }} |
@php
$acounter = 1;
@endphp
@foreach ($accessories as $accessory)
@if ($accessory)
{{ $acounter }} |
@if ($accessory->getImageUrl())
@endif
|
{{ ($accessory->manufacturer) ? $accessory->manufacturer->name : '' }} {{ $accessory->name }} {{ $accessory->model_number }} |
{{ $accessory->category->name }} |
{{ $accessory->pivot->created_at }} |
@php
$acounter++
@endphp
@endif
@endforeach
@endif
@if ($consumables->count() > 0)
{{ trans_choice('general.countable.consumables', $consumables->count(), ['count' => $consumables->count()]) }}
|
{{ trans('general.name') }} |
{{ trans('general.category') }} |
{{ trans('admin/hardware/table.checkout_date') }} |
@php
$ccounter = 1;
@endphp
@foreach ($consumables as $consumable)
@if ($consumable)
{{ $ccounter }} |
@if ($consumable->deleted_at!='')
| {{ ($consumable->manufacturer) ? $consumable->manufacturer->name : '' }} {{ $consumable->name }} {{ $consumable->model_number }} |
@else
{{ ($consumable->manufacturer) ? $consumable->manufacturer->name : '' }} {{ $consumable->name }} {{ $consumable->model_number }}
@endif
{{ ($consumable->category) ? $consumable->category->name : ' invalid/deleted category' }} |
{{ $consumable->pivot->created_at }} |
@php
$ccounter++
@endphp
@endif
@endforeach
@endif
{{ trans('general.signed_off_by') }}: |
________________________________________________________ |
________________________________________________________ |
_____________________ |
|
Name |
Signature |
{{ trans('general.date') }} |
{{ trans('admin/users/table.manager') }}: |
________________________________________________________ |
________________________________________________________ |
_____________________ |
|
Name |
Signature |
{{ trans('general.date') }} |
|
{{-- Javascript files --}}
@push('css')
@endpush
@push('js')