Fix Signature position (#37048)
Move up the position of the signature to fix its explosion on 3 pages
This commit is contained in:
parent
079f0565d7
commit
73273a48da
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue