@extends('layouts/default')
{{-- Page title --}}
@section('title')
{{ trans('admin/licenses/general.checkout') }}
@parent
@stop
@section('header_right')
{{ trans('general.back') }}
@stop
{{-- Page content --}}
@section('content')
{{ $license->name }}
@if ($license->company)
{!! $license->company->present()->formattedNameLink !!}
@endif
@if ($license->category)
{!! $license->category->present()->formattedNameLink !!}
@endif
@if ($license->serial)
@can('viewKeys', $license)
{!! nl2br(e($license->serial)) !!}
@endcan
@endif
@include ('partials.forms.checkout-selector', ['user_select' => 'true', 'asset_select' => 'true', 'location_select' => 'false'])
@include ('partials.forms.edit.asset-select', ['translated_name' => trans('general.select_asset'), 'fieldname' => 'assigned_asset', 'company_id' => $license->company_id, 'style' => session('checkout_to_type') == 'asset' ? '' : 'display: none;'])
@stop