Add status field to orders
This commit is contained in:
parent
d4b76f6307
commit
e55ca30d20
5 changed files with 17 additions and 12 deletions
11
index.html
11
index.html
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue