@extends('backend.template.layouts.template-base') @section('title', 'Contact Settings') @section('content')
@include('backend.template.settings.sidebar')
@csrf
Contact Information
@can('update', \App\Models\Setting::class) @endcan
@foreach ([ 'primary_mobile' => ['Primary Mobile / Support Number', 'text'], 'secondary_mobile' => ['Secondary Mobile / Sales Number', 'text'], 'whatsapp_number' => ['WhatsApp Number', 'text'], 'support_email' => ['Support Email', 'email'], 'enquiry_email' => ['Enquiry Email', 'email'], 'country' => ['Country', 'text'], ] as $field => [$label, $type])
@error($field)
{{ $message }}
@enderror
@endforeach @foreach (['state' => 'State', 'city' => 'City'] as $field => $label)
@endforeach
Open Google Maps, find your location, choose Share → Embed a map, and paste the whole <iframe> code (or just its URL) here. The Contact page map updates on save.
@error('google_map_embed_url')
{{ $message }}
@enderror
@php $mapPreviewSrc = mapEmbedSrc($settings['google_map_embed_url'] ?? null); @endphp @if ($mapPreviewSrc)
@endif
@endsection