From f81d215bcb32484adb1eb8f31847aecaad9c09ec Mon Sep 17 00:00:00 2001 From: Anthony Berton Date: Thu, 4 May 2023 11:21:25 +0200 Subject: [PATCH] FIX - MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING --- htdocs/admin/pdf_other.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/htdocs/admin/pdf_other.php b/htdocs/admin/pdf_other.php index c91c2313c0f..f14f8c756f5 100644 --- a/htdocs/admin/pdf_other.php +++ b/htdocs/admin/pdf_other.php @@ -118,6 +118,18 @@ if (isModEnabled('propal')) { print ''; print ''; + + print ''; + print '
'.$langs->trans("Parameter").''.$langs->trans("Value").'
'; + print $form->textwithpicto($langs->trans("MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING"), ''); + print ''; + if ($conf->use_javascript_ajax) { + print ajax_constantonoff('MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING'); + } else { + $arrval = array('0' => $langs->trans("No"), '1' => $langs->trans("Yes")); + print $form->selectarray("MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING", $arrval, $conf->global->MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING); + } + print '
'; print $form->textwithpicto($langs->trans("MAIN_GENERATE_PROPOSALS_WITH_PICTURE"), $langs->trans("RandomlySelectedIfSeveral")); print '';