From: Elena Mamontova Date: Wed, 25 May 2016 11:28:25 +0000 (+0300) Subject: Ticket 37. The WriteString() function call added in the SaveTariff() X-Git-Tag: 2.409~164 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/13f78262f4efb72ebef6156a1ffa7e8060354da1 Ticket 37. The WriteString() function call added in the SaveTariff() function for the 'ChangePolicy' parameter. --- 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;