сортировка по убыванию
This commit is contained in:
parent
03856f5554
commit
16bde65510
@ -89,10 +89,10 @@ function buildSlides() {
|
|||||||
custom: function() {
|
custom: function() {
|
||||||
var maxVal = Math.max(TOTALS.paynet, TOTALS.bastau5k, TOTALS.bastau7_5k, TOTALS.bastau10k, TOTALS.horeca);
|
var maxVal = Math.max(TOTALS.paynet, TOTALS.bastau5k, TOTALS.bastau7_5k, TOTALS.bastau10k, TOTALS.horeca);
|
||||||
var tariffs = [
|
var tariffs = [
|
||||||
{ name: "Paynet 5 (1 500 ₸)", val: TOTALS.paynet, color: "#00b8cc" },
|
|
||||||
{ name: "BASTAU 8/50 (5 000 ₸)", val: TOTALS.bastau5k, color: "#0ea5e9" },
|
{ name: "BASTAU 8/50 (5 000 ₸)", val: TOTALS.bastau5k, color: "#0ea5e9" },
|
||||||
{ name: "BASTAU CAM/CALL 50 (7 500 ₸)", val: TOTALS.bastau7_5k, color: "#10b981" },
|
|
||||||
{ name: "BASTAU CAM 100 (10 000 ₸)", val: TOTALS.bastau10k, color: "#f59e0b" },
|
{ name: "BASTAU CAM 100 (10 000 ₸)", val: TOTALS.bastau10k, color: "#f59e0b" },
|
||||||
|
{ name: "Paynet 5 (1 500 ₸)", val: TOTALS.paynet, color: "#00b8cc" },
|
||||||
|
{ name: "BASTAU CAM/CALL 50 (7 500 ₸)", val: TOTALS.bastau7_5k, color: "#10b981" },
|
||||||
{ name: "HoReCa KT (15 000 ₸)", val: TOTALS.horeca, color: "#ef4444" }
|
{ name: "HoReCa KT (15 000 ₸)", val: TOTALS.horeca, color: "#ef4444" }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user