From 59d8a53ca4ec479e4567077fa6f8ffcd9dd1f3c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danyi=20D=C3=A1vid?= Date: Tue, 21 May 2019 21:48:08 +0200 Subject: [PATCH] * bellozzo added --- src/App/Service/KoinService.php | 6 ++++++ src/App/Service/SmsStoreService.php | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/App/Service/KoinService.php b/src/App/Service/KoinService.php index 79f8db9..850012b 100644 --- a/src/App/Service/KoinService.php +++ b/src/App/Service/KoinService.php @@ -131,6 +131,10 @@ class KoinService return 'Kávé'; } + if (false !== strpos($posInfo, "BELLOZZO")) { + return 'Étel'; + } + if (false !== strpos($posInfo, "HAI NAM BISTRÓ")) { return 'Étel'; } @@ -259,6 +263,8 @@ class KoinService $tags[] = 'Spar'; } elseif (false !== strpos($posInfo, "Cafe Frei")) { $tags[] = 'Cafe Frei'; + } elseif (false !== strpos($posInfo, "BELLOZZO")) { + $tags[] = 'Bellozzo'; } elseif (false !== strpos($posInfo, "HAI NAM BISTRÓ")) { $tags[] = 'Hai Nam Bistro'; $tags[] = 'Vietnámi'; diff --git a/src/App/Service/SmsStoreService.php b/src/App/Service/SmsStoreService.php index 615c8ad..12fe935 100644 --- a/src/App/Service/SmsStoreService.php +++ b/src/App/Service/SmsStoreService.php @@ -7,7 +7,6 @@ namespace App\Service; use App\Entity\Sms; use App\Entity\User; use DateTime; -use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\EntityManager; use Doctrine\ORM\OptimisticLockException; use Doctrine\ORM\ORMException;