@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('general.unaccepted_asset_report') }} @parent @stop @section('header_right') {{ Form::open(['method' => 'post', 'class' => 'form-horizontal']) }} {{csrf_field()}} {{ Form::close() }} @stop {{-- Page content --}} @section('content')
@if ($assetsForReport) @foreach ($assetsForReport as $item) @if ($item['assetItem']) @endif @endforeach @endif
{{ trans('admin/companies/table.title') }} {{ trans('general.category') }} {{ trans('admin/hardware/form.model') }} {{ trans('admin/hardware/form.name') }} {{ trans('admin/hardware/table.asset_tag') }} {{ trans('admin/hardware/table.checkoutto') }} {{ trans('table.actions') }}
{{ ($item['assetItem']->company) ? $assetItem->company->name : '' }} {!! $item['assetItem']->model->category->present()->nameUrl() !!} {!! $item['assetItem']->present()->modelUrl() !!} {!! $item['assetItem']->present()->nameUrl() !!} {{ $item['assetItem']->asset_tag }} {!! ($item['acceptance']->assignedTo) ? $item['acceptance']->assignedTo->present()->nameUrl() : trans('admin/reports/general.deleted_user') !!} @if ($item['acceptance']->assignedTo){{ trans('admin/reports/general.send_reminder') }}@endif
@stop @section('moar_scripts') @include ('partials.bootstrap-table') @stop