diff --git a/kfet/static/kfet/js/kfet.js b/kfet/static/kfet/js/kfet.js index f2e207d2..f09bf347 100644 --- a/kfet/static/kfet/js/kfet.js +++ b/kfet/static/kfet/js/kfet.js @@ -38,7 +38,7 @@ function amountDisplay(amount, is_cof=false, tri='') { } function amountToUKF(amount, is_cof=false) { - var coef_cof = is_cof ? 1 + window.settings['subvention_cof'] / 100 : 1; + var coef_cof = is_cof ? 1 + Config.getAll().subvention_cof / 100 : 1; return Math.round(amount * coef_cof * 10); } diff --git a/kfet/templates/kfet/kpsul.html b/kfet/templates/kfet/kpsul.html index 1bda6045..9eb93643 100644 --- a/kfet/templates/kfet/kpsul.html +++ b/kfet/templates/kfet/kpsul.html @@ -169,6 +169,50 @@ {% csrf_token %}