2022-01-18 10:45:02 +03:00
|
|
|
<?php if (vars('manage_mode')): ?>
|
2021-11-12 10:38:20 +03:00
|
|
|
<div id="cancel-appointment-frame" class="row booking-header-bar">
|
|
|
|
<div class="col-12 col-md-10">
|
|
|
|
<small><?= lang('cancel_appointment_hint') ?></small>
|
|
|
|
</div>
|
|
|
|
<div class="col-12 col-md-2">
|
|
|
|
<form id="cancel-appointment-form" method="post"
|
2022-01-18 10:45:02 +03:00
|
|
|
action="<?= site_url('booking_cancellation/of/' . vars('appointment_data')['hash']) ?>">
|
2021-11-12 10:38:20 +03:00
|
|
|
|
|
|
|
<input type="hidden" name="csrfToken" value="<?= $this->security->get_csrf_hash() ?>"/>
|
|
|
|
|
|
|
|
<input id="cancel-reason" name="cancel_reason" type="hidden">
|
|
|
|
|
|
|
|
<button id="cancel-appointment" class="btn btn-warning btn-sm">
|
|
|
|
<?= lang('cancel') ?>
|
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="booking-header-bar row">
|
|
|
|
<div class="col-12 col-md-10">
|
|
|
|
<small><?= lang('delete_personal_information_hint') ?></small>
|
|
|
|
</div>
|
|
|
|
<div class="col-12 col-md-2">
|
|
|
|
<button id="delete-personal-information"
|
|
|
|
class="btn btn-danger btn-sm"><?= lang('delete') ?></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-11-15 11:49:08 +03:00
|
|
|
<?php endif ?>
|