From b4455eefe5c0cca75ee3d1d5e66865ebdb7f77e4 Mon Sep 17 00:00:00 2001 From: "florian.azizian" <florian.azizian@maarch.org> Date: Wed, 27 Mar 2019 11:38:30 +0100 Subject: [PATCH] FEAT #9836 start send document already sent --- modules/visa/class/MaarchParapheurController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/visa/class/MaarchParapheurController.php b/modules/visa/class/MaarchParapheurController.php index cebc36f27b6..d44af3da47a 100755 --- a/modules/visa/class/MaarchParapheurController.php +++ b/modules/visa/class/MaarchParapheurController.php @@ -32,8 +32,9 @@ class MaarchParapheurController } } $html .= '</select><br /><br /><br /><br />'; - $html .= '<input type="radio" name="objectSent" id="objectSentNote" value="mail" checked="checked" /><label for="objectSentNote" style="float: none;display: unset;">' . _MAIL_NOTE . '</label><br/>'; - $html .= '<input type="radio" name="objectSent" id="objectSentSign" value="attachment" /><label for="objectSentSign" style="float: none;display: unset;">' . _ATTACHMENT_SIGNATURE .'</label><br /><br />'; + $html .= '<input type="radio" name="objectSent" id="objectSentNote" value="mail" checked="checked" onclick="$j(\'#labelSendSignedResponse\').hide()"/><label for="objectSentNote" style="float: none;display: unset;">' . _MAIL_NOTE . '</label><br/>'; + $html .= '<input type="radio" name="objectSent" id="objectSentSign" value="attachment" onclick="$j(\'#labelSendSignedResponse\').show()" /><label for="objectSentSign" style="float: none;display: unset;">' . _ATTACHMENT_SIGNATURE .'</label><br /><br /><br />'; + $html .= '<span id="labelSendSignedResponse" style="display:none"><input type="checkbox" name="sendSignedResponse" id="sendSignedResponse" value="true"><label for="sendSignedResponse" style="float: none;display: unset;">Envoyer aussi les documents déjà signés</label></span><br/><br />'; return $html; } -- GitLab