From: Elena Mamontova Date: Mon, 28 Nov 2016 13:35:40 +0000 (+0200) Subject: Ticket. The stgTime argument added in TariffChangeIsAllowed() X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/d160ca225cd39f7e187bf1b07d96eab5f2901292 Ticket. The stgTime argument added in TariffChangeIsAllowed() function call. --- diff --git a/projects/stargazer/user_impl.cpp b/projects/stargazer/user_impl.cpp index f3410368..0e92975c 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);