* tesco added
This commit is contained in:
parent
4c7e71fdbb
commit
65a5757df9
@ -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';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user