From b2bbe06c903d65d6584f4f4c7a1b3f04aca6e890 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Fri, 14 May 2021 10:50:56 +0300 Subject: [PATCH] Show net prices --- lib/plausible_web/templates/billing/change_plan.html.eex | 2 +- lib/plausible_web/templates/billing/upgrade.html.eex | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/plausible_web/templates/billing/change_plan.html.eex b/lib/plausible_web/templates/billing/change_plan.html.eex index ff7d4d253..40097ba69 100644 --- a/lib/plausible_web/templates/billing/change_plan.html.eex +++ b/lib/plausible_web/templates/billing/change_plan.html.eex @@ -25,7 +25,7 @@ 'GBP': '£' }[plan.currency] - return currency + plan.price.gross + return currency + plan.price.net }, fetchPlans() { var productIds = [] diff --git a/lib/plausible_web/templates/billing/upgrade.html.eex b/lib/plausible_web/templates/billing/upgrade.html.eex index 0803a37d0..569e383ba 100644 --- a/lib/plausible_web/templates/billing/upgrade.html.eex +++ b/lib/plausible_web/templates/billing/upgrade.html.eex @@ -25,7 +25,8 @@ 'GBP': '£' }[plan.currency] - return currency + plan.price.gross + console.log(plan) + return currency + plan.price.net }, fetchPlans() { var productIds = []