Merge pull request #8601 from frederic34/esign
NEW add optional esign field in pdf propal
This commit is contained in:
commit
fee4966219
@ -1624,6 +1624,7 @@ class pdf_azur extends ModelePDFPropales
|
|||||||
*/
|
*/
|
||||||
function _signature_area(&$pdf, $object, $posy, $outputlangs)
|
function _signature_area(&$pdf, $object, $posy, $outputlangs)
|
||||||
{
|
{
|
||||||
|
global $conf;
|
||||||
$default_font_size = pdf_getPDFFontSize($outputlangs);
|
$default_font_size = pdf_getPDFFontSize($outputlangs);
|
||||||
$tab_top = $posy + 4;
|
$tab_top = $posy + 4;
|
||||||
$tab_hl = 4;
|
$tab_hl = 4;
|
||||||
@ -1640,6 +1641,9 @@ class pdf_azur extends ModelePDFPropales
|
|||||||
|
|
||||||
$pdf->SetXY($posx, $tab_top + $tab_hl);
|
$pdf->SetXY($posx, $tab_top + $tab_hl);
|
||||||
$pdf->MultiCell($largcol, $tab_hl*3, '', 1, 'R');
|
$pdf->MultiCell($largcol, $tab_hl*3, '', 1, 'R');
|
||||||
|
if (! empty($conf->global->MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING)) {
|
||||||
|
$pdf->addEmptySignatureAppearance($posx, $tab_top + $tab_hl, $largcol, $tab_hl*3);
|
||||||
|
}
|
||||||
|
|
||||||
return ($tab_hl*7);
|
return ($tab_hl*7);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user