@if ($asset->model->deleted_at!='')
{{ trans('admin/hardware/general.model_deleted', array('model_id' => $asset->model->id)) }}
@elseif ($asset->deleted_at!='')
{{ trans('admin/hardware/general.deleted', array('asset_id' => $asset->id)) }}
@endif
@if ($asset->serial)
{{ trans('admin/hardware/form.serial') }}:
{{ $asset->serial }}
@endif
@if ($asset->mac_address!='')
{{ trans('admin/hardware/form.mac_address') }}:
{{ $asset->mac_address }}
@endif
@if ($asset->model->manufacturer)
@endif
@if ($asset->purchase_date)
{{ trans('admin/hardware/form.date') }}:
{{ $asset->purchase_date }}
@endif
@if ($asset->purchase_cost)
{{ trans('admin/hardware/form.cost') }}:
{{ $snipeSettings->default_currency }}
{{ number_format($asset->purchase_cost,2) }}
@endif
@if ($asset->order_number)
{{ trans('admin/hardware/form.order') }}:
{{ $asset->order_number }}
@endif
@if ($asset->supplier_id)
@endif
@if ($asset->warranty_months)
{{ trans('admin/hardware/form.warranty') }}:
{{ $asset->warranty_months }}
{{ trans('admin/hardware/form.months') }}
{{ trans('admin/hardware/form.expires') }}:
{{ $asset->present()->warrantee_expires() }}
@endif
@if ($asset->depreciation)
{{ trans('admin/hardware/form.depreciation') }}:
{{ $asset->depreciation->name }}
({{ $asset->depreciation->months }}
{{ trans('admin/hardware/form.months') }}
)
{{ trans('admin/hardware/form.fully_depreciated') }}:
@if ($asset->time_until_depreciated()->y > 0)
{{ $asset->time_until_depreciated()->y }}
{{ trans('admin/hardware/form.years') }},
@endif
{{ $asset->time_until_depreciated()->m }}
{{ trans('admin/hardware/form.months') }}
({{ $asset->depreciated_date()->format('Y-m-d') }})
@endif
@if ($asset->model->eol)
{{ trans('admin/hardware/form.eol_rate') }}:
{{ $asset->model->eol }}
{{ trans('admin/hardware/form.months') }}
{{ trans('admin/hardware/form.eol_date') }}:
{{ $asset->present()->eol_date() }}
@if ($asset->present()->months_until_eol())
(
@if ($asset->present()->months_until_eol()->y > 0) {{ $asset->present()->months_until_eol()->y }}
{{ trans('general.years') }},
@endif
{{ $asset->present()->months_until_eol()->m }}
{{ trans('general.months') }}
)
@endif
@endif