dsolonenko / financisto

Financisto - open-source personal finance tracker for Android

Home Page:http://financisto.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SMS parsing problem. Negative numbers

brainstorm1313 opened this issue · comments

Hi.
There is a sms template
Karta {{*}}.{{a}} {{*}} Cash {{p}} BYN {{*}}

This SMS verified normally:
Karta 5.3471 08.07.2019 18:46:28 Cash -497.00 BYN EO 27-1 MINSK BLR OK. Dostupno 1169.42 BYN

But it isn't parsed to transactions.

If SMS has a positive number then it parsed correctly:
Karta 5.3471 08.07.2019 18:46:28 Cash 497.00 BYN EO 27-1 MINSK BLR OK. Dostupno 1169.42 BYN

Thease templates are not valid too:
Karta {{*}}.{{a}} {{*}} Cash -{{p}} BYN {{*}}
Karta {{*}}.{{a}} {{*}} Cash -{{p}}.00 BYN {{*}}

I'll try to prepare a fix in 1-2 weeks

This problem exists. To solve it, I had to install Tasker and ask to write a profile for me. But the decision should be laid in the program Financisto itself.