@extends('admin.layout') @php $selLang = \App\Models\Language::where('code', request()->input('language'))->first(); @endphp @if (!empty($selLang) && $selLang->rtl == 1) @section('styles') @endsection @endif @section('content')
@csrf

{{ __('Contact Information & Security Settings') }}

{{ __('Configure your public contact information and Google reCAPTCHA v2 protection for the frontend contact form.') }}

@include('admin.partials.languages')

{{ __('Contact Information') }}

{{ __('Use a newline to separate multiple addresses.') }} @if ($errors->has('contact_addresses'))

{{ $errors->first('contact_addresses') }}

@endif
{{ __('Use comma (,) to add multiple phone numbers.') }} @if ($errors->has('contact_numbers'))

{{ $errors->first('contact_numbers') }}

@endif
{{ __('Use comma (,) to add multiple email addresses.') }} @if ($errors->has('contact_mails'))

{{ $errors->first('contact_mails') }}

@endif

{{ __('Google reCAPTCHA v2 Protection') }}

{{ __('When enabled, users must complete Google reCAPTCHA before submitting the contact form.') }}
{{ __('Public key provided by Google reCAPTCHA admin console.') }}
{{ __('Private key used to verify user response tokens.') }}
reCAPTCHA {{ __('How to obtain reCAPTCHA v2 keys?') }}

Visit Google reCAPTCHA Admin Console , register your domain, select reCAPTCHA v2 ("I'm not a robot" Checkbox), and copy your Site & Secret Keys here.

{{ $total_count }}
{{ __('Total Inquiries') }}
{{ $today_count }}
{{ __('Today Inquiries') }}
{{ $unread_count }}
{{ __('Unread Inquiries') }}

{{ __('Customer Inquiries & Leads') }}

{{ __('Inquiries submitted via the website contact form') }}
{{ __('Reset') }}
@if ($messages->count() == 0)

{{ __('No Inquiries Found') }}

{{ __('No submitted contact leads match the current filter.') }}

@else
@foreach ($messages as $msg) @endforeach
#ID {{ __('Date & Time') }} {{ __('Name') }} {{ __('Email') }} {{ __('Phone') }} {{ __('Issue / Subject') }} {{ __('Status') }} {{ __('Actions') }}
{{ $msg->id }} {{ $msg->created_at ? $msg->created_at->format('d M, Y') : '-' }} {{ $msg->created_at ? $msg->created_at->format('h:i A') : '' }} {{ $msg->name }} {{ $msg->email }} @if (!empty($msg->phone)) {{ $msg->phone }} @else - @endif {{ $msg->subject }} @if (!empty($msg->describe_issues)) {{ $msg->describe_issues }} @endif @if ($msg->status == 'unread') {{ __('Unread') }} @else {{ __('Read') }} @endif
@csrf
@endif
@csrf
{{-- Section 1: Floating Call Button --}}
{{ __('Floating Call Button (Bottom Left)') }}
{{ __('Renders the floating telephone button on the bottom left corner.') }}
{{ __('Phone number dialed when visitors click the floating call button.') }}
{{ __('The text label shown next to the phone icon (e.g. "Call Us").') }}
{{-- Live Visual Preview Box --}}
{{ __('Preview') }}
{{ @$homeSec->floating_call_label ?? 'Call Us' }}
{{-- Section 2: Floating WhatsApp Widget --}}
{{ __('Floating WhatsApp Support Widget (Bottom Right)') }}
{{ __('Configure the WhatsApp chat popup with customizable header, welcome message, and quick prompts.') }}
{{ __('With country code, no "+" or spaces (e.g. 917200770351).') }}
{{ __('Displays inside the chat bubble when the widget opens.') }}
{{-- Inside Quick Prompts --}}
{{ __('Inside Quick Action Option Buttons') }}
{{-- Prompt 1 --}}
{{-- Prompt 2 --}}
{{-- Prompt 3 --}}
{{-- Section 3: Contact Us Page - Online Support Agent Card --}}
{{ __('Contact Us Page - Online Support Agent Card (/contact)') }}
{{ __('Customize the right-hand support card shown on the public Contact Us page (heading, subtitle, chat button & WhatsApp number).') }}
{{ __('Phone number dialed when visitors click the "Chat With Us" button.') }}
{{ __('WhatsApp message pre-filled when visitors click the chat button.') }}
@endsection @section('scripts') @endsection