From 73273a48da06e1ed8effe2ea53f2a78de9d5152e Mon Sep 17 00:00:00 2001 From: Pierre Ardoin <32256817+mapiolca@users.noreply.github.com> Date: Mon, 2 Feb 2026 00:38:06 +0100 Subject: [PATCH] Fix Signature position (#37048) Move up the position of the signature to fix its explosion on 3 pages --- htdocs/core/ajax/onlineSign.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/ajax/onlineSign.php b/htdocs/core/ajax/onlineSign.php index 05ab021729b..c658de5e2cd 100644 --- a/htdocs/core/ajax/onlineSign.php +++ b/htdocs/core/ajax/onlineSign.php @@ -560,7 +560,7 @@ if ($action == "importSignature") { if (getDolGlobalString("FICHINTER_SIGNATURE_YFORIMGSTART")) { $param['yforimgstart'] = getDolGlobalString("FICHINTER_SIGNATURE_YFORIMGSTART"); } else { - $param['yforimgstart'] = (empty($s['h']) ? 250 : $s['h'] - 38); + $param['yforimgstart'] = (empty($s['h']) ? 250 : $s['h'] - 62); } if (getDolGlobalString("FICHINTER_SIGNATURE_WFORIMG")) { $param['wforimg'] = getDolGlobalString("FICHINTER_SIGNATURE_WFORIMG"); @@ -582,7 +582,7 @@ if ($action == "importSignature") { // TODO Get position of box from PDF template $param['xforimgstart'] = (empty($s['w']) ? 110 : $s['w'] / 2 - 2); - $param['yforimgstart'] = (empty($s['h']) ? 250 : $s['h'] - 38); + $param['yforimgstart'] = (empty($s['h']) ? 250 : $s['h'] - 62); $param['wforimg'] = $s['w'] - ($param['xforimgstart'] + 20); dolPrintSignatureImage($pdf, $langs, $param);