@extends('layouts/default') @section('title0') {{ trans('admin/hardware/general.requestable') }} {{ trans('general.assets') }} @stop {{-- Page title --}} @section('title') @yield('title0') @parent @stop {{-- Page content --}} @section('content')
@if ($assets->count() > 0)
@foreach ($assets as $asset) @if (\App\Models\Setting::getSettings()->display_asset_name) @endif @endforeach
{{ trans('admin/hardware/table.asset_model') }} {{ trans('admin/hardware/table.serial') }} {{ trans('admin/hardware/table.location') }} {{ trans('table.actions') }}
{{ $asset->model->name }}{{ $asset->name }}{{ $asset->serial }} @if ($asset->assigneduser && $asset->assetloc) {{ $asset->assetloc->name }} @elseif ($asset->defaultLoc) {{ $asset->defaultLoc->name }} @endif {{ trans('button.request') }}
@else
{{ trans('general.no_results') }}
@endif
@stop