mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 09:08:09 +01:00
Merge pull request #8601 from frederic34/esign
NEW add optional esign field in pdf propal
This commit is contained in:
@@ -1624,6 +1624,7 @@ class pdf_azur extends ModelePDFPropales
|
||||
*/
|
||||
function _signature_area(&$pdf, $object, $posy, $outputlangs)
|
||||
{
|
||||
global $conf;
|
||||
$default_font_size = pdf_getPDFFontSize($outputlangs);
|
||||
$tab_top = $posy + 4;
|
||||
$tab_hl = 4;
|
||||
@@ -1640,6 +1641,9 @@ class pdf_azur extends ModelePDFPropales
|
||||
|
||||
$pdf->SetXY($posx, $tab_top + $tab_hl);
|
||||
$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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user