* stocek street food removed/merged in SZEP card

* new POS terminal automation added
This commit is contained in:
Danyi Dávid 2018-07-09 00:16:13 +02:00
parent b99d07627b
commit efad8765c8
3 changed files with 27 additions and 7 deletions

View File

@ -113,6 +113,10 @@ class KoinService
return 'Étel';
}
if (false !== strpos($posInfo, "CAFE PARK ÉTTEREM")) {
return 'Étel';
}
if (false !== strpos($posInfo, "STOCZEK ETTEREM")) {
return 'Étel';
}
@ -177,6 +181,14 @@ class KoinService
return 'Autó';
}
if (false !== strpos($posInfo, "OMV")) {
return 'Autó';
}
if (false !== strpos($posInfo, "MOBIL PETROL")) {
return 'Autó';
}
if (false !== strpos($posInfo, "AMAZON SERVICES-KINDLE")) {
return 'Szórakozás';
}
@ -201,6 +213,9 @@ class KoinService
} elseif (false !== strpos($posInfo, "SCIENCE PARK ÉTTEREM")) {
$tags[] = 'Science Park';
$tags[] = 'Menza';
} elseif (false !== strpos($posInfo, "CAFE PARK ÉTTEREM")) {
$tags[] = 'Cafe Park';
$tags[] = 'Menza';
} elseif (false !== strpos($posInfo, "STOCZEK ETTEREM")) {
$tags[] = "Stoczek";
$tags[] = "Menza";
@ -243,6 +258,12 @@ class KoinService
$tags[] = 'Decathlon';
} elseif (false !== strpos($posInfo, "MOL TÖLTÖàLL")) {
$tags[] = 'MOL';
$tags[] = 'Benzinkút';
} elseif (false !== strpos($posInfo, "OMV")) {
$tags[] = 'OMV';
$tags[] = 'Benzinkút';
} elseif (false !== strpos($posInfo, "MOBIL PETROL")) {
$tags[] = 'Benzinkút';
} elseif (false !== strpos($posInfo, "AMAZON SERVICES-KINDLE")) {
$tags[] = 'Kindle';
$tags[] = 'Amazon';

View File

@ -187,9 +187,6 @@ class SZEPManagerService
} elseif (false !== strpos($SZEPCardEntry->getMerchant(), "Planet Sushi Alle")) {
$tags[] = 'Planet Sushi';
$tags[] = 'Sushi';
} elseif (false !== strpos($SZEPCardEntry->getMerchant(), "Stoczek utcai Étterem")) {
$tags[] = 'Stoczek';
$tags[] = 'Street Food';
} elseif (false !== strpos($SZEPCardEntry->getMerchant(), "Stoczek")) {
$tags[] = 'Stoczek';
} elseif (false !== strpos($SZEPCardEntry->getMerchant(), "Science Park")) {

View File

@ -43,10 +43,12 @@ class SmsStoreService
return true;
}
/**
* @param string $hashKey
* @return User
*/
/**
* @param string $hashKey
* @return User
* @throws \Doctrine\ORM\ORMException
* @throws \Doctrine\ORM\OptimisticLockException
*/
private function ensureUserExists(string $hashKey): User
{
/** @var User $user */