frontend/templates: fix money rendering

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-06-27 14:55:19 -07:00 committed by Simon Zeltser
parent fc272ffb7b
commit 75135e6c7f
4 changed files with 12 additions and 11 deletions

View file

@ -26,9 +26,7 @@
<div class="col text-left">
Qty: {{.Quantity}}<br/>
<strong>
{{.Price.CurrencyCode}}
{{.Price.Amount.Decimal}}.
{{- .Price.Amount.Fractional}}{{- if lt .Price.Amount.Fractional 10}}0{{end}}
{{ renderMoney .Price}}
</strong>
</div>
</div>