@extends('layouts.usermaster') @section('styles') @endsection @section('content') {{lang('Create Ticket', 'menu')}} {{lang('Home', 'menu')}} {{lang('Create Ticket', 'menu')}} @include('includes.user.verticalmenu') @if (setting('envato_on') == 'on') {{lang('Support Expired: Your support has expired. In order to continue receiving our assistance, please renew your support.')}} {{lang('Support Policy')}} {{lang('How To Renew Item Support')}} @endif @if (setting('envato_on') == 'on') {{lang('Your purchase code has been verified, but product support has expired.')}} {{lang('Support Policy')}} {{lang('How To Renew Item Support')}} @endif {{lang('Support Hours')}} × @forelse ($holidays as $holiday) @php $datetimeall = []; for ($i = (int)\Carbon\Carbon::parse($holiday->startdate)->format('d'); $i <= (int)\Carbon\Carbon::parse($holiday->enddate)->format('d'); $i++){ $datetimeformat = \Carbon\Carbon::parse(now()->format('Y-m-') . '' . $i); array_push($datetimeall, $datetimeformat->format('D')); } @endphp @empty @endforelse @foreach(bussinesshour() as $bussiness) @if($bussiness->weeks != null) {{lang($bussiness->weeks)}} @if(now()->timezone(setting('default_timezone'))->format('D') == $bussiness->weeks) {{lang('Today')}} @endif @if($bussiness->status == "Closed") {{lang($bussiness->status)}} @else @if($holidays->isNotEmpty() && setting('24hoursbusinessswitch') != 'on') @if(in_array($bussiness->weeks,$datetimeall)) {{lang('Closed')}} @else {{$bussiness->starttime}} @if($bussiness->starttime !== null && $bussiness->endtime != null ) - @endif @if($bussiness->starttime !== null && $bussiness->endtime ) {{$bussiness->endtime}} @endif @endif @else @if($holidays->isNotEmpty() && setting('24hoursbusinessswitch') != 'on' && in_array($bussiness->weeks,$datetimeall)) {{lang('Closed')}} @else {{$bussiness->starttime}} @if($bussiness->starttime !== null && $bussiness->endtime != null ) - @endif @if($bussiness->starttime !== null && $bussiness->endtime ) {{$bussiness->endtime}} @endif @endif @endif @endif @endif @endforeach @if($holidays->isNotEmpty() && setting('24hoursbusinessswitch') != 'on') @foreach ($holidays as $anct) × {{$anct->occasion}} {!!$anct->holidaydescription!!} @endforeach @else @php $createdtime = now(); @endphp @foreach(bussinesshour() as $bussiness) @if($createdtime->timezone(setting('default_timezone'))->format('D') == $bussiness->weeks) @if(strtotime($bussiness->starttime) <= strtotime($createdtime->timezone(setting('default_timezone'))->format('h:i A')) && strtotime($bussiness->endtime) >= strtotime($createdtime->timezone(setting('default_timezone'))->format('h:i A'))|| $bussiness->starttime == "24H") @else @if(setting('businesshourofflinemsg') == 'on') {{lang('We Are Offline')}} {{lang('Oops! It seems like our system is currently taking a breather for some maintenance. But worry not, we’ll be back online soon to resume serving you better than ever before!')}} - {{lang('Our Office Hours')}} @endif @endif @endif @endforeach @endif {{lang('New Ticket')}} @if(setting('cc_email') == 'on') {{lang('CC')}} {{lang('You are allowed to send only a single CC.')}} @error('ccmail') {{ lang($message) }} @enderror @endif {{lang('Subject')}} * {{lang('Maximum')}} {{setting('TICKET_CHARACTER')}} {{lang('Characters')}} @error('subject') {{ lang($message) }} @enderror {{lang('Category')}} * @foreach ($categories as $category) {{ $category->name }} @endforeach @error('category') {{ lang($message) }} @enderror {{lang('SubCategory')}} @if(setting('ENVATO_ON') == 'on') {{lang('Envato Item Name')}}* @endif @if($customfields->isNotEmpty()) @foreach($customfields as $customfield) {{$customfield->fieldnames}} @if($customfield->fieldrequired == '1') * @endif @if($customfield->fieldtypes == 'text') @endif @if($customfield->fieldtypes == 'email') @endif @if($customfield->fieldtypes == 'textarea') @endif @if($customfield->fieldtypes == 'checkbox') @php $coptions = explode(',', $customfield->fieldoptions) @endphp @foreach($coptions as $key => $coption) {{$coption}} @endforeach @endif @if($customfield->fieldtypes == 'select') @php $seoptions = explode(',', $customfield->fieldoptions) @endphp @foreach($seoptions as $seoption) {{$seoption}} @endforeach @endif @if($customfield->fieldtypes == 'radio') @php $roptions = explode(',', $customfield->fieldoptions) @endphp @foreach($roptions as $roption) {{$roption}} @endforeach @endif @endforeach @endif {{lang('Description')}} * {{old('message')}} @error('message') {{ lang($message) }} @enderror @if(setting('USER_FILE_UPLOAD_ENABLE') == 'yes') {{lang('Upload File')}} {{lang('The file size should not be more than', 'filesetting')}} {{setting('FILE_UPLOAD_MAX')}}{{lang('MB', 'filesetting')}} @endif {{lang('I agree with')}}{{lang('Terms & Services')}} @endsection @section('scripts') @vite(['resources/assets/js/support/support-sidemenu.js']) @vite(['resources/assets/js/select2.js']) @endsection