@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')
Image | Item Name | {{ trans('admin/hardware/table.location') }} | {{ trans('admin/hardware/form.expected_checkin') }} | Requesting User | Requested Date | ||
---|---|---|---|---|---|---|---|
@if (($request->itemType() == "asset") && ($request->requestable)) @elseif (($request->itemType() == "asset_model") && ($request->requestable)) @endif | @if ($request->itemType() == "asset") {{ $request->name() }} @elseif ($request->itemType() == "asset_model") {{ $request->name() }} @endif | @if ($request->location()){{ $request->location()->name }} | @else@endif | @if ($request->itemType() == "asset") {{ App\Helpers\Helper::getFormattedDateObject($request->requestable->expected_checkin, 'datetime', false) }} @endif | {{ $request->requestingUser()->present()->fullName() }} | {{ App\Helpers\Helper::getFormattedDateObject($request->created_at, 'datetime', false) }} | @if ($request->itemType() == "asset") @if ($request->requestable->assigned_to=='') {{ trans('general.checkout') }} @else {{ trans('general.checkin') }} @endif @endif |