@if ($assets->count() > 0)
{{ trans('general.image') }} |
{{ trans('general.asset_tag') }} |
{{ trans('admin/hardware/table.asset_model') }} |
{{ trans('admin/models/table.modelnumber') }} |
{{ trans('admin/hardware/form.name') }} |
{{ trans('admin/hardware/table.serial') }} |
{{ trans('admin/hardware/table.location') }} |
{{ trans('admin/hardware/table.status') }} |
{{ trans('admin/hardware/form.expected_checkin') }} |
@foreach(\App\Models\CustomField::get() as $field)
@if (($field->field_encrypted=='0') && ($field->show_in_requestable_list=='1'))
{{ $field->name }} |
@endif
@endforeach
{{ trans('table.actions') }} |
@endif
@if ($models->count() > 0)
{{ trans('general.requestable_models') }}
{{ trans('general.image') }} |
{{ trans('admin/hardware/table.asset_model') }} |
{{ trans('admin/accessories/general.remaining') }} |
{{ trans('table.actions') }} |
@foreach($models as $requestableModel)
@if ($requestableModel->image)
@endif
|
@can('view', \App\Models\AssetModel::class)
{{ $requestableModel->name }}
@else
{{ $requestableModel->name }}
@endcan
|
{{$requestableModel->assets->where('requestable', '1')->count()}} |
|
@endforeach
@endif