]> git.stg.codes - stg.git/blobdiff - projects/stargazer/tariff_impl.cpp
Ticket 37. The policy name added for the DENY value message in the
[stg.git] / projects / stargazer / tariff_impl.cpp
index 61c158e8399185e1a154b334a43be9150fb15eb7..271a1da08036752728c55de665ed8f43f5e55003 100644 (file)
@@ -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()) + ".";
     }
 }
 //-----------------------------------------------------------------------------