* REGEXP fixed
* wok express added * planet sushi added
This commit is contained in:
parent
314e3962de
commit
e1482ced6d
@ -30,7 +30,7 @@ class KoinService
|
|||||||
* 4 - currency
|
* 4 - currency
|
||||||
* 5 - pos info
|
* 5 - pos info
|
||||||
*/
|
*/
|
||||||
const OTP_SMS_PATTERN = '#([0-9]{6}) ([0-9]{1,2}:[0-9]{1,2}) K[áà]rty[áà]s v[áà]s[áà]rl[áà]s(?:/z[áà]rol[áà]s)?: -([0-9,.]+) ([A-Z]{2,3}); (.*?); K[áà]rtyasz[áà]m: ...[0-9]{4}; Egyenleg: \+[0-9.]+ HUF - OTPdirekt#msiu';
|
const OTP_SMS_PATTERN = '#([0-9]{6}) ([0-9]{1,2}:[0-9]{1,2}) K[áà]rty[áà]s v[áà]s[áà]rl[áà]s(?:/z[áà]rol[áà]s)?: -([0-9,.]+) ([A-Z]{2,3}); (.*?); K[áà]rtyasz[áà]m: ...[0-9]{4}; Egy(?:\.|enleg): \+[0-9.]+ HUF - OTPdirekt#msiu';
|
||||||
|
|
||||||
/** @var Client */
|
/** @var Client */
|
||||||
private $httpClient;
|
private $httpClient;
|
||||||
@ -139,10 +139,18 @@ class KoinService
|
|||||||
return 'Étel';
|
return 'Étel';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (false !== strpos($posInfo, "Wok Express")) {
|
||||||
|
return 'Étel';
|
||||||
|
}
|
||||||
|
|
||||||
if (false !== strpos($posInfo, "FIRPO BURGER")) {
|
if (false !== strpos($posInfo, "FIRPO BURGER")) {
|
||||||
return 'Étel';
|
return 'Étel';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (false !== strpos($posInfo, "Planet Sushi")) {
|
||||||
|
return 'Étel';
|
||||||
|
}
|
||||||
|
|
||||||
if (false !== strpos($posInfo, "VENDIT AUTOMATÁK")) {
|
if (false !== strpos($posInfo, "VENDIT AUTOMATÁK")) {
|
||||||
return 'Étel';
|
return 'Étel';
|
||||||
}
|
}
|
||||||
@ -268,9 +276,14 @@ class KoinService
|
|||||||
} elseif (false !== strpos($posInfo, "HAI NAM BISTRÓ")) {
|
} elseif (false !== strpos($posInfo, "HAI NAM BISTRÓ")) {
|
||||||
$tags[] = 'Hai Nam Bistro';
|
$tags[] = 'Hai Nam Bistro';
|
||||||
$tags[] = 'Vietnámi';
|
$tags[] = 'Vietnámi';
|
||||||
|
} elseif (false !== strpos($posInfo, "Wok Express")) {
|
||||||
|
$tags[] = 'Wok Express';
|
||||||
|
$tags[] = 'Ramen';
|
||||||
} elseif (false !== strpos($posInfo, "FIRPO BURGER")) {
|
} elseif (false !== strpos($posInfo, "FIRPO BURGER")) {
|
||||||
$tags[] = 'Firpo Burger';
|
$tags[] = 'Firpo Burger';
|
||||||
$tags[] = 'Burger';
|
$tags[] = 'Burger';
|
||||||
|
} elseif (false !== strpos($posInfo, "Planet Sushi")) {
|
||||||
|
$tags[] = 'Planet Sushi';
|
||||||
} elseif (false !== strpos($posInfo, "VENDIT AUTOMATÁK")) {
|
} elseif (false !== strpos($posInfo, "VENDIT AUTOMATÁK")) {
|
||||||
$tags[] = 'Junk food';
|
$tags[] = 'Junk food';
|
||||||
$tags[] = 'Automata';
|
$tags[] = 'Automata';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user