@if (!is_null($license->company))
{{ trans('general.company') }}
{{ $license->company->name }}
@endif
@if ($license->manufacturer)
{{ trans('admin/hardware/form.manufacturer') }}
@endif
@if (!is_null($license->serial))
{{ trans('admin/licenses/form.license_key') }}
@can('viewKeys', $license)
{!! nl2br(e($license->serial)) !!}
@else
------------
@endcan
@endif
@if ($license->category)
{{ trans('general.category') }}
@endif
@if ($license->license_name!='')
{{ trans('admin/licenses/form.to_name') }}
{{ $license->license_name }}
@endif
@if ($license->license_email!='')
{{ trans('admin/licenses/form.to_email') }}
{{ $license->license_email }}
@endif
@if ($license->supplier_id)
{{ trans('general.supplier') }}
@endif
@if (isset($license->expiration_date))
{{ trans('admin/licenses/form.expiration') }}
{{ $license->expiration_date }}
@endif
@if ($license->depreciation)
{{ trans('admin/hardware/form.depreciation') }}
{{ $license->depreciation->name }}
({{ $license->depreciation->months }}
{{ trans('admin/hardware/form.months') }}
)
{{ trans('admin/hardware/form.depreciates_on') }}
{{ $license->depreciated_date()->format("Y-m-d") }}
{{ trans('admin/hardware/form.fully_depreciated') }}
@if ($license->time_until_depreciated()->y > 0)
{{ $license->time_until_depreciated()->y }}
{{ trans('admin/hardware/form.years') }},
@endif
{{ $license->time_until_depreciated()->m }}
{{ trans('admin/hardware/form.months') }}
@endif
@if ($license->purchase_order)
{{ trans('admin/licenses/form.purchase_order') }}
{{ $license->purchase_order }}
@endif
@if (isset($license->purchase_date))
{{ trans('general.purchase_date') }}
{{ $license->purchase_date }}
@endif
@if ($license->purchase_cost > 0)
{{ trans('general.purchase_cost') }}
{{ $snipeSettings->default_currency }}
{{ \App\Helpers\Helper::formatCurrencyOutput($license->purchase_cost) }}
@endif
@if ($license->order_number)
{{ trans('general.order_number') }}
{{ $license->order_number }}
@endif
@if (($license->seats) && ($license->seats) > 0)
{{ trans('admin/licenses/form.seats') }}
{{ $license->seats }}
@endif
{{ trans('admin/licenses/form.reassignable') }}
{{ $license->reassignable ? 'Yes' : 'No' }}
@if ($license->notes)
{{ trans('general.notes') }}
{!! nl2br(e($license->notes)) !!}
@endif