From: Elena Mamontova Date: Mon, 8 Aug 2016 12:37:47 +0000 (+0300) Subject: Ticket 37. The policy name added for the DENY value message in the X-Git-Tag: 2.409~120 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/007fc562d28cd0b5fdc8290f843040c253555670 Ticket 37. The policy name added for the DENY value message in the TariffChangeIsAllowed() function. --- diff --git a/projects/stargazer/tariff_impl.cpp b/projects/stargazer/tariff_impl.cpp index 61c158e8..271a1da0 100644 --- a/projects/stargazer/tariff_impl.cpp +++ b/projects/stargazer/tariff_impl.cpp @@ -162,7 +162,7 @@ switch (GetChangePolicy()) else return "Current tariff " + GetName() + " is more expensive than new tariff " + to.GetName() + ". The policy is " + TARIFF::ChangePolicyToString(GetChangePolicy()) + "."; case TARIFF::DENY: - return "Current tariff " + GetName() + ", new tariff " + to.GetName() + "."; + return "Current tariff " + GetName() + ", new tariff " + to.GetName() + ". The policy is " + TARIFF::ChangePolicyToString(GetChangePolicy()) + "."; } } //-----------------------------------------------------------------------------