ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Salary register cannot generate pdf


#1

hi sir,
salary register can’t print . and leave with out pay is not showing
please help sir


#2

Uncaught TypeError: Cannot read property ‘header’ of undefined
at eval (eval at frappe.template.compile (microtemplate.js:60), :6:161)
at Object.frappe.render (microtemplate.js:74)
at Object.frappe.render_template (microtemplate.js:85)
at QueryReport.pdf_report (query_report.js:790)
at query_report.js:937
at print.js:326
at Dialog. (messages.js:76)
at HTMLButtonElement. (dialog.js:127)
at HTMLButtonElement.dispatch (jquery.min.js:3)
at HTMLButtonElement.r.handle (jquery.min.js:3)


#3

I had the same issue
the solution is to set default letterhead from Letter Head doctype


#4

thank you so much sir.


#5

thank you for your valuable time sir