@extends('layouts.usermaster') @section('styles') @endsection @section('content')

{{lang('Guest Ticket')}}

@csrf @honeypot
@if(setting('cc_email') == 'on')
{{lang('You are allowed to send only a single CC.')}}
@error('ccmail') {{ lang($message) }} @enderror
@endif
{{lang('Maximum')}} {{setting('TICKET_CHARACTER')}} {{lang('Characters')}}
@if($customfields->isNotEmpty()) @foreach($customfields as $customfield)
@if($customfield->fieldtypes == 'text') fieldrequired == '1' ? 'required' : ''}}> @endif @if($customfield->fieldtypes == 'email') fieldrequired == '1' ? 'required' : ''}}> @endif @if($customfield->fieldtypes == 'textarea') @endif @if($customfield->fieldtypes == 'checkbox') @php $coptions = explode(',', $customfield->fieldoptions) @endphp @foreach($coptions as $key => $coption) @endforeach @endif @if($customfield->fieldtypes == 'select') @endif @if($customfield->fieldtypes == 'radio') @php $roptions = explode(',', $customfield->fieldoptions) @endphp @foreach($roptions as $roption) @endforeach @endif
@endforeach @endif
@if(setting('GUEST_FILE_UPLOAD_ENABLE') == 'yes')
{{lang('The file size should not be more than', 'filesetting')}} {{setting('FILE_UPLOAD_MAX')}}{{lang('MB', 'filesetting')}}
@endif @if(setting('CAPTCHATYPE')=='manual') @if(setting('RECAPTCH_ENABLE_GUEST')=='yes')
@error('captcha') {{ lang($message) }} @enderror
{!! captcha_img('') !!}
@endif @endif @if(setting('CAPTCHATYPE')=='google') @if(setting('RECAPTCH_ENABLE_GUEST')=='yes')
@if ($errors->has('g-recaptcha-response')) {{ $errors->first('g-recaptcha-response') }} @endif
@endif @endif
@endsection @section('scripts') @endsection