@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('general.asset_report') }} @parent @stop @section('header_right') {{ trans('admin/hardware/table.dl_csv') }} @stop {{-- Page content --}} @section('content')
@if ($settings->display_asset_name) @endif @foreach ($assets as $asset) @if ($settings->display_asset_name) @endif @endforeach
{{ trans('admin/companies/table.title') }} {{ trans('admin/hardware/table.asset_tag') }} {{ trans('admin/hardware/form.manufacturer') }} {{ trans('admin/hardware/form.model') }} {{ trans('general.model_no') }}{{ trans('general.name') }}{{ trans('admin/hardware/table.serial') }} {{ trans('admin/hardware/table.status') }} {{ trans('admin/hardware/table.purchase_date') }} {{ trans('admin/hardware/table.purchase_cost') }} {{ trans('admin/hardware/form.order') }} {{ trans('admin/hardware/form.supplier') }} {{ trans('admin/hardware/table.checkoutto') }} {{ trans('admin/hardware/table.location') }}
{{ is_null($asset->company) ? '' : $asset->company->name }} {{ $asset->asset_tag }} @if ($asset->model->manufacturer) {{ $asset->model->manufacturer->name }} @endif {{ $asset->model->name }} {{ $asset->model->modelno }}{{ $asset->name }}{{ $asset->serial }} @if ($asset->assetstatus) {{ $asset->assetstatus->name }} @elseif ($asset->assigneduser) {{ $asset->assigneduser->fullName() }} @endif {{ $asset->purchase_date }} {{ $settings->default_currency }} {{ number_format($asset->purchase_cost) }} @if ($asset->order_number) {{ $asset->order_number }} @endif @if ($asset->supplier_id) {{ $asset->supplier->name }} @endif @if ($asset->assigneduser) @if ($asset->assigneduser->deleted_at!='') {{ $asset->assigneduser->fullName() }} @else {{ $asset->assigneduser->fullName() }} @endif @endif @if (($asset->assigneduser) && ($asset->assigneduser->userLoc)) {{ $asset->assigneduser->userLoc->name }} @elseif ($asset->defaultLoc) {{ $asset->defaultLoc->name }} @endif
@section('moar_scripts') @stop @stop