diff --git a/src/pages/dashboard/Content/Tariffs/tariffsDG.tsx b/src/pages/dashboard/Content/Tariffs/tariffsDG.tsx index 8b6da01..2d63cc3 100644 --- a/src/pages/dashboard/Content/Tariffs/tariffsDG.tsx +++ b/src/pages/dashboard/Content/Tariffs/tariffsDG.tsx @@ -55,7 +55,7 @@ export default function TariffsDG({ handleSelectionChange }: Props) { findPrivilegeById(tariff.privilegeId)?.description ?? "Привилегия не найдена" }`, amount: tariff.amount, - type: console.log(tariff.id), + type: findPrivilegeById(tariff.privilegeId)?.type === "count" ? "день" : "шт.", pricePerUnit: tariff.customPricePerUnit ?? findPrivilegeById(tariff.privilegeId)?.price, isCustomPrice: tariff.customPricePerUnit === undefined ? "Нет" : "Да", total: tariff.amount * (tariff.customPricePerUnit ?? findPrivilegeById(tariff.privilegeId)?.price ?? 0),