2022-01-18 13:04:08 +03:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Local variables.
|
|
|
|
*
|
|
|
|
* @var bool $manage_mode
|
2022-01-24 23:04:03 +03:00
|
|
|
* @var string $display_terms_and_conditions
|
|
|
|
* @var string $display_privacy_policy
|
2022-01-18 13:04:08 +03:00
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2021-11-12 10:38:20 +03:00
|
|
|
<div id="wizard-frame-4" class="wizard-frame" style="display:none;">
|
|
|
|
<div class="frame-container">
|
|
|
|
<h2 class="frame-title"><?= lang('appointment_confirmation') ?></h2>
|
|
|
|
<div class="row frame-content">
|
2023-05-03 08:28:16 +03:00
|
|
|
<div id="appointment-details" class="col-12 col-md-6 text-center text-md-start"></div>
|
|
|
|
<div id="customer-details" class="col-12 col-md-6 text-center text-md-end"></div>
|
2021-11-12 10:38:20 +03:00
|
|
|
</div>
|
|
|
|
<?php if (setting('require_captcha')): ?>
|
|
|
|
<div class="row frame-content">
|
|
|
|
<div class="col-12 col-md-6">
|
|
|
|
<label class="captcha-title" for="captcha-text">
|
|
|
|
CAPTCHA
|
|
|
|
<button class="btn btn-link text-dark text-decoration-none py-0">
|
|
|
|
<i class="fas fa-sync-alt"></i>
|
|
|
|
</button>
|
|
|
|
</label>
|
|
|
|
<img class="captcha-image" src="<?= site_url('captcha') ?>" alt="CAPTCHA">
|
|
|
|
<input id="captcha-text" class="captcha-text form-control" type="text" value=""/>
|
|
|
|
<span id="captcha-hint" class="help-block" style="opacity:0"> </span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|
|
|
|
|
2022-03-25 13:09:29 +03:00
|
|
|
<div class="d-flex fs-6 justify-content-around">
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php if ($display_terms_and_conditions): ?>
|
|
|
|
<div class="form-check mb-3">
|
|
|
|
<input type="checkbox" class="required form-check-input" id="accept-to-terms-and-conditions">
|
|
|
|
<label class="form-check-label" for="accept-to-terms-and-conditions">
|
|
|
|
<?= strtr(lang('read_and_agree_to_terms_and_conditions'), [
|
2022-01-24 23:04:03 +03:00
|
|
|
'{$link}' => '<a href="#" data-bs-toggle="modal" data-bs-target="#terms-and-conditions-modal">',
|
2023-12-22 13:35:41 +03:00
|
|
|
'{/$link}' => '</a>',
|
2023-11-29 12:24:09 +03:00
|
|
|
]) ?>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
2022-01-24 23:04:03 +03:00
|
|
|
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php if ($display_privacy_policy): ?>
|
|
|
|
<div class="form-check mb-3">
|
|
|
|
<input type="checkbox" class="required form-check-input" id="accept-to-privacy-policy">
|
|
|
|
<label class="form-check-label" for="accept-to-privacy-policy">
|
|
|
|
<?= strtr(lang('read_and_agree_to_privacy_policy'), [
|
2022-01-24 23:04:03 +03:00
|
|
|
'{$link}' => '<a href="#" data-bs-toggle="modal" data-bs-target="#privacy-policy-modal">',
|
2023-12-22 13:35:41 +03:00
|
|
|
'{/$link}' => '</a>',
|
2023-11-29 12:24:09 +03:00
|
|
|
]) ?>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
2022-01-24 23:23:41 +03:00
|
|
|
</div>
|
2022-01-24 23:04:03 +03:00
|
|
|
|
2021-11-12 10:38:20 +03:00
|
|
|
<div class="command-buttons">
|
|
|
|
<button type="button" id="button-back-4" class="btn button-back btn-outline-secondary"
|
|
|
|
data-step_index="4">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-chevron-left me-2"></i>
|
2021-11-12 10:38:20 +03:00
|
|
|
<?= lang('back') ?>
|
|
|
|
</button>
|
|
|
|
<form id="book-appointment-form" style="display:inline-block" method="post">
|
2022-01-24 15:41:59 +03:00
|
|
|
<button id="book-appointment-submit" type="button" class="btn btn-primary">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-check-square me-2"></i>
|
2022-01-18 13:04:08 +03:00
|
|
|
<?= $manage_mode ? lang('update') : lang('confirm') ?>
|
2021-11-12 10:38:20 +03:00
|
|
|
</button>
|
|
|
|
<input type="hidden" name="csrfToken"/>
|
|
|
|
<input type="hidden" name="post_data"/>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|