Code Monkey home page Code Monkey logo

steuerbescheinigungen-spender's People

Contributors

dependabot[bot] avatar koehdaniel avatar mvandenbos avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

steuerbescheinigungen-spender's Issues

Template: Inconsistency in labels

In the Template, there is header called "Totalsumme" but in the PDF it is called "Gesamtsumme".

They should both read "Gesamtsumme"

Combine married couple in single document

A married couple should only receive one document where all donations from each person are combined.
The recipient field should therefore also contain both names

Filename of PDF/XLSX is wrong

Currently the filename starts always with "fcg-spendenbescheinigung-".
This should be the church-name from the settings.

And the year of the XLSX-Filename is 2020, of the PDF-Filename 2019 (as configured in the template).

Typo in ALT-Text for Logo

Currently the default ALT-Text is: "die ALT Text Beschreibung zu deine Logo"

Proper German is: "Die alternative Beschreibung für dein Logo"

Needs to be fixed in "settings/settings.json"

Import: Add excel field mapper

Right now, the excel structure requires a specific format, this needs to be updated and an interface added that will allow users to map their excel imports to the required fields in the application.

changes in config.json are ignored

When copying another config.json file to %AppData%\Electron\config.json after launching the App, the old config.json gets restored.

Is that behaviour desired?

The localFileManager.js:readFromUserDataAndLocalStorage() is first reading from the localStorage and only if that is empty, then uses the electron-store which is saved to the config.json.

So currently there is no way to get a configuration (Settings & Template) to another computer except overwriting that method to first read the electron-store

return-address above recipient address

In the PDF-Document above the recipient address should be an extra line with a return address.
In case a letter is sent via Post and can't be delivered, it is returned to the sender.

Wrong sorting of Donations

According to addisonparser.js the donations are sorted by a["Buchungsdatum"].toLowerCase().
But the date is in the format dd.mm.YYYY so it is sorted wrong.

Church-Logo in PDF

The ability to add a Logo to the Header of the PDF-Document (variable position?) would be great.

Allow Enter to Login

If you press Enter after typing your password nothing happens.
You first have to TAB out or use the mouse to click on "ANMELDEN"

Wrong mapping of Excel File for Gegenkonto

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"]

Generated PDFs always have the default template.json

The Template that is used for generating PDFs is always the default accoring to pdfreport.js:

const filePath = path.join(__dirname, "..", "/template/template.json");

function getTemplateData () {
  let rawdata = fs.readFileSync(filePath);  
  let data = JSON.parse(rawdata);  
  return data
}

This should probably be changed to use the localFileManager.js
localFileManager.get(localStore, keys.TEMPLATE)

No Error-Message if invalid XLSX

If the provided Excel-File does not contain the Column "Buchungsdatum" the sorting fails, but no Error Message is shown:
image

The reason for that is, that in the catch block the Exception is not casted to a string.
Replacing deferred.reject({message: e}) with deferred.reject({message: String(e)}) fixes the problem:
image

Template-Import not working

After importing a TEMPLATE_EXPORT the LetterHead.subheaders are overwritten by the Letter.subheaders and other fields as well. It seems as if the Parent-Element is not considered at all.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.