Skip to content
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

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

ieugen
Copy link
Member

@ieugen ieugen commented Aug 19, 2020

No description provided.

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",
Copy link
Member Author

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.

@@ -0,0 +1,63 @@
{
Copy link
Member Author

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)

BANKMSGSRSV1: {
STMTTRNRS: {
STMTRS: {
CURDEF: "RON",
Copy link
Member Author

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)?

@@ -0,0 +1,26 @@
function transactionType(credit, debit) {
Copy link
Member Author

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.

@ieugen
Copy link
Member Author

ieugen commented Aug 19, 2020

Înlocuiește xml-js cu https://github.com/Leonidas-from-XIV/node-xml2js .
xml-js folosește o bibliotecă nativă și nu poate fi folosit în browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant