From adbb8a269ee995f54476fb93843a4eb0b31877d1 Mon Sep 17 00:00:00 2001 From: PCoder Date: Mon, 16 Apr 2018 04:16:38 +0200 Subject: [PATCH] Hostingorders: limit amount to 2 decimal places --- hosting/templates/hosting/orders.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosting/templates/hosting/orders.html b/hosting/templates/hosting/orders.html index f896c98b..140cc4c6 100644 --- a/hosting/templates/hosting/orders.html +++ b/hosting/templates/hosting/orders.html @@ -29,7 +29,7 @@ {{ order.id }} {{ order.created_at | date:"M d, Y H:i" }} - {{ order.price|intcomma }} + {{ order.price|floatformat:2|intcomma }} {% trans 'See Invoice' %}