]> git.stg.codes - stg.git/commitdiff
Ticket 37. The stgTime argument added in TariffChangeIsAllowed()
authorElena Mamontova <helenh463@gmail.com>
Mon, 28 Nov 2016 13:18:37 +0000 (15:18 +0200)
committerElena Mamontova <helenh463@gmail.com>
Mon, 28 Nov 2016 13:18:37 +0000 (15:18 +0200)
function call.

projects/stargazer/user_impl.cpp

index aea25c781b43577c3bfd4b7fb50ea652f8b45210..36c0f84f01f02abb6e082d47d31e246c4eeef4b1 100644 (file)
@@ -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);