@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/licenses/general.view') }} - {{ $license->name }} @parent @stop {{-- Right header --}} @section('header_right')
{{ trans('admin/licenses/general.seat') }} | {{ trans('admin/licenses/general.user') }} | {{ trans('admin/licenses/form.asset') }} | |
---|---|---|---|
Seat {{ $count }} |
@if (($licensedto->user) && ($licensedto->deleted_at == NULL))
@can('users.view')
{{ $licensedto->user->present()->fullName() }}
@else
{{ $licensedto->user->present()->fullName() }}
@endcan
@elseif (($licensedto->user) && ($licensedto->deleted_at != NULL))
|
@if ($licensedto->asset_id) @can('view', $licensedto->asset) {{ $licensedto->asset->name }} {{ $licensedto->asset->asset_tag }} @else {{ $licensedto->asset->name }} {{ $licensedto->asset->asset_tag }} @endcan @endif | @can('checkout', $licensedto) @if (($licensedto->assigned_to) || ($licensedto->asset_id)) @if ($license->reassignable) {{ trans('general.checkin') }} @else Assigned @endif @else {{ trans('general.checkout') }} @endif @endcan |
{{ trans('general.company') }} | {{ $license->company->name }} |
{{ 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 |
{{ trans('admin/licenses/form.license_key') }} | {!! nl2br(e($license->serial)) !!} |
{{ trans('admin/licenses/form.to_name') }} | {{ $license->license_name }} |
{{ trans('admin/licenses/form.to_email') }} | {{ $license->license_email }} |
{{ trans('general.supplier') }}: | {{ $license->supplier->name }} |
{{ trans('admin/licenses/form.expiration') }}: | {{ $license->expiration_date }} |
{{ 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') }} |
{{ trans('admin/licenses/form.purchase_order') }}: | {{ $license->purchase_order }} |
{{ trans('general.purchase_date') }}: | {{ $license->purchase_date }} |
{{ trans('general.purchase_cost') }}: | {{ $snipeSettings->default_currency }} {{ \App\Helpers\Helper::formatCurrencyOutput($license->purchase_cost) }} |
{{ trans('general.order_number') }}: | {{ $license->order_number }} |
{{ trans('admin/licenses/form.seats') }}: | {{ $license->seats }} |
{{ trans('admin/licenses/form.reassignable') }}: | {{ $license->reassignable ? 'Yes' : 'No' }} |
{{ trans('general.notes') }}: | {!! nl2br(e($license->notes)) !!} |
{{ trans('general.notes') }} | {{ trans('general.file_name') }} | ||
---|---|---|---|
@if ($file->note) {{ $file->note }} @endif | {{ $file->filename }} | @if ($file->filename) Download @endif | |
{{ trans('general.no_results') }} |
{{ trans('general.date') }} | {{ trans('general.admin') }} | {{ trans('button.actions') }} | {{ trans('general.target') }} | {{ trans('general.notes') }} |
---|---|---|---|---|
{{ $result['created_at'] }} | {!! $result['admin'] !!} | {{ $result['action_type'] }} | {!! $result['target'] !!} | {{ $result['note'] }} |
{{ $license->created_at }} | @if ($license->adminuser) {{ $license->adminuser->present()->fullName() }} @else {{ trans('general.unknown_admin') }} @endif | {{ trans('general.created_asset') }} | @if ($license->notes) {{ $license->notes }} @endif |
{{ trans('admin/licenses/general.filetype_info') }}