Skip to content
Discussion options

You must be logged in to vote
{{#if (isDate ROW.B "DD/MM/YYYY")}}
{{date ROW.B "DD/MM/YYYY"}} {{ROW.D}}
  {{#if (regexpTest ROW.D "Credit card Payment")}}
        Liabilities:CreditCard:UB  {{amount ROW.H}} INR
        Assets:Checking:Union
  {{else if (or (eq (trim ROW.I) "0.00") (isBlank (trim ROW.I)))}}
  {{or (match ROW.D Expenses:Food="ZOMATO" Expenses:Groceries="paytm" Liabilities:CreditCard:UB="POS")
       "Expenses:Unknown"}} {{trim ROW.H}} INR
        Assets:Checking:Union
  {{else}}
        Assets:Checking:Union
       {{predictAccount prefix="Income"}} -{{trim ROW.I}} INR
  {{/if}}
{{/if}}

you can make use of else if to keep adding more variations.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dcpo
Comment options

@ananthakumaran
Comment options

Answer selected by dcpo
@dcpo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants