tariffDG фикс единиц измерения

This commit is contained in:
Nastya 2023-07-05 20:54:36 +03:00
parent c1e76b062d
commit 81c2582fee

@ -92,9 +92,7 @@ console.log(selectedTariffs)
? (tariff.customPricePerUnit || 0) / 100
: (tariff?.price || 0) / 100,
type:
findPrivilegeById(tariff.privilegeId)?.type === "count"
? "день"
: "шт.",
findPrivilegeById(tariff.privilegeId)?.value === "шаблон" ? "штука" : findPrivilegeById(tariff.privilegeId)?.value,
customPricePerUnit: tariff.customPricePerUnit === 0 ? "Нет" : "Да",
total: tariff.amount
? (tariff.amount *