diff --git a/hotel_booking/ajax/cancel_booking.php b/hotel_booking/ajax/cancel_booking.php new file mode 100644 index 0000000..0082110 --- /dev/null +++ b/hotel_booking/ajax/cancel_booking.php @@ -0,0 +1,22 @@ + \ No newline at end of file diff --git a/hotel_booking/generate_invoice.php b/hotel_booking/generate_invoice.php new file mode 100644 index 0000000..ec50fae --- /dev/null +++ b/hotel_booking/generate_invoice.php @@ -0,0 +1,120 @@ + +
Midtown Hotel
+36381 Trantow Hill,
+New Port, FL 57941
+(123) 456-7891
+accombooking@midtownhotel.com
+Bill to:
+Name: $data[user_name] $data[user_lastname]
+Adress: $data[address]
+Phone: $data[phone]
+Order ID: $data[order_id]
+Invoice date: $checkin
+Details | +Check in | +Check out | +Price | +
---|---|---|---|
$data[room_name] | +$checkin | +$checkout | +$$data[price]/night | +
Total: $$total_pay
+Sale Tax(5%): $$tax
+Total Amount: $$total_amount
+Date | -Order ID | -Action | +|
---|---|---|---|
Date | +Order ID | +Status | +Action |
$date | -$data[order_id] | -Action | -
$date | +$data[order_id] | +$status | +$btn | +