@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)) !!}
{{ trans('general.copy_to_clipboard') }}
@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)
{{ trans('general.supplier') }}
@if ($license->supplier->deleted_at=='')
@can('view', \App\Models\Supplier::class)
{{ $license->supplier->name }}
@else
{{ $license->supplier->name }}
@endcan
@if ($license->supplier->url)
{{ $license->supplier->url }}
@endif
@if ($license->supplier->phone)
{{ $license->supplier->phone }}
@endif
@if ($license->supplier->email)
{{ $license->supplier->email }}
@endif
@if ($license->supplier->address)
{{ $license->supplier->address }}
@endif
@if ($license->supplier->address2)
{{ $license->supplier->address2 }}
@endif
@if ($license->supplier->city)
{{ $license->supplier->city }},
@endif
@if ($license->supplier->state)
{{ $license->supplier->state }}
@endif
@if ($license->supplier->country)
{{ $license->supplier->country }}
@endif
@if ($license->supplier->zip)
{{ $license->supplier->zip }}
@endif
@else
{{ trans('general.deleted') }}
@endif
@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())
@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
@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') }}
@if ($license->remaincount() <= ($license->min_amt - \App\Models\Setting::getSettings()->alert_threshold))
{{ trans('general.warning') }}
@endif
{{ $license->seats }}
@if ($license->remaincount() <= ($license->min_amt - \App\Models\Setting::getSettings()->alert_threshold))
@endif
@endif
{{ trans('admin/licenses/form.reassignable') }}
{!! $license->reassignable ? ' '.trans('general.yes') : ' '.trans('general.no') !!}
@if ($license->notes)
{{ trans('general.notes') }}
{!! nl2br(Helper::parseEscapedMarkedownInline($license->notes)) !!}
@endif