]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parsers/chg_tariff.cpp
Ticket. The time_t currentTime parameter added in
[stg.git] / stglibs / srvconf.lib / parsers / chg_tariff.cpp
index bdc7f42baf217676f0c0f15d7264eacbaf09f8a5..16c4b198dbf1d4e605de0a51d22c39f46abf8d4e 100644 (file)
@@ -78,6 +78,7 @@ if (!data.tariffConf.changePolicy.empty())
         case TARIFF::DENY: stream << "<changePolicy value=\"deny\"/>"; break;
         }
 
         case TARIFF::DENY: stream << "<changePolicy value=\"deny\"/>"; break;
         }
 
+appendResetableTag(stream, "changePolicyTimeout", data.tariffConf.changePolicyTimeout);
 for (size_t i = 0; i < DIR_NUM; ++i)
     if (!data.dirPrice[i].hDay.empty() &&
         !data.dirPrice[i].mDay.empty() &&
 for (size_t i = 0; i < DIR_NUM; ++i)
     if (!data.dirPrice[i].hDay.empty() &&
         !data.dirPrice[i].mDay.empty() &&