phamos-eu / Swiss-Accounting-Integration

Extending ERPNexts functionality with Swiss QR Integration and Abacus Export
GNU General Public License v3.0
6 stars 14 forks source link

Change Values #16

Open cdiethelm opened 2 years ago

cdiethelm commented 2 years ago

Hello

We have modified the country name from "Switzerland" to "Schweiz". https://github.com/phamos-eu/Swiss-Accounting-Integration/blob/main/src/createqrbill.js The line 44 should include an or statement with "Schweiz"

Or you could just remove that, because it seems to be of little use.

The grand_total field should be rounded_total, if exists, because thats what the invoice shows.

Also, in line 26, doc.customer should be doc.customer_name - you can set ERPNext up to use a naming series for customers, therefore it doesnt show the customer name, but a number.

In qrconfig.js the address_line2 should be removed, because it shows "null" in the print format if there is no address line 2. image

If you have any questions, please let me know.

Best regards Christoph Diethelm

wojosc commented 2 years ago

Hi @cdiethelm ,

thank you for posting this issue. We will attend to this in the coming days and weeks.

Kind Regards Wolfram Schmidt