git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
34c6c92
)
Ticket 37. The stgTime argument added in TariffChangeIsAllowed()
author
Elena Mamontova
<helenh463@gmail.com>
Mon, 28 Nov 2016 13:18:37 +0000
(15:18 +0200)
committer
Elena Mamontova
<helenh463@gmail.com>
Mon, 28 Nov 2016 13:18:37 +0000
(15:18 +0200)
function call.
projects/stargazer/user_impl.cpp
patch
|
blob
|
history
diff --git
a/projects/stargazer/user_impl.cpp
b/projects/stargazer/user_impl.cpp
index aea25c781b43577c3bfd4b7fb50ea652f8b45210..36c0f84f01f02abb6e082d47d31e246c4eeef4b1 100644
(file)
--- a/
projects/stargazer/user_impl.cpp
+++ b/
projects/stargazer/user_impl.cpp
@@
-1184,7
+1184,7
@@
if (nextTariff.ConstData() != "")
}
else
{
}
else
{
- std::string message = tariff->TariffChangeIsAllowed(*nt);
+ std::string message = tariff->TariffChangeIsAllowed(*nt
, stgTime
);
if (message.empty())
{
property.tariffName.Set(nextTariff, sysAdmin, login, store);
if (message.empty())
{
property.tariffName.Set(nextTariff, sysAdmin, login, store);