34 lines
798 B
HTML
34 lines
798 B
HTML
|
|
{{define "title"}}
|
|
Orders
|
|
{{end}}
|
|
{{define "main"}}
|
|
<main>
|
|
<table>
|
|
<tr>
|
|
<th></th>
|
|
<th>Name</th>
|
|
<th>Surname</th>
|
|
<th>Phone</th>
|
|
<th>Location</th>
|
|
<th>Date</th>
|
|
<th>Accepted</th>
|
|
<th>Status</th>
|
|
<th>Total</th>
|
|
</tr>
|
|
{{range .}}
|
|
<tr>
|
|
<th><a href="/order/{{.ID}}">edit</a></th>
|
|
<th>{{.Name}}</th>
|
|
<th>{{.Surname}}</th>
|
|
<th>{{.Phone}}</th>
|
|
<th>{{.Location}}</th>
|
|
<th>{{.Date.Format "2006-01-02"}}</th>
|
|
<th>{{.Accepted.Format "2006-01-02"}}</th>
|
|
<th>{{.Status}}</th>
|
|
<th>{{.Total}}</th>
|
|
</tr>
|
|
{{end}}
|
|
</table>
|
|
</main>
|
|
{{end}}
|