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=sidebyside;hp=fe67358efcbe8be916821db7fb12362d831e3a00 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);