@extends('layouts.web') @section('content') Book an Appointment Home> Book an Appointment First Appointment Follow-up Appointment @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @if (session('failed')) {{ session('failed') }} @endif @if (session('success')) {{ session('success') }} @endif @csrf First Appointment Step 1 Step 2 Step 3 @foreach($categories as $key=>$category) @foreach($category->services as $service) {{ $category->name }} {{ $service->name }}{{ isset($service->time) ? $service->time->label : '1h' }} {!! substr($service->description,0,100).'...' !!} {!! ($service->price==0) ? 'Free' : '$'.number_format($service->price, 2) !!} See Available Dates id) ? 'checked' : '' !!}> @endforeach @endforeach Back Next Fill Information First Name* Last Name* Email* Mobile* Wedding Date* Number of Guest* @php $no_of_guests=''; @endphp @if( old('no_of_guests')) @php $no_of_guests=old('no_of_guests'); @endphp @endif 1 2 3 4 Is this your first time trying on a bridal dress?* @php $first_try_bridal_dress=''; @endphp @if( old('first_try_bridal_dress')) @php $first_try_bridal_dress=old('first_try_bridal_dress'); @endphp @endif Yes No What size do you wear in womenswear?* @php $size_in_womenswear=''; $sizes=[6,8,10,12,14,16,18,20,22,24] @endphp @if( old('size_in_womenswear')) @php $size_in_womenswear=old('size_in_womenswear'); @endphp @endif @foreach($sizes as $size) {{$size}} @endforeach How did you hear about us ? * Back Next Follow-up Appointment @csrf @php $first_name=''; @endphp @if( old('first_name')) @php $first_name=old('first_name'); @endphp @endif First Name* @php $last_name=''; @endphp @if( old('last_name')) @php $last_name=old('last_name'); @endphp @endif Last Name @php $email=''; @endphp @if( old('email')) @php $email=old('email'); @endphp @endif Email* @php $phone=''; @endphp @if( old('phone')) @php $phone=old('phone'); @endphp @endif Phone* @php $wedding_date=date('Y-m-d'); @endphp @if( old('wedding_date')) @php $wedding_date=old('wedding_date'); @endphp @endif Wedding Date* @php $appointment_date=date('Y-m-d'); @endphp @if( old('appointment_date')) @php $appointment_date=old('appointment_date'); @endphp @endif Preferred Appointment Date* @php $slot_id=0; @endphp @if( old('slot_id')) @php $slot_id=old('slot_id'); @endphp @endif Preferred Appointment Time * @foreach($slots as $slot) id) ? 'selected' : '' !!}>{!! date('h:i A',strtotime($slot->from_time)) .' - '. date('h:i A',strtotime($slot->to_time)) !!} @endforeach @php $previous_date=date('Y-m-d'); @endphp @if( old('previous_date')) @php $previous_date=old('previous_date'); @endphp @endif Previous Appointment Date* @php $previous_quote_number=''; @endphp @if( old('previous_quote_number')) @php $previous_quote_number=old('previous_quote_number'); @endphp @endif Previous Quote Number * @php $no_of_guests=''; @endphp @if( old('no_of_guests')) @php $no_of_guests=old('no_of_guests'); @endphp @endif Number of Guest* Book Appointment @endsection @push('scripts')
{!! substr($service->description,0,100).'...' !!}