diff --git a/erpnext_germany/erpnext_germany/doctype/business_letter/business_letter.js b/erpnext_germany/erpnext_germany/doctype/business_letter/business_letter.js
index 8d8d866..9846b5d 100644
--- a/erpnext_germany/erpnext_germany/doctype/business_letter/business_letter.js
+++ b/erpnext_germany/erpnext_germany/doctype/business_letter/business_letter.js
@@ -29,6 +29,6 @@ function set_html_data(frm) {
frm.get_field("html_notice").$wrapper.html(html_notice);
frm.get_field("html_help").$wrapper.html(
- erpnext_germany.business_letter.get_help_text()
+ `
${erpnext_germany.business_letter.get_help_text()}
`
);
}
diff --git a/erpnext_germany/erpnext_germany/doctype/business_letter_template/business_letter_template.js b/erpnext_germany/erpnext_germany/doctype/business_letter_template/business_letter_template.js
index 5aa82f0..1d6b131 100644
--- a/erpnext_germany/erpnext_germany/doctype/business_letter_template/business_letter_template.js
+++ b/erpnext_germany/erpnext_germany/doctype/business_letter_template/business_letter_template.js
@@ -9,6 +9,6 @@ frappe.ui.form.on("Business Letter Template", {
function set_html_data(frm) {
frm.get_field("html_help").$wrapper.html(
- erpnext_germany.business_letter.get_help_text()
+ `${erpnext_germany.business_letter.get_help_text()}
`
);
}
diff --git a/erpnext_germany/public/js/erpnext_germany/business_letter.js b/erpnext_germany/public/js/erpnext_germany/business_letter.js
index d0b8b23..8bd549d 100644
--- a/erpnext_germany/public/js/erpnext_germany/business_letter.js
+++ b/erpnext_germany/public/js/erpnext_germany/business_letter.js
@@ -5,7 +5,10 @@ erpnext_germany.business_letter = {
get_help_text() {
return __(
- 'You can use
Jinja tags in the Subject and Content fields for dynamic values.
All address details are available under the
address
object (e.g.,
{{ address.city }}
), contact details under the
contact
object (e.g.,
{{ contact.first_name }}
), and any specific information related to the dynamically linked document under the
reference
object (e.g.,
{{ reference.some_field }}
).
'
+ "You can use {0} in the Subject and Content fields for dynamic values.
All address details are available under the address
object (e.g., {{ address.city }}
), contact details under the contact
object (e.g., {{ contact.first_name }}
), and any specific information related to the dynamically linked document under the reference
object (e.g., {{ reference.some_field }}
).
",
+ [
+ 'Jinja tags',
+ ]
);
},
};
diff --git a/erpnext_germany/translations/de.csv b/erpnext_germany/translations/de.csv
index 419965c..5c08e00 100644
--- a/erpnext_germany/translations/de.csv
+++ b/erpnext_germany/translations/de.csv
@@ -53,4 +53,6 @@ Debit Closing Balance,Soll Endbestand,
Credit Closing Balance,Haben Endbestand,
submitted Business Letter {0},hat Geschäftsbrief {0} eingereicht,
cancelled Business Letter {0},hat Geschäftsbrief {0} storniert,
+Load From Template,Aus Vorlage laden,
+"You can use {0} in the Subject and Content fields for dynamic values.
All address details are available under the address
object (e.g., {{ address.city }}
), contact details under the contact
object (e.g., {{ contact.first_name }}
), and any specific information related to the dynamically linked document under the reference
object (e.g., {{ reference.some_field }}
).
","Sie können in den Betreff- und Inhalt-Feldern {0} für dynamische Werte verwenden.
Alle Adressdetails sind unter dem address
-Objekt verfügbar (z.B., {{ address.city }}
), Kontaktdetails unter dem contact
-Objekt (z.B., {{ contact.first_name }}
), und jegliche spezifischen Informationen, die mit dem dynamisch verlinkten Dokument zusammenhängen, unter dem reference
-Objekt (z.B., {{ reference.some_field }}
).
",