@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')
{{csrf_field()}}

{{ $license->name }}

{{ $license->name }}

@can('viewKeys', $license) {{ $license->serial }} @else ------------ @endcan

@include ('partials.forms.checkout-selector', ['user_select' => 'true','asset_select' => 'true', 'location_select' => 'false']) @include ('partials.forms.edit.user-select', ['translated_name' => trans('general.user'), 'fieldname' => 'assigned_to', 'required'=>'true']) @include ('partials.forms.edit.asset-select', ['translated_name' => trans('admin/licenses/form.asset'), 'fieldname' => 'asset_id', 'style' => 'display:none;'])
{!! $errors->first('note', '') !!}
@if ($license->requireAcceptance() || $license->getEula() || ($snipeSettings->webhook_endpoint!=''))
@if ($license->requireAcceptance()) {{ trans('admin/categories/general.required_acceptance') }}
@endif @if ($license->getEula()) {{ trans('admin/categories/general.required_eula') }}
@endif @if (($license->category) && ($license->category->checkin_email)) {{ trans('admin/categories/general.checkin_email_notification') }}
@endif @if ($snipeSettings->webhook_endpoint!='') {{ trans('general.webhook_msg_note') }} @endif
@endif
@stop