X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0f9dff59858f013c2817b0f919107be86c06020d..05e29980ab6ee71b0436f7ca58d109a79a512b0f:/stglibs/srvconf.lib/parsers/chg_tariff.cpp?ds=sidebyside diff --git a/stglibs/srvconf.lib/parsers/chg_tariff.cpp b/stglibs/srvconf.lib/parsers/chg_tariff.cpp index cb7d9475..b2bc52d6 100644 --- a/stglibs/srvconf.lib/parsers/chg_tariff.cpp +++ b/stglibs/srvconf.lib/parsers/chg_tariff.cpp @@ -68,6 +68,13 @@ if (!data.tariffConf.traffType.empty()) case TRAFF_MAX: stream << ""; break; } +if (!data.tariffConf.period.empty()) + switch (data.tariffConf.period.data()) + { + case TARIFF::DAY: stream << ""; break; + case TARIFF::MONTH: stream << ""; break; + } + for (size_t i = 0; i < DIR_NUM; ++i) if (!data.dirPrice[i].hDay.empty() && !data.dirPrice[i].mDay.empty() &&