@extends('layouts/default') @section('title0') {{ trans('admin/hardware/general.requested') }} {{ trans('general.assets') }} @stop {{-- Page title --}} @section('title') @yield('title0') @parent @stop {{-- Page content --}} @section('content')
@if ($requestedItems->count() > 0)
@foreach ($requestedItems as $request) {{ csrf_field() }} @if ($request->location()) @else @endif @endforeach
Item Type Item Name {{ trans('admin/hardware/table.location') }} {{ trans('admin/hardware/form.expected_checkin') }} Requesting User Requested Date {{ trans('table.actions') }}
{{ $request->itemType() }} {{ $request->name() }}{{ $request->location()->name }} @if ($request->itemType() == "asset") {{ $request->itemRequested()->expected_checkin }} @else "N/A" @endif {{ $request->requestingUser()->fullName() }} {{$request->created_at}}
@else
{{ trans('general.no_results') }}
@endif
@stop