mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
ENH: Move Account matcher to Filter tab
This commit moves the Account matcher into the Filtering tab in preparation for further options
This commit is contained in:
@@ -658,6 +658,26 @@ options specified in the Options panels."))
|
||||
gnc:pagename-general optname-table-export
|
||||
"g" (N_ "Formats the table suitable for cut & paste exporting with extra cells.") #f))
|
||||
|
||||
;; Filtering Options
|
||||
|
||||
(gnc:register-trep-option
|
||||
(gnc:make-string-option
|
||||
pagename-filter optname-account-matcher
|
||||
"a5" (N_ "Match only accounts whose fullname is matched e.g. ':Travel' will match \
|
||||
Expenses:Travel:Holiday and Expenses:Business:Travel. It can be left blank, which will \
|
||||
disable the matcher.")
|
||||
""))
|
||||
|
||||
(gnc:register-trep-option
|
||||
(gnc:make-simple-boolean-option
|
||||
pagename-filter optname-account-matcher-regex
|
||||
"a6"
|
||||
(N_ "By default the account matcher will search substring only. Set this to true to \
|
||||
enable full POSIX regular expressions capabilities. 'Car|Flights' will match both \
|
||||
Expenses:Car and Expenses:Flights. Use a period (.) to match a single character e.g. \
|
||||
'20../.' will match 'Travel 2017/1 London'. ")
|
||||
#f))
|
||||
|
||||
(gnc:register-trep-option
|
||||
(gnc:make-string-option
|
||||
pagename-filter optname-transaction-matcher
|
||||
@@ -691,23 +711,6 @@ tags within description, notes or memo. ")
|
||||
'())
|
||||
#f #t))
|
||||
|
||||
(gnc:register-trep-option
|
||||
(gnc:make-string-option
|
||||
gnc:pagename-accounts optname-account-matcher
|
||||
"a5" (N_ "Match only above accounts whose fullname is matched e.g. ':Travel' will match \
|
||||
Expenses:Travel:Holiday and Expenses:Business:Travel. It can be left blank, which will disable \
|
||||
the matcher.")
|
||||
""))
|
||||
|
||||
(gnc:register-trep-option
|
||||
(gnc:make-simple-boolean-option
|
||||
gnc:pagename-accounts optname-account-matcher-regex
|
||||
"a6"
|
||||
(N_ "By default the account matcher will search substring only. Set this to true to enable full \
|
||||
POSIX regular expressions capabilities. 'Car|Flights' will match both Expenses:Car and Expenses:Flights. \
|
||||
Use a period (.) to match a single character e.g. '20../.' will match 'Travel 2017/1 London'. ")
|
||||
#f))
|
||||
|
||||
(gnc:register-trep-option
|
||||
(gnc:make-account-list-option
|
||||
gnc:pagename-accounts optname-filterby
|
||||
|
||||
@@ -1709,6 +1709,7 @@
|
||||
"Use Full Account Name?" (cons #f "Use Full Account Name")
|
||||
"Use Full Other Account Name?" (cons #f "Use Full Other Account Name")
|
||||
"Void Transactions?" (cons #f "Void Transactions")
|
||||
"Account Substring" (cons "Filter" "Account Matcher")
|
||||
))
|
||||
(name-match (member name new-names-list)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user