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

View File

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

View File

@ -46,6 +46,8 @@ class SmsStoreService
/** /**
* @param string $hashKey * @param string $hashKey
* @return User * @return User
* @throws \Doctrine\ORM\ORMException
* @throws \Doctrine\ORM\OptimisticLockException
*/ */
private function ensureUserExists(string $hashKey): User private function ensureUserExists(string $hashKey): User
{ {