From: Elena Mamontova Date: Mon, 28 Nov 2016 13:18:37 +0000 (+0200) Subject: Ticket 37. The stgTime argument added in TariffChangeIsAllowed() X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/92430d277d40e31dcdcd527047e40ee5a19af399?ds=inline;hp=-c Ticket 37. The stgTime argument added in TariffChangeIsAllowed() function call. --- 92430d277d40e31dcdcd527047e40ee5a19af399 diff --git a/projects/stargazer/user_impl.cpp b/projects/stargazer/user_impl.cpp index aea25c78..36c0f84f 100644 --- a/projects/stargazer/user_impl.cpp +++ b/projects/stargazer/user_impl.cpp @@ -1184,7 +1184,7 @@ if (nextTariff.ConstData() != "") } else { - std::string message = tariff->TariffChangeIsAllowed(*nt); + std::string message = tariff->TariffChangeIsAllowed(*nt, stgTime); if (message.empty()) { property.tariffName.Set(nextTariff, sysAdmin, login, store);