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.
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.
If you have any questions, please let me know.
Best regards Christoph Diethelm