File size: 881 Bytes
c1c5eef | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Invoice for {{ customer_name }}</title>
</head>
<body>
<h1>Restaurant Invoice</h1>
<p>Date: {{ date_time }}</p>
<h3>Customer: {{ customer_name }}</h3>
<table border="1">
<tr>
<th>Item</th>
<th>Price</th>
</tr>
{% for item, price in zip(items, prices) %}
<tr>
<td>{{ item }}</td>
<td>${{ price }}</td>
</tr>
{% endfor %}
</table>
<p><strong>Subtotal:</strong> ${{ subtotal }}</p>
<p><strong>Tax (8%):</strong> ${{ tax }}</p>
<p><strong>Total:</strong> ${{ total }}</p>
<h3>{{ wish_message }}</h3>
<footer>
<p>Thank you for dining with us!</p>
</footer>
</body>
</html>
|