@if (!is_null($license->company))
{{ trans('general.company') }}
@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') }}
{{ Helper::getFormattedDateObject($license->expiration_date, 'date', false) }}
@endif
@if ($license->termination_date)
{{ trans('admin/licenses/form.termination_date') }}
{{ Helper::getFormattedDateObject($license->termination_date, 'date', false) }}
@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') }}
{{ Helper::getFormattedDateObject($license->depreciated_date(), 'date', false) }}
{{ 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') }}
{{ Helper::getFormattedDateObject($license->purchase_date, 'date', false) }}
@endif
@if ($license->purchase_cost > 0)
{{ trans('general.purchase_cost') }}
{{ $snipeSettings->default_currency }}
{{ Helper::formatCurrencyOutput($license->purchase_cost) }}
@endif
@if ($license->order_number)
{{ trans('general.order_number') }}
{{ $license->order_number }}
@endif
{{ trans('admin/licenses/form.maintained') }}
{!! $license->maintained ? ' '.trans('general.yes') : ' '.trans('general.no') !!}
@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