@extends('layouts.adminmaster') @section('styles') @endsection @section('content') @php $domainname = url('/'); @endphp
{{-- @if ($errors->any())
@endif --}} {{-- Start SSL data --}}

{{ lang('SSL Data', 'setting') }}

@csrf
@error('sslcertificate') {{ lang($message) }} @enderror
@error('sslkey') {{ lang($message) }} @enderror
{{-- End SSL data --}} {{-- LiveChat --}}

{{ lang('LiveChat', 'setting') }}

@csrf
({{ lang('Enabling this setting will make the live chat function visible to customers, giving them the ability to begin a chat.', 'setting') }})
({{ lang('The liveChat connection will be established by the given port number.', 'setting') }})
{{-- End LiveChat --}} {{-- script Settings --}}

{{ lang('Live Chat Script', 'setting') }}

{{-- End script Settings --}}

{{ lang('Customer Live Chat File Setting', 'setting') }}

{{ lang('Enable notification permission', 'setting') }}
@csrf
@error('livechatMaxFileUpload') {{ lang($message) }} @enderror
{{ lang('MB', 'filesetting') }} @error('livechatFileUploadMax') {{ lang($message) }} @enderror

{{ lang('Operator Live Chat File Setting', 'setting') }}

{{ lang('Enable notification permission') }}
@csrf
@error('AgentlivechatMaxFileUpload') {{ lang($message) }} @enderror
{{ lang('MB', 'filesetting') }} @error('AgentlivechatFileUploadMax') {{ lang($message) }} @enderror
{{-- Live Chat Sounds Settings --}}

{{ lang('Live Chat Sounds', 'setting') }}

{{-- {{ lang('View Uploaded Sounds') }} --}}
@csrf
@error('uploadSound') {{ lang($message) }} @enderror
{{ lang('View Sounds') }}
{{ lang('The file should be in mp3 format', 'filesetting') }}
{{-- End Live Chat Sounds Settings --}} {{-- Live Chat Icon Settings --}}

{{ lang('Live Chat Icon', 'setting') }}

@csrf
@error('livechaticon') {{ lang($message) }} @enderror
{{ lang('Allowed extensions are jpg,jpeg,png,svg and should not be more than 512kb.', 'filesetting') }}
@if (setting('liveChatIcon') != null) logo @endif
{{-- End Live Chat Icon Settings --}} {{-- LiveChat Notifications Settings --}}

{{ lang('Live Chat Notifications Setting', 'setting') }}

@if ($errors->has('CUSTOMER_TICKET')) {{ $errors->first('CUSTOMER_TICKET') }} @endif
@csrf
{{ lang('Notification type') }} {{ lang('Web notification') }} {{ lang('notification sound') }}
{{ lang('New message') }}
{{ lang('New Chat request') }}
{{-- End LiveChat Notifications Settings --}} {{-- Operators Notifications Settings --}}

{{ lang('Operators Notifications Setting', 'setting') }}

@if ($errors->has('CUSTOMER_TICKET')) {{ $errors->first('CUSTOMER_TICKET') }} @endif
@csrf
{{ lang('Notification type') }} {{ lang('Web notification') }} {{ lang('notification sound') }}
{{ lang('Operator to Operator') }}
{{ lang('Group Chat') }}
{{-- End Operators Notifications Settings --}} {{-- Chat Flow Settings --}}

{{ lang('Live Chat Flow Setting', 'setting') }}

({{ lang('If ’For a single unique user’ is selected previous livechat customers need not go through the livechat flow. If ’Every 24 hours’ is selected previous customers also have will have to through the livechat flow.') }})
@csrf
{{-- End Chat Flow Settings --}} {{-- LiveChat Icon Size --}}

{{ lang('Live Chat Icon Size', 'setting') }}

({{ lang('This setting determines the size of the chat icon displayed to customers: selecting "small" shows a small icon, while "large" shows a larger icon.') }})
@csrf
{{-- End LiveChat Icon Size --}}

{{ lang('LiveChat Position', 'setting') }}

({{ lang('This setting determines the position of the chat icon on the browser.') }})
@csrf
{{-- Live Chat Offline Setting --}}

{{ lang('Live Chat Offline/Online Setting', 'setting') }}

@csrf
@error('OnlineStatusMessage') {{ lang($message) }} @enderror
@error('OfflineStatusMessage') {{ lang($message) }} @enderror
@error('OfflineMessage') {{ lang($message) }} @enderror
{{-- End Live Chat Offline Setting --}}

{{ lang('Auto Solve', 'setting') }}

@csrf
{{ lang('Minutes') }}
@error('autoSloveEmailTimer') {{ lang($message) }} @enderror
{{ lang('Minutes') }}
@error('autoSloveCloseTimer') {{ lang($message) }} @enderror

{{ lang('Auto Delete livechat', 'setting') }}

@csrf
@if ($errors->has('AUTO_DELETE_LIVECHAT_ENABLE')) {{ $errors->first('AUTO_DELETE_LIVECHAT_ENABLE') }} @endif
@if ($errors->has('AUTO_DELETE_LIVECHAT_IN_MONTHS')) {{ $errors->first('AUTO_DELETE_LIVECHAT_IN_MONTHS') }} @endif

{{ lang('Livechat Feedback', 'setting') }}

@csrf
@error('LivechatCustFeedbackQuestion') {{ lang($message) }} @enderror
@if ($errors->has('fileuploadtypes')) {{ $errors->first('fileuploadtypes') }} @endif

{{ lang('Set a text when multiple operators are online', 'setting') }}

@csrf
@error('LivechatCustWelcomeMsg') {{ lang($message) }} @enderror
@endsection @section('scripts') @vite(['resources/assets/js/select2.js']) @if ($errors->any()) @endif @endsection