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

projects/stargazer/user_impl.cpp

index f3410368a179e097477f5e1303a3b6d7dafc416e..0e92975c2c0c064e97d1f8497cd78148aa27b086 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);