mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-25 08:03:01 +03:00
68 lines
2.7 KiB
PHP
Executable file
68 lines
2.7 KiB
PHP
Executable file
<?php extend('layouts/booking_layout'); ?>
|
|
|
|
<?php section('content'); ?>
|
|
|
|
<!-- Booking Cancellation Frame -->
|
|
<?php component('booking_cancellation_frame', [
|
|
'manage_mode' => vars('manage_mode'),
|
|
'appointment_data' => vars('appointment_data'),
|
|
'display_delete_personal_information' => vars('display_delete_personal_information'),
|
|
]); ?>
|
|
|
|
<!-- Select Service & Provider -->
|
|
<?php
|
|
// Define the variable to check if the provider dropdown should be hidden
|
|
$hide_provider_dropdown = vars('hide_provider_dropdown');
|
|
?>
|
|
|
|
<?php component('booking_type_step', [
|
|
'available_services' => vars('available_services'),
|
|
'available_providers' => vars('available_providers'),
|
|
'hide_provider_dropdown' => $hide_provider_dropdown,
|
|
]); ?>
|
|
|
|
<!-- Pick An Appointment Date -->
|
|
<?php component('booking_time_step', ['grouped_timezones' => vars('grouped_timezones')]); ?>
|
|
|
|
<!-- Enter Customer Information -->
|
|
<?php component('booking_info_step', [
|
|
'display_first_name' => vars('display_first_name'),
|
|
'require_first_name' => vars('require_first_name'),
|
|
'display_last_name' => vars('display_last_name'),
|
|
'require_last_name' => vars('require_last_name'),
|
|
'display_email' => vars('display_email'),
|
|
'require_email' => vars('require_email'),
|
|
'display_phone_number' => vars('display_phone_number'),
|
|
'require_phone_number' => vars('require_phone_number'),
|
|
'display_address' => vars('display_address'),
|
|
'require_address' => vars('require_address'),
|
|
'display_city' => vars('display_city'),
|
|
'require_city' => vars('require_city'),
|
|
'display_zip_code' => vars('display_zip_code'),
|
|
'require_zip_code' => vars('require_zip_code'),
|
|
'display_notes' => vars('display_notes'),
|
|
'require_notes' => vars('require_notes'),
|
|
]); ?>
|
|
|
|
<!-- Appointment Data Confirmation -->
|
|
<?php component('booking_final_step', [
|
|
'manage_mode' => vars('manage_mode'),
|
|
'display_terms_and_conditions' => vars('display_terms_and_conditions'),
|
|
'display_privacy_policy' => vars('display_privacy_policy'),
|
|
]); ?>
|
|
|
|
<?php end_section('content'); ?>
|
|
|
|
<?php section('scripts'); ?>
|
|
|
|
<script src="<?= asset_url('assets/js/utils/date.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/js/utils/lang.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/js/utils/message.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/js/utils/string.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/js/utils/validation.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/js/utils/ui.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/js/utils/url.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/js/http/booking_http_client.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/js/pages/booking.js') ?>"></script>
|
|
|
|
<?php end_section('scripts'); ?>
|