Browse Source

match prices with accounts backend

master
Alexandros Theodotou 3 months ago
parent
commit
79b6a78f3f
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 6
      template.py

6
template.py

@ -743,9 +743,9 @@ for in_file in glob.glob("template/*.j2"): @@ -743,9 +743,9 @@ for in_file in glob.glob("template/*.j2"):
currency_for_locale = langs_full[locale][2]
currency_sym_for_locale = currency_symbols[currency_for_locale]
single_price_for_locale = round (10 * currency_rates[currency_for_locale])
bundle_price_for_locale = round (25 * currency_rates[currency_for_locale])
subscription_price_for_locale = round (35 * currency_rates[currency_for_locale])
single_price_for_locale = round (12 * currency_rates[currency_for_locale])
bundle_price_for_locale = round (28 * currency_rates[currency_for_locale])
subscription_price_for_locale = round (42 * currency_rates[currency_for_locale])
monthly_earning_for_locale = round (monthly_earning * currency_rates[currency_for_locale])
# if JPY, round again to 100s
if currency_for_locale == 'JPY' or currency_for_locale == 'RUB':

Loading…
Cancel
Save