@if (!is_null($license->company))
{{ trans('general.company') }} |
{{ $license->company->name }} |
@endif
@if ($license->manufacturer)
{{ trans('admin/hardware/form.manufacturer') }} |
@can('view', \App\Models\Manufacturer::class)
{{ $license->manufacturer->name }}
@else
{{ $license->manufacturer->name }}
@endcan
@if ($license->manufacturer->url)
{{ $license->manufacturer->url }}
@endif
@if ($license->manufacturer->support_url)
{{ $license->manufacturer->support_url }}
@endif
@if ($license->manufacturer->support_phone)
{{ $license->manufacturer->support_phone }}
@endif
@if ($license->manufacturer->support_email)
{{ $license->manufacturer->support_email }}
@endif
|
@endif
@can('viewKeys', $license)
@if (!is_null($license->serial))
{{ trans('admin/licenses/form.license_key') }} |
{!! nl2br(e($license->serial)) !!}
|
@endif
@endcan
@if (!is_null($license->license_name))
{{ trans('admin/licenses/form.to_name') }} |
{{ $license->license_name }} |
@endif
@if (!is_null($license->license_email))
{{ trans('admin/licenses/form.to_email') }} |
{{ $license->license_email }} |
@endif
@if ($license->supplier_id)
{{ trans('general.supplier') }}:
|
{{ $license->supplier->name }}
|
@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