Fix: Size of picture into PDF

This commit is contained in:
Laurent Destailleur 2013-08-19 13:30:30 +02:00
parent 5841edd40f
commit b18d5166de

View File

@ -108,7 +108,7 @@ class pdf_azur extends ModelePDFPropales
$this->posxdiscount=162;
$this->postotalht=174;
if (! empty($conf->global->MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT)) $this->posxtva=$this->posxup;
$this->posxpicture=$this->posxtva - 16; // width of images
$this->posxpicture=$this->posxtva - (empty($conf->global->MAIN_DOCUMENTS_WITH_PICTURE_WIDTH)?16:$conf->global->MAIN_DOCUMENTS_WITH_PICTURE_WIDTH); // width of images
if ($this->page_largeur < 210) // To work with US executive format
{
$this->posxpicture-=20;