From d8fb72a027335ddfa6f97aa89fda15daf798716a Mon Sep 17 00:00:00 2001
From: MaximilienR-easya <122890855+MaximilienR-easya@users.noreply.github.com>
Date: Fri, 15 Nov 2024 23:05:24 +0100
Subject: [PATCH] Fix a missing help (#31901)
---
htdocs/admin/pdf_other.php | 2 +-
htdocs/langs/en_US/admin.lang | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/htdocs/admin/pdf_other.php b/htdocs/admin/pdf_other.php
index 21596154a0e..493f9d4e876 100644
--- a/htdocs/admin/pdf_other.php
+++ b/htdocs/admin/pdf_other.php
@@ -373,7 +373,7 @@ if (isModEnabled('invoice')) {
print '
| '.$langs->trans("Parameters").' | '.$langs->trans("Value").' |
';
print '| ';
- print $form->textwithpicto($langs->trans("MAIN_PDF_ADD_TERMSOFSALE_INVOICE"), '');
+ print $form->textwithpicto($langs->trans("MAIN_PDF_ADD_TERMSOFSALE_INVOICE"), $langs->trans("PdfAddTermOfSaleHelp"));
print ' | ';
if ($conf->use_javascript_ajax) {
print ajax_constantonoff('MAIN_PDF_ADD_TERMSOFSALE_INVOICE');
diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang
index fc741b99509..238d6185f15 100644
--- a/htdocs/langs/en_US/admin.lang
+++ b/htdocs/langs/en_US/admin.lang
@@ -2593,3 +2593,4 @@ Decrypt=Decrypt
FilesIntegrityDesc=If you want to check the integrity of files instead of database, you can do it by using this tool.
AttributeCodeHelp=A code of your choice (without special char and space) to identify the property. Note that if an object B is created from an existing object A that has a different type (for example creation of an invoice from an order), the value of the complementary attributes of A are also copied into the complementary attributes of B when the code of the attribute is the same.
ThereIsMoreThanXAnswers=There is more than %s answers with your filter. Please add more filters...
+PdfAddTermOfSaleHelp=Upload the condition of sales from file input at the bottom of this setup page
\ No newline at end of file
|