Add order total calculation and update template display
This commit is contained in:
parent
5af6e871c2
commit
fe703a9b1c
5 changed files with 22 additions and 4 deletions
|
|
@ -16,7 +16,7 @@
|
|||
<th>Date</th>
|
||||
<th>Accepted</th>
|
||||
<th>Status</th>
|
||||
<th>Paid</th>
|
||||
<th>Total</th>
|
||||
</tr>
|
||||
{{range .}}
|
||||
<tr>
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
<th>{{.Date.Format "2006-01-02"}}</th>
|
||||
<th>{{.Accepted.Format "2006-01-02"}}</th>
|
||||
<th>{{.Status}}</th>
|
||||
<th>{{.Paid}}</th>
|
||||
<th>{{.Total}}</th>
|
||||
</tr>
|
||||
{{end}}
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue