From 314e3962dedef86e52344341dd5c4e0a9bb9cc63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danyi=20D=C3=A1vid?= Date: Wed, 12 Jun 2019 16:21:58 +0200 Subject: [PATCH] =?UTF-8?q?*=20SZ=C3=89P=20k=C3=A1rtya=20tag=20v=C3=A1ltoz?= =?UTF-8?q?=C3=A1sok?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App/Service/SZEPManagerService.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/App/Service/SZEPManagerService.php b/src/App/Service/SZEPManagerService.php index 608d447..8062503 100644 --- a/src/App/Service/SZEPManagerService.php +++ b/src/App/Service/SZEPManagerService.php @@ -29,9 +29,11 @@ class SZEPManagerService const POCKET_FOOD = 'Vendéglátás'; const POCKET_SPORT = 'Szabadidő'; + const POCKET_LODGING = 'Szálláshely'; - const TAG_POCKET_FOOD = 'SZÉP kártya'; + const TAG_POCKET_FOOD = 'SZÉP kártya - étel'; const TAG_POCKET_SPORT = 'SZÉP kártya - szabadidő'; + const TAG_POCKET_LODGING = 'SZÉP kártya - szállás'; const AES_KEY = [ 11, 67, -99,-119,-110, -76, 76, -86, @@ -219,8 +221,9 @@ class SZEPManagerService } switch ($SZEPCardEntry->getPocket()) { - case self::POCKET_FOOD: $tags[] = self::TAG_POCKET_FOOD; break; - case self::POCKET_SPORT: $tags[] = self::TAG_POCKET_SPORT; break; + case self::POCKET_FOOD: $tags[] = self::TAG_POCKET_FOOD; break; + case self::POCKET_SPORT: $tags[] = self::TAG_POCKET_SPORT; break; + case self::POCKET_LODGING: $tags[] = self::TAG_POCKET_LODGING; break; } $tags[] = 'Auto';