From: Elena Mamontova Date: Mon, 28 Nov 2016 13:18:37 +0000 (+0200) Subject: Ticket 37. The stgTime argument added in TariffChangeIsAllowed() X-Git-Tag: 2.409~47 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/e1349c435b3d8183d53204412f6bb6c486ad165a?ds=inline 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);