fix(print-format): typo in doctype (#33761)

This commit is contained in:
Ravibharathi 2025-08-25 11:19:51 +05:30 committed by GitHub
parent 0d1fe01da9
commit a812021809
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ frappe.ui.form.on("Print Format", {
},
render_buttons: function (frm) {
frm.page.clear_inner_toolbar();
if (!frm.is_new() && frm.doc.print_format_for === "Doctype") {
if (!frm.is_new() && frm.doc.print_format_for === "DocType") {
if (!frm.doc.custom_format) {
frm.add_custom_button(__("Edit Format"), function () {
if (!frm.doc.doc_type) {