@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->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->eol_date() }}
@if ($asset->months_until_eol())
(
@if ($asset->months_until_eol()->y > 0) {{ $asset->months_until_eol()->y }}
{{ trans('general.years') }},
@endif
{{ $asset->months_until_eol()->m }}
{{ trans('general.months') }}
)
@endif
@endif
Software Assigned
@if (count($asset->licenses) > 0)
@else
{{ trans('general.no_results') }}
@endif
{{ trans('general.notes') }} |
{{ trans('general.file_name') }} |
|
|
@if (count($asset->uploads) > 0)
@foreach ($asset->uploads as $file)
@if ($file->note) {{ $file->note }}
@endif
|
{{ $file->filename }}
|
@if ($file->filename)
{{ trans('general.download') }}
@endif
|
|
@endforeach
@else
{{ trans('general.no_results') }}
|
@endif
{{ trans('general.date') }} |
{{ trans('general.admin') }} |
{{ trans('table.actions') }} |
{{ trans('general.user') }} |
{{ trans('general.notes') }} |
@if (count($asset->assetlog) > 0)
@foreach ($asset->assetlog as $log)
{{ $log->created_at }} |
@if (isset($log->user_id))
{{ $log->user->fullName() }}
@endif
|
{{ $log->action_type }} |
@if ((isset($log->target_id)) && ($log->target_id!=0) && ($log->target_id!=''))
@if ($log->target->deleted_at=='')
{{ $log->user->fullName() }}
@else
{{ $log->user->fullName() }}
@endif
@endif
|
@if ($log->note) {{ $log->note }}
@endif
|
@endforeach
@endif
{{ $asset->created_at }} |
@if (isset($asset->adminuser->id)) {{ $asset->adminuser->fullName() }}
@else
{{ trans('general.unknown_admin') }}
@endif
|
{{ trans('general.created_asset') }} |
|
|