]> git.ktnx.net Git - mobile-ledger.git/commit
new profile field: preferred accounts filter
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 28 Mar 2019 22:18:03 +0000 (00:18 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 28 Mar 2019 22:18:28 +0000 (00:18 +0200)
commita50108a81e10a6371d1d49e3610c87a46e3ab9b4
tree1fa16d94bc27bba8738ded9bc873c1f946c19223
parent9ea53633542c034f33e4a4aaaef8c534572b1812
new profile field: preferred accounts filter

to be used in the transaction description auto-completion, preferring
transactions that contain an account matching the filter

the idea is useful for ledgers manipulated by multiple people with
personal accounts who enter transactions with the same description

one would expect the auto-completion to pick a transaction that uses
accounts of the user rather than transaction using other users'
accounts
app/src/main/java/net/ktnx/mobileledger/model/MobileLedgerProfile.java
app/src/main/java/net/ktnx/mobileledger/utils/MLDB.java
app/src/main/res/raw/create_db.sql
app/src/main/res/raw/sql_22.sql [new file with mode: 0644]