' : '').'
';
llxHeader($head, $langs->trans("OnlineSignature"), '', '', 0, 0, '', '', '', 'onlinepaymentbody', $replacemainarea, 1);
if ($action == 'refusepropal') {
- print $form->formconfirm($_SERVER["PHP_SELF"].'?ref='.$ref, $langs->trans('RefusePropal'), $langs->trans('ConfirmRefusePropal', $object->ref), 'confirm_refusepropal', '', '', 1);
+ print $form->formconfirm($_SERVER["PHP_SELF"].'?ref='.urlencode($ref).'&securekey='.urlencode($SECUREKEY), $langs->trans('RefusePropal'), $langs->trans('ConfirmRefusePropal', $object->ref), 'confirm_refusepropal', '', '', 1);
}
// Check link validity for param 'source'
@@ -295,6 +306,13 @@ if ($source == 'proposal') {
print ''.$proposal->thirdparty->name.'';
print ''."\n";
+ // Amount
+
+ print '
| '.$langs->trans("Amount");
+ print ' | ';
+ print ''.price($proposal->total_ttc, 0, $langs, 1, -1, -1, $conf->currency).'';
+ print ' |
'."\n";
+
// Object
$text = ''.$langs->trans("SignatureProposalRef", $proposal->ref).'';
@@ -308,7 +326,7 @@ if ($source == 'proposal') {
print $langs->trans("DownloadDocument").'';
}
} else {
- /* TODO If proposal signed newer than proposal ref, get link of proposal signed
+ /* TODO If the file of proposal signed is newer than the default proposal file, get link of proposal signed
*/
}
@@ -374,12 +392,13 @@ if ($action == "dosign" && empty($cancel)) {
"action" : "importSignature",
"signaturebase64" : signature,
"ref" : \''.dol_escape_js($REF).'\',
- "mode" : "propale",
+ "securekey" : \''.dol_escape_js($SECUREKEY).'\',
+ "mode" : \''.dol_escape_htmltag($source).'\',
},
success: function(response) {
if(response == "success"){
console.log("Success on saving signature");
- window.location.replace("'.$_SERVER["SELF"].'?ref='.urlencode($ref).'&message=signed");
+ window.location.replace("'.$_SERVER["PHP_SELF"].'?ref='.urlencode($ref).'&message=signed&securekey='.urlencode($SECUREKEY).'");
}else{
console.error(response);
}
diff --git a/htdocs/public/payment/newpayment.php b/htdocs/public/payment/newpayment.php
index 7786f88c2f4..2cb5a7e9076 100644
--- a/htdocs/public/payment/newpayment.php
+++ b/htdocs/public/payment/newpayment.php
@@ -1525,10 +1525,13 @@ if ($source == 'member' || $source == 'membersubscription') {
// Debitor
print '| '.$langs->trans("Member");
- print ' | ';
- if ($member->morphy == 'mor' && !empty($member->societe)) {
- print $member->societe;
+ print ' | ';
+ print '';
+ if ($member->morphy == 'mor' && !empty($member->company)) {
+ print img_picto('', 'company', 'class="pictofixedwidth"');
+ print $member->company;
} else {
+ print img_picto('', 'member', 'class="pictofixedwidth"');
print $member->getFullName($langs);
}
print '';
diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php
index a586593de49..b42a6813a30 100644
--- a/htdocs/theme/eldy/global.inc.php
+++ b/htdocs/theme/eldy/global.inc.php
@@ -3630,16 +3630,19 @@ div.refidpadding {
}
div.refid {
font-weight: bold;
- color: var(--colortexttitlenotab);
- font-size: 1.2em;
- word-break: break-word;
+ color: var(--colortexttitlenotab);
+ font-size: 1.2em;
+ word-break: break-word;
+}
+a.refid {
+ color: var(--colortexttitlenotab) !important;
}
div.refidno {
padding-top: 3px;
font-weight: normal;
- color: var(--refidnocolor);
- font-size: ;
- line-height: 1.4em;
+ color: var(--refidnocolor);
+ font-size: ;
+ line-height: 1.4em;
}
div.refidno form {
display: inline-block;
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index c1a79584b6c..8f5fc141b32 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -3662,14 +3662,17 @@ div.refidpadding {
div.refid {
font-weight: bold;
color: rgb(--colortexttitlenotab);
- font-size: 160%;
+ font-size: 160%;
+}
+a.refid {
+ color: var(--colortexttitlenotab) !important;
}
div.refidno {
padding-top: 8px;
font-weight: normal;
- color: #444;
- font-size: px;
- line-height: 21px;
+ color: #444;
+ font-size: px;
+ line-height: 21px;
}
div.refidno form {
display: inline-block;
|