@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')
{{ 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') }} | @if ($settings->display_asset_name){{ trans('general.name') }} | @endif{{ 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 }} | @if ($settings->display_asset_name){{ $asset->name }} | @endif{{ $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!='')
|
@if (($asset->assigneduser) && ($asset->assigneduser->userLoc)) {{ $asset->assigneduser->userLoc->name }} @elseif ($asset->defaultLoc) {{ $asset->defaultLoc->name }} @endif |