mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 09:01:40 +01:00
Fix Signature position (#37048)
Move up the position of the signature to fix its explosion on 3 pages
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user