Changed the cancellation URL to point to the Booking controller

This commit is contained in:
alextselegidis 2021-11-18 07:13:11 +01:00
parent fa52b14bb7
commit 8a8f4a7ce0

View file

@ -12,7 +12,7 @@
</div> </div>
<div class="col-12 col-md-2"> <div class="col-12 col-md-2">
<form id="cancel-appointment-form" method="post" <form id="cancel-appointment-form" method="post"
action="<?= site_url('appointments/cancel/' . $appointment_data['hash']) ?>"> action="<?= site_url('booking/cancel/' . $appointment_data['hash']) ?>">
<input type="hidden" name="csrfToken" value="<?= $this->security->get_csrf_hash() ?>"/> <input type="hidden" name="csrfToken" value="<?= $this->security->get_csrf_hash() ?>"/>