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

Wrong mapping of Excel File for Gegenkonto #27

Closed
koehdaniel opened this issue Nov 20, 2019 · 0 comments
Closed

Wrong mapping of Excel File for Gegenkonto #27

koehdaniel opened this issue Nov 20, 2019 · 0 comments

Comments

@koehdaniel
Copy link
Contributor

In the addisonparser.js;getDonorsFromAddisonExport() the Excel-File is mapped depending on fields/columns being undefined.

For the case of "Gegenkonto" the field is "Konto" is checked if undefined instead of "Gegenkonto", which can lead to an error.

Wrong Code: "Gegenkonto": (rec["Konto"] == undefined) ? rec["Kontonummer"] : rec["Gegenkonto"]
Right Code: "Gegenkonto": (rec["Gegenkonto"] == undefined) ? rec["Kontonummer"] : rec["Gegenkonto"]

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

No branches or pull requests

1 participant