Spaces:
Running
Running
DSatishchandra
commited on
Commit
•
57cde66
1
Parent(s):
7b30ae3
Create order_success.html
Browse files- templates/order_success.html +21 -0
templates/order_success.html
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Order Success</title>
|
7 |
+
</head>
|
8 |
+
<body>
|
9 |
+
<h1>Order Successful!</h1>
|
10 |
+
<p>Order ID: {{ order_details.order_id }}</p>
|
11 |
+
<p>Customer: {{ order_details.customer_name }}</p>
|
12 |
+
<p>Table Number: {{ order_details.table_number }}</p>
|
13 |
+
<h3>Order Items:</h3>
|
14 |
+
<ul>
|
15 |
+
{% for item in order_details.items %}
|
16 |
+
<li>{{ item['name'] }} x {{ item['quantity'] }}</li>
|
17 |
+
{% endfor %}
|
18 |
+
</ul>
|
19 |
+
<a href="/">Go to Menu</a>
|
20 |
+
</body>
|
21 |
+
</html>
|