From 13f78262f4efb72ebef6156a1ffa7e8060354da1 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Wed, 25 May 2016 14:28:25 +0300 Subject: [PATCH 1/1] Ticket 37. The WriteString() function call added in the SaveTariff() function for the 'ChangePolicy' parameter. --- projects/stargazer/plugins/store/files/file_store.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/stargazer/plugins/store/files/file_store.cpp b/projects/stargazer/plugins/store/files/file_store.cpp index 03a672aa..71f57071 100644 --- a/projects/stargazer/plugins/store/files/file_store.cpp +++ b/projects/stargazer/plugins/store/files/file_store.cpp @@ -1531,6 +1531,7 @@ std::string fileName = storeSettings.GetTariffsDir() + "/" + tariffName + ".tf"; cf.WriteDouble("Free", td.tariffConf.free); cf.WriteString("TraffType", TARIFF::TraffTypeToString(td.tariffConf.traffType)); cf.WriteString("Period", TARIFF::PeriodToString(td.tariffConf.period)); + cf.WriteString("ChangePolicy", TARIFF::ChangePolicyToString(td.tariffConf.changePolicy)); } return 0; -- 2.44.2