2023-11-07 20:08:40 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>Scontrini</title>
|
2023-11-07 20:31:15 +01:00
|
|
|
<link rel="stylesheet" href="/static/stylesheets/ordered.css">
|
2023-11-07 20:08:40 +01:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<h1>ORDINE</h1>
|
|
|
|
<h3>Il tuo ordine è stato stampato</h3>
|
|
|
|
|
|
|
|
<table id="pizzas">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
Nome
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
Quantità
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{ range .Pizzas }}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
{{ .Name }}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ .Quantity }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
</table>
|
|
|
|
<p id="total_price">Prezzo totale: {{ .TotalPrice }}</p>
|
|
|
|
<button><a href="/">Stampa qualcosa</a></button>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|
|
|
|
|