{{ define "content" }}

### Most Recent Transactions

Date | Type {{ if eq $.PageItems.Com "STS" }} | STS Token {{ end }} | Units | Arrears | Services | Paid
--- | --- | --- | --- | --- | --- | ---
{{ range $.PageItems.Transactions }}
{{ .Created | formatDate }} | {{ .Type }} {{ if eq $.PageItems.Com "STS" }} | {{ .STSToken | formatSTS}} {{ end }} | {{ .Units | printf "%6.1f" }} kWh | {{ $.PageItems.PreMoney }}{{ .Arrears | printf "%6.2f" }}{{ $.PageItems.PostMoney }} | {{ $.PageItems.PreMoney }}{{ .Services | printf "%6.2f" }}{{ $.PageItems.PostMoney }} | {{ $.PageItems.PreMoney }}{{ .Amount | printf "%6.2f" }}{{ $.PageItems.PostMoney }}
{{ end }}

{{ if ne $.PageItems.Com "STS" }}

### Most Recent Meter Reads

Date | Usage
--- | ---
{{ range $.PageItems.Readings }}
{{ .BillingTimeStamp | formatDate }} | {{ .Usage }} kWh
{{ end }}

{{ end }} {{ end }}