invoice / templates /index.html
Subbu1304's picture
Create templates/index.html
e1f99af verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Restaurant Invoice Generator</title>
</head>
<body>
<h1>Restaurant Invoice Generator</h1>
<form action="/generate_invoice" method="POST">
<label for="customer_name">Customer Name:</label><br>
<input type="text" id="customer_name" name="customer_name" required><br><br>
<label for="item">Item 1:</label><br>
<input type="text" id="item" name="item" required><br>
<label for="price">Price:</label><br>
<input type="number" id="price" name="price" step="0.01" required><br><br>
<label for="item">Item 2:</label><br>
<input type="text" id="item" name="item" required><br>
<label for="price">Price:</label><br>
<input type="number" id="price" name="price" step="0.01" required><br><br>
<!-- You can add more items as needed -->
<button type="submit">Generate Invoice</button>
</form>
</body>
</html>