Update pdf_azur.modules.php
This commit is contained in:
parent
400243a157
commit
720a11877d
@ -257,7 +257,6 @@ class pdf_azur extends ModelePDFPropales
|
|||||||
} else {
|
} else {
|
||||||
$dir = $conf->product->dir_output.'/'.$midir; //Check repertory of the current product
|
$dir = $conf->product->dir_output.'/'.$midir; //Check repertory of the current product
|
||||||
}
|
}
|
||||||
$dirphoto=$pdir[1];
|
|
||||||
foreach ($objphoto->liste_photos($dir, 1) as $key => $obj)
|
foreach ($objphoto->liste_photos($dir, 1) as $key => $obj)
|
||||||
{
|
{
|
||||||
if (empty($conf->global->CAT_HIGH_QUALITY_IMAGES)) // If CAT_HIGH_QUALITY_IMAGES not defined, we use thumb if defined and then original photo
|
if (empty($conf->global->CAT_HIGH_QUALITY_IMAGES)) // If CAT_HIGH_QUALITY_IMAGES not defined, we use thumb if defined and then original photo
|
||||||
@ -418,7 +417,6 @@ class pdf_azur extends ModelePDFPropales
|
|||||||
|
|
||||||
// Affiche notes
|
// Affiche notes
|
||||||
$notetoshow = empty($object->note_public) ? '' : $object->note_public;
|
$notetoshow = empty($object->note_public) ? '' : $object->note_public;
|
||||||
$notetoshow .= '<br/>photo'.$obj['photo'].'-'.$realpath.'-'.$dir.'-'.$filename.'-'.$dirphoto;
|
|
||||||
if (!empty($conf->global->MAIN_ADD_SALE_REP_SIGNATURE_IN_NOTE))
|
if (!empty($conf->global->MAIN_ADD_SALE_REP_SIGNATURE_IN_NOTE))
|
||||||
{
|
{
|
||||||
// Get first sale rep
|
// Get first sale rep
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user