@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/accessories/general.checkout') }} @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content') @if ($accessory->name) {{ $accessory->name }} @endif @if ($accessory->company) {!! $accessory->company->present()->formattedNameLink !!} @endif @if ($accessory->category) {!! $accessory->category->present()->formattedNameLink !!} @endif {{ $accessory->qty }} {{ $accessory->numRemaining() }} @include ('partials.forms.checkout-selector', ['user_select' => 'true', 'asset_select' => 'true', 'location_select' => 'true']) @include ('partials.forms.edit.asset-select', ['translated_name' => trans('general.asset'), 'asset_selector_div_id' => 'assigned_asset', 'company_id' => $accessory->company_id, 'fieldname' => 'assigned_asset', 'unselect' => 'true', 'style' => session('checkout_to_type') == 'asset' ? '' : 'display: none;']) @include ('partials.forms.edit.location-select', ['translated_name' => trans('general.location'), 'fieldname' => 'assigned_location', 'company_id' => $accessory->company_id, 'style' => session('checkout_to_type') == 'location' ? '' : 'display: none;'])
@if ($accessory->requireAcceptance() || (string) $snipeSettings->require_accept_signature === '1' || $accessory->getEula() || ($snipeSettings->webhook_endpoint != ''))
@if ($accessory->requireAcceptance()) {{ trans('admin/categories/general.required_acceptance') }}
@endif @if ((string) $snipeSettings->require_accept_signature === '1') {{ trans('admin/categories/general.required_signature') }}
@endif @if ($accessory->getEula()) {{ trans('admin/categories/general.required_eula') }}
@endif @if ($snipeSettings->webhook_endpoint != '') {{ trans('general.webhook_msg_note') }} @endif
@if ($accessory->requireAcceptance() || (string) $snipeSettings->require_accept_signature === '1')

{{ trans('general.sign_in_place_help') }}

@endif
@endif
@stop