Skip to content

Commit

Permalink
Merge #525
Browse files Browse the repository at this point in the history
525: Add estateguru english csv layout r=ChrisRBe a=Craftplorer

I tried to change the language of estateguru but the csv export was still in english so I create a config for it.
I also added in the secondary market so the account value on estateguru and PP match perfectly. 

Co-authored-by: Jonas Meyer <jonas.meyer1@uni-oldenburg.de>
  • Loading branch information
bors[bot] and Jonas-Meyer97 authored Mar 21, 2022
2 parents 3b779cf + 00739d0 commit 58614ef
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions config/estateguru_en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
type_regex: !!map
deposit: "^Deposit.*"
withdraw: "^Withdrawal.*"
interest: "(^Interest.*)|(^Indemnity.*)|(^Referral.*)|(^EG Bonus.*)|(^Secondary Market Profit.*)"
fee: "(^Secondary Market Loss.*)|(^Fee.*)"

csv_fieldnames: !!map
booking_date: 'Payment Date'
booking_date_format: '%d/%m/%Y %H:%M'
booking_details: 'Loan Code'
booking_id: 'ID'
booking_type: 'Cash Flow Type'
booking_value: 'Amount'
booking_currency: 'Currency'
1 change: 1 addition & 0 deletions parse-account-statements.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def parse_args():
"robocash",
"swaper",
"viainvest",
"estateguru_en",
],
default="mintos",
)
Expand Down

0 comments on commit 58614ef

Please sign in to comment.