summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
12f78f3)
TariffChangeIsAllowed() function.
else
return "Current tariff " + GetName() + " is more expensive than new tariff " + to.GetName() + ". The policy is " + TARIFF::ChangePolicyToString(GetChangePolicy()) + ".";
case TARIFF::DENY:
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()) + ".";
}
}
//-----------------------------------------------------------------------------
}
}
//-----------------------------------------------------------------------------