-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added ofx module, functions to generate ofx file from json data. #1
base: master
Are you sure you want to change the base?
Conversation
package.json
Outdated
@@ -10,12 +10,14 @@ | |||
"@testing-library/user-event": "^7.2.1", | |||
"date-fns": "^2.12.0", | |||
"lodash": "^4.17.15", | |||
"ofx": "^0.5.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scoate te rog dependința ofx.
src/data/samples/sample.json
Outdated
@@ -0,0 +1,63 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fișierul JSON era pentru tine.
Nu are nicio valoare in proiect.
Îl poți scoate (git commit --ammend)
src/ofx-converter-demo.js
Outdated
BANKMSGSRSV1: { | ||
STMTTRNRS: { | ||
STMTRS: { | ||
CURDEF: "RON", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multe din astea vor trebui să fie ca parametrii.
Eu am conturi in EUR.
Cum ar arăta un API (funcție / funcții) pentru a converti un fișier CSV -> OFX?
Ce date va fi nevoie suplimentar de la utilizator?
Cum vei pasa datele către API (ce semnătură vor avea funcțiile)?
src/ofx-converter.js
Outdated
@@ -0,0 +1,26 @@ | |||
function transactionType(credit, debit) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Te rog să adaugi teste pentru metodele de mai jos.
Înlocuiește xml-js cu https://github.com/Leonidas-from-XIV/node-xml2js . |
…or into ofx-converter # Conflicts: # package.json
No description provided.