From 8929a26714130cbe84d3df057bb5a622ff9b147b Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 17 Oct 2018 07:27:28 +0200 Subject: [PATCH 1/2] Round VAT percent to 2 decimal places --- utils/hosting_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/hosting_utils.py b/utils/hosting_utils.py index 8354f485..ec97a320 100644 --- a/utils/hosting_utils.py +++ b/utils/hosting_utils.py @@ -130,7 +130,7 @@ def get_vm_price_with_vat(cpu, memory, ssd_size, hdd_size=0, 'amount': round(float(pricing.discount_amount), 2) } return (round(float(price), 2), round(float(vat), 2), - round(float(vat_percent)), discount) + round(float(vat_percent), 2), discount) def ping_ok(host_ipv6): From 5a52ae1a1d219aff9822e1ac98c100f9bb9f1cf1 Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 17 Oct 2018 07:47:34 +0200 Subject: [PATCH 2/2] Update Changelog for 2.3.1 --- Changelog | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Changelog b/Changelog index 6d1b57d2..27802eb6 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,5 @@ +2.3.1: 2018-10-17 + * bugfix: [hosting, dcl] Show VAT percent rounded to 2 decimal places in the order confirmation page (PR #673) 2.3: 2018-10-08 * #5690: Generic payment page - allow admin to add a onetime/monthly product and the frontend for user to pay for this product (PR #666) 2.2.2: 2018-09-28