Correction chemin logo pour pdf
This commit is contained in:
parent
4a37c8e727
commit
38c73d5915
@ -83,7 +83,7 @@ if ( $cache->startCapture($fileName.'.html') == FALSE){
|
||||
} else {
|
||||
echo substr($etab['TvaNumero'],0,2).' '.substr($etab['TvaNumero'],2,2).' '.substr($etab['TvaNumero'],-9);
|
||||
if (!$etab['TvaAttribue'])
|
||||
echo ' <img src="img/exclamation.png" title="Non validé. Obligatoire sur factures, déclarations d\'échange de biens et de TVA !">';
|
||||
echo ' <img src="./img/exclamation.png" title="Non validé. Obligatoire sur factures, déclarations d\'échange de biens et de TVA !">';
|
||||
} ?></td>
|
||||
</tr>
|
||||
<?
|
||||
@ -94,17 +94,17 @@ if ( $cache->startCapture($fileName.'.html') == FALSE){
|
||||
$siteWeb='';
|
||||
|
||||
$locImg=PATH_LOGOS.$etab['Siren'];
|
||||
if (file_exists($locImg.'.gif')) { $urlImg='/img/logos/'.$etab['Siren'].'.gif'; $ext='.gif'; }
|
||||
elseif (file_exists($locImg.'.png')) { $urlImg='/img/logos/'.$etab['Siren'].'.png'; $ext='.png'; }
|
||||
elseif (file_exists($locImg.'.jpg')) { $urlImg='/img/logos/'.$etab['Siren'].'.jpg'; $ext='.jpg'; }
|
||||
elseif (file_exists($locImg.'.jpeg')) { $urlImg='/img/logos/'.$etab['Siren'].'.jpeg'; $ext='.jpeg'; }
|
||||
if (file_exists($locImg.'.gif')) { $urlImg='./img/logos/'.$etab['Siren'].'.gif'; $ext='.gif'; }
|
||||
elseif (file_exists($locImg.'.png')) { $urlImg='./img/logos/'.$etab['Siren'].'.png'; $ext='.png'; }
|
||||
elseif (file_exists($locImg.'.jpg')) { $urlImg='./img/logos/'.$etab['Siren'].'.jpg'; $ext='.jpg'; }
|
||||
elseif (file_exists($locImg.'.jpeg')) { $urlImg='./img/logos/'.$etab['Siren'].'.jpeg'; $ext='.jpeg'; }
|
||||
|
||||
if ($urlImg=='' && $etab['Isin']<>'') {
|
||||
$locImg=PATH_LOGOS.$etab['Isin'];
|
||||
if (file_exists($locImg.'.gif')) { $urlImg='/img/logos/'.$etab['Isin'].'.gif'; $ext='.gif'; }
|
||||
elseif (file_exists($locImg.'.png')) { $urlImg='/img/logos/'.$etab['Isin'].'.png'; $ext='.png'; }
|
||||
elseif (file_exists($locImg.'.jpg')) { $urlImg='/img/logos/'.$etab['Isin'].'.jpg'; $ext='.jpg'; }
|
||||
elseif (file_exists($locImg.'.jpeg')) { $urlImg='/img/logos/'.$etab['Isin'].'.jpeg'; $ext='.jpeg'; }
|
||||
if (file_exists($locImg.'.gif')) { $urlImg='./img/logos/'.$etab['Isin'].'.gif'; $ext='.gif'; }
|
||||
elseif (file_exists($locImg.'.png')) { $urlImg='./img/logos/'.$etab['Isin'].'.png'; $ext='.png'; }
|
||||
elseif (file_exists($locImg.'.jpg')) { $urlImg='./img/logos/'.$etab['Isin'].'.jpg'; $ext='.jpg'; }
|
||||
elseif (file_exists($locImg.'.jpeg')) { $urlImg='./img/logos/'.$etab['Isin'].'.jpeg'; $ext='.jpeg'; }
|
||||
}
|
||||
|
||||
if (trim($etab['Web'])<>'') {
|
||||
|
Loading…
Reference in New Issue
Block a user