Add status field to orders

This commit is contained in:
bronku 2025-03-18 22:30:16 +01:00
parent d4b76f6307
commit e55ca30d20
5 changed files with 17 additions and 12 deletions

View file

@ -14,6 +14,7 @@
<th>Location</th>
<th>Date</th>
<th>Accepted</th>
<th>Status</th>
<th>Paid</th>
<th>Cakes</th>
</tr>
@ -26,14 +27,10 @@
<th>{{.Location}}</th>
<th>{{.Date.Format "2006-01-02"}}</th>
<th>{{.Accepted.Format "2006-01-02"}}</th>
<th>{{.Status}}</th>
<th>{{.Paid}}</th>
<th>
{{range .Cakes}}
{{.Name}}
{{.Amount}}
{{end}}
</th>
<th>{{range .Cakes}} {{.Name}} {{.Amount}} {{end}}</th>
</tr>
{{end}}
</table>
</main>
</main>