@extends('user.layouts.index', ['header' => true, 'nav' => true, 'demo' => true, 'settings' => $settings]) {{-- Custom CSS --}} @section('css') @endsection @section('content')
{{-- Failed --}} @if (Session::has('failed')) @endif {{-- Success --}} @if (Session::has('success')) @endif

{{ __('Update Business Card') }}

{{-- Nav links --}} @include('user.pages.edit-cards.includes.nav-link', [ 'link' => 'booking', ])
@csrf

{{ __('Service Booking') }}

{{-- Basic Configuration --}}

{{ __('Basic Configuration') }}

{{-- Available days (Sunday, Monday, etc.) --}}
{{ __('Available days (Sunday, Monday, etc.)') }}
@php $daysOfWeek = [ 'sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', ]; // Default to all days unselected $selectedMap = array_fill_keys($daysOfWeek, 0); if (isset($serviceBooking)) { $value = $serviceBooking->service_booking_available_days; if (is_array($value)) { $selectedMap = $value; } elseif (is_string($value)) { $decoded = json_decode($value, true); if (is_array($decoded)) { $selectedMap = $decoded; } } } @endphp
{{-- Start time --}}
{{-- End time --}}

{{ __('Service Booking Email Configuration') }}

@include('user.includes.footer')
{{-- Custom JS --}} @push('custom-js') {{-- Tom Select --}} @endpush @endsection