* tesco added
This commit is contained in:
@@ -92,6 +92,10 @@ class KoinService
|
||||
*/
|
||||
private function getExpenseCategory(string $posInfo): string
|
||||
{
|
||||
if(false !== strpos($posInfo, "TESCO")) {
|
||||
return 'Bevásárlás';
|
||||
}
|
||||
|
||||
if(false !== strpos($posInfo, "MCDHU")) {
|
||||
return 'Étel';
|
||||
}
|
||||
@@ -111,6 +115,9 @@ class KoinService
|
||||
{
|
||||
$tags = [];
|
||||
|
||||
if(false !== strpos($posInfo, "TESCO")) {
|
||||
$tags[] = 'Tesco';
|
||||
}
|
||||
if(false !== strpos($posInfo, "MCDHU")) {
|
||||
$tags[] = 'Junk food';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user