Create templates/index.html
Browse files- templates/index.html +29 -0
templates/index.html
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>Restaurant Invoice Generator</title>
|
| 7 |
+
</head>
|
| 8 |
+
<body>
|
| 9 |
+
<h1>Restaurant Invoice Generator</h1>
|
| 10 |
+
<form action="/generate_invoice" method="POST">
|
| 11 |
+
<label for="customer_name">Customer Name:</label><br>
|
| 12 |
+
<input type="text" id="customer_name" name="customer_name" required><br><br>
|
| 13 |
+
|
| 14 |
+
<label for="item">Item 1:</label><br>
|
| 15 |
+
<input type="text" id="item" name="item" required><br>
|
| 16 |
+
<label for="price">Price:</label><br>
|
| 17 |
+
<input type="number" id="price" name="price" step="0.01" required><br><br>
|
| 18 |
+
|
| 19 |
+
<label for="item">Item 2:</label><br>
|
| 20 |
+
<input type="text" id="item" name="item" required><br>
|
| 21 |
+
<label for="price">Price:</label><br>
|
| 22 |
+
<input type="number" id="price" name="price" step="0.01" required><br><br>
|
| 23 |
+
|
| 24 |
+
<!-- You can add more items as needed -->
|
| 25 |
+
|
| 26 |
+
<button type="submit">Generate Invoice</button>
|
| 27 |
+
</form>
|
| 28 |
+
</body>
|
| 29 |
+
</html>
|