]> git.stg.codes - stg.git/commitdiff
Ticket 37. The line for changePolicy value added to the m_answer
authorElena Mamontova <helenh463@gmail.com>
Mon, 11 Jul 2016 08:43:30 +0000 (11:43 +0300)
committerElena Mamontova <helenh463@gmail.com>
Mon, 11 Jul 2016 08:43:30 +0000 (11:43 +0300)
variable in the CreateAnswer() function.

projects/stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp

index 0607db6fb12fbde08147a0af3418250ae3743bb3..7444a03f959d23d2f7f0a9264ed8bf937e410d28 100644 (file)
@@ -114,6 +114,7 @@ void GET_TARIFFS::CreateAnswer()
                   "<Free value=\"" + x2str(it->tariffConf.free) + "\"/>" +
                   "<TraffType value=\"" + TARIFF::TraffTypeToString(it->tariffConf.traffType) + "\"/>" +
                   "<Period value=\"" + TARIFF::PeriodToString(it->tariffConf.period) + "\"/>" +
+                  "<ChangePolicy value=\"" + TARIFF::ChangePolicyToString(it->tariffConf.changePolicy) + "\"/>" +
                   "</tariff>";
         }