From 007fc562d28cd0b5fdc8290f843040c253555670 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Mon, 8 Aug 2016 15:37:47 +0300 Subject: [PATCH 1/1] Ticket 37. The policy name added for the DENY value message in the TariffChangeIsAllowed() function. --- projects/stargazer/tariff_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) + "."; } } //----------------------------------------------------------------------------- -- 2.44.2