-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
19b546e
commit d7a4810
Showing
5 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
2023/05/03 UPI | ||
Expenses:Unknown 110.00 INR | ||
Assets:Checking | ||
Assets:Checking:HDFC | ||
|
||
2023/05/04 UPI | ||
Expenses:Unknown 200.00 INR | ||
Assets:Checking | ||
Assets:Checking:HDFC | ||
|
||
2023/05/05 UPI | ||
Assets:Checking 237.00 INR | ||
Assets:Checking:HDFC 237.00 INR | ||
Income:Unknown | ||
|
||
2023/05/05 UPI | ||
Expenses:Unknown 166.00 INR | ||
Assets:Checking | ||
Assets:Checking:HDFC |
10 changes: 10 additions & 0 deletions
10
internal/model/template/templates/HDFC Account Statement XLS.handlebars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{{#if (isDate ROW.A "DD/MM/YY")}} | ||
{{date ROW.A "DD/MM/YY"}} {{ROW.B}} | ||
{{#if (or (eq (trim ROW.F) "0.00") (isBlank (trim ROW.F)))}} | ||
{{predictAccount prefix="Expenses"}} {{trim ROW.E}} INR | ||
Assets:Checking:HDFC | ||
{{else}} | ||
Assets:Checking:HDFC | ||
{{predictAccount prefix="Income"}} -{{trim ROW.F}} INR | ||
{{/if}} | ||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
internal/model/template/templates/ICICI Credit Card Statement.handlebars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
{{#if (and (isDate ROW.A "DD/MM/YYYY") (isBlank ROW.G))}} | ||
{{#if (isDate ROW.A "DD/MM/YYYY")}} | ||
{{date ROW.A "DD/MM/YYYY"}} {{ROW.C}} | ||
{{#if (regexpTest ROW.G "CR")}} | ||
Income:Refund:CreditCard:ICICI -{{ROW.F}} INR | ||
{{else}} | ||
{{predictAccount prefix="Expenses"}} {{ROW.F}} INR | ||
{{/if}} | ||
Liabilities:CreditCard:ICICI | ||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters