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 Ticket 37. The stgTime argument added in TariffChangeIsAllowed() function call. --- 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);