@extends('layouts.main') @section('title') {{ __('Admin Appointment Preferences') }} @endsection @section('page-title')

@yield('title')

@endsection @section('content')
{!! Form::open(['route' => 'admin.appointment.preferences.store', 'class' => 'create-form', 'data-success-function'=> "formSuccessFunction"]) !!}
{{ __('Appointment Settings') }}
{{-- Meeting Duration --}}
{{ __('Duration of each appointment slot (15-480 minutes)') }}
{{-- Lead Time --}}
{{ __('Minimum time required before booking (0-10080 minutes)') }}
{{-- Buffer Time --}}
{{ __('Time between consecutive appointments (0-120 minutes)') }}
{{-- Auto Confirm --}}
auto_confirm ?? false) ? 'checked' : '' }}>
{{ __('Automatically confirm appointments without manual approval') }}
{{-- Cancel/Reschedule Buffer --}}
{{ __('Minimum time before appointment to cancel/reschedule (0-1440 minutes)') }}
{{-- Auto Cancel After --}}
{{ __('Auto-cancel if not confirmed within this time (0-10080 minutes)') }}
{{-- Auto Cancel Message --}}
{{ __('Message sent when appointment is auto-cancelled') }}
{{-- Daily Booking Limit --}}
{{ __('Maximum appointments per day (1-100)') }}
{{-- Availability Types --}}
@php $availabilityTypes = isset($preferences) && !empty($preferences) && isset($preferences->availability_types) && !empty($preferences->availability_types) ? explode(',', $preferences->availability_types) : []; @endphp
{{ __('Select the types of meetings you offer') }}
{{ __('Next: Time Schedule') }}
{!! Form::close() !!}
@endsection @section('script') @endsection