From 3de055bac2efb85566b6445b8e446bd2067485a9 Mon Sep 17 00:00:00 2001
From: Anthony Berton <34568357+bb2a@users.noreply.github.com>
Date: Wed, 11 Aug 2021 12:10:17 +0200
Subject: [PATCH] update
---
htdocs/admin/pdf.php | 4 +++-
htdocs/langs/en_US/admin.lang | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/htdocs/admin/pdf.php b/htdocs/admin/pdf.php
index 8891fb5a4c4..4a42eb2bf23 100644
--- a/htdocs/admin/pdf.php
+++ b/htdocs/admin/pdf.php
@@ -420,7 +420,9 @@ print '';
// Show sales representative
-print '
| '.$langs->trans("DOC_SHOW_FIRST_SALES_REP").' | ';
+print ' |
| '.$langs->trans("DOC_SHOW_FIRST_SALES_REP");
+print ' ('.$langs->trans("SalesRepresentativeInfo").')';
+print ' | ';
if ($conf->use_javascript_ajax) {
print ajax_constantonoff('DOC_SHOW_FIRST_SALES_REP');
} else {
diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang
index 55a0b0a34c3..6bd56b6ed49 100644
--- a/htdocs/langs/en_US/admin.lang
+++ b/htdocs/langs/en_US/admin.lang
@@ -1994,6 +1994,7 @@ MAIN_PDF_MARGIN_RIGHT=Right margin on PDF
MAIN_PDF_MARGIN_TOP=Top margin on PDF
MAIN_PDF_MARGIN_BOTTOM=Bottom margin on PDF
MAIN_DOCUMENTS_LOGO_HEIGHT=Height for logo on PDF
+DOC_SHOW_FIRST_SALES_REP=Show first sales representative
MAIN_GENERATE_PROPOSALS_WITH_PICTURE=Add picture on proposal line
MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING=Add electronic sign in PDF
NothingToSetup=There is no specific setup required for this module.
@@ -2151,8 +2152,9 @@ NoExternalModuleWithUpdate=No updates found for external modules
SwaggerDescriptionFile=Swagger API description file (for use with redoc for example)
YouEnableDeprecatedWSAPIsUseRESTAPIsInstead=You enabled deprecated WS API. You should use REST API instead.
RandomlySelectedIfSeveral=Randomly selected if several pictures are available
+SalesRepresentativeInfo=For Proposals, Orders, Invoces.
DatabasePasswordObfuscated=Database password is obfuscated in conf file
DatabasePasswordNotObfuscated=Database password is NOT obfuscated in conf file
APIsAreNotEnabled=APIs modules are not enabled
YouShouldSetThisToOff=You should set this to 0 or off
-InstallAndUpgradeLockedBy=Install and upgrades are locked by the file %s
\ No newline at end of file
+InstallAndUpgradeLockedBy=Install and upgrades are locked by the file %s
|