|
|
|
@ -128,6 +128,7 @@ void ShopService::updateRelatedItem(VoucherItem* item, int countAdded)
|
|
|
|
|
|
|
|
|
|
bool ShopService::processEet(VoucherPtr voucher, QString &message)
|
|
|
|
|
{
|
|
|
|
|
#ifdef EET
|
|
|
|
|
if (voucher->eetStatus() == Voucher::EET_NOT_ENTERING)
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
@ -205,16 +206,25 @@ bool ShopService::processEet(VoucherPtr voucher, QString &message)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return voucher->eetStatus() == Voucher::EET_SENT;
|
|
|
|
|
#else
|
|
|
|
|
return true;
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ShopService::setEetOnline(bool online)
|
|
|
|
|
{
|
|
|
|
|
#ifdef EET
|
|
|
|
|
EetSender::m_online = online;
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool ShopService::isEetOnline()
|
|
|
|
|
{
|
|
|
|
|
#ifdef EET
|
|
|
|
|
return EetSender::m_online;
|
|
|
|
|
#else
|
|
|
|
|
return false;
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool ShopService::isEetEnabled()
|
|
|
|
|