Skip to content

Blank if-rule matches all entries #5

@muni-corn

Description

@muni-corn

Given the rules file:

// skip 1 line
skip 1

// fields
fields date,recordedat,scheduledfor,amount,activity,pending,rawdescription,description,categoryfolder,category,streetaddress,city,state,zip,latitude,longitude,memo

// comment to add to each transaction
comment raw description: %rawdescription%, memo: %memo%, simple category: %category%, address: %streetaddress%, %city%, %state%, %zip%

// date format
date_format %Y/%m/%d

// set default account
account1 assets:simple:safe_to_spend
amount1 %amount%

status ~

if 
groceries
wal mart
	account2 expenses:food:groceries

if
cocoa bean
dairy queen
fast food
fd srvcs
great scotts
jamba juice
k-lani
mcdonald's
panda express
restaurants
taco bell
taqueria el rancho
wendy's
	account2 expenses:food:dining

if protected goal account transfer
	account2 assets:simple:protectedgoals

if crypto.com
    account2 assets:cryptocom:fiat

if byu
    account2 expenses:education

if arcadia
    account2 expenses:home:electricity

if sofi
    account2 assets:sofi

if 
call oil co
gas
    account2 expenses:auto:gas

All imported entries had expenses:food:groceries as their second account

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions