updated user_booking file

This commit is contained in:
Juthatip McDevitt 2024-07-06 15:26:56 -05:00
parent a169680afb
commit 7ce99863e0

View file

@ -157,7 +157,7 @@
<script>
function cancel_booking(id){
if(confirm('Are you sure you want to cancel this booking?')){
let xhr = new XMLHttpRequest();
let xhr = new XMLHttpRequest();
xhr.open("POST", "ajax/cancel_booking.php", true);
xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');