Fix regression. Add hidden option PROPAL_DISABLE_SIGNATURE to restore

old behaviour.
This commit is contained in:
Laurent Destailleur 2016-06-19 17:56:34 +02:00
parent d717757594
commit 386b19d4b1

View File

@ -647,8 +647,11 @@ class pdf_azur extends ModelePDFPropales
*/
// Customer signature area
$posy=$this->_signature_area($pdf, $object, $posy, $outputlangs);
if (empty($conf->global->PROPAL_DISABLE_SIGNATURE))
{
$posy=$this->_signature_area($pdf, $object, $posy, $outputlangs);
}
// Pied de page
$this->_pagefoot($pdf,$object,$outputlangs);
if (method_exists($pdf,'AliasNbPages')) $pdf->AliasNbPages();