-
Notifications
You must be signed in to change notification settings - Fork 64
ESR Sales Invoices
lasalesi edited this page Aug 16, 2018
·
1 revision
As the release date for the QR Code Sales Invoices has again been delayed, we now also support ESR creation.
ERPNextSwiss contains fixtures that add ESR fields to the sales invoice. You have to add the following snippet to your local sales invoice custom script:
frappe.ui.form.on("Sales Invoice", {
before_save: function(frm) {
if (!frm.doc.__islocal) {
esr_sales_invoice(frm, "01-234-56");
}
}
});
You will find the background for the ESR under /assets/erpnextswiss/public/images/esr.png