Correction envoi information pour l'export
This commit is contained in:
parent
1001d69400
commit
e75c27382e
@ -95,7 +95,7 @@ if ( $cache->startCapture($fileName.'.html') == FALSE){
|
||||
echo ' <img src="./img/exclamation.png" title="Non validé. Obligatoire sur factures, déclarations d\'échange de biens et de TVA !">';
|
||||
} ?></td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
/**
|
||||
** On recherche un logo
|
||||
**/
|
||||
@ -149,32 +149,36 @@ if ( $cache->startCapture($fileName.'.html') == FALSE){
|
||||
<?
|
||||
}
|
||||
}
|
||||
|
||||
if ($urlImg<>'') {
|
||||
$tabTmp=@getimagesize($locImg.$ext);
|
||||
$w=$tabTmp[0];
|
||||
$h=$tabTmp[1];
|
||||
if ($w>350) $strSize=@redimage($locImg.$ext,350,150);
|
||||
else $strSize='';
|
||||
//Ne pas afficher le logo si il n'existe pas OU si le siren est à 0 OU si le siren est inférieur a 100
|
||||
if(($siren*1!=0 ) || ($siren*1>100)){
|
||||
if ($urlImg<>'' ) {
|
||||
$tabTmp=@getimagesize($locImg.$ext);
|
||||
$w=$tabTmp[0];
|
||||
$h=$tabTmp[1];
|
||||
if ($w>350) $strSize=@redimage($locImg.$ext,350,150);
|
||||
else $strSize='';
|
||||
?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Logo</td>
|
||||
<td width="350" class="StyleInfoData"><img src="<?=$urlImg?>" <?=$strSize?>/></td>
|
||||
</tr>
|
||||
<? }
|
||||
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Logo</td>
|
||||
<td width="350" class="StyleInfoData"><img src="<?=$urlImg?>" <?=$strSize?>/></td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
}
|
||||
if ($etab['AutreId']<>'') {
|
||||
$libTrib='';?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib"><? if (substr($etab['AutreId'],0,1)=='W')
|
||||
echo 'Identifiant Association WALDEC';
|
||||
elseif (preg_match('/(A|B|C|D)/i', $etab['AutreId'])) {
|
||||
echo 'Numéro R.C.';
|
||||
$libTrib=' RCS '.preg_replace('/(^TC |^TI |^TGIcc )/i','',$etab['TribunalLib']);
|
||||
}
|
||||
?></td>
|
||||
<td width="200" class="StyleInfoLib">
|
||||
<? if (substr($etab['AutreId'],0,1)=='W')
|
||||
echo 'Identifiant Association WALDEC';
|
||||
elseif (preg_match('/(A|B|C|D)/i', $etab['AutreId'])) {
|
||||
echo 'Numéro R.C.';
|
||||
$libTrib=' RCS '.preg_replace('/(^TC |^TI |^TGIcc )/i','',$etab['TribunalLib']);
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td width="350" class="StyleInfoData"><?=$etab['AutreId'].$libTrib?></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
@ -605,7 +609,7 @@ if ( $cache->startCapture($fileName.'.html') == FALSE){
|
||||
$value = is_array($value) ? array_map('htmldecode', $value) : html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
||||
return $value;
|
||||
}
|
||||
$tabTemp = htmldecode($_SESSION['tabInfo']['entrep']);
|
||||
$tabTemp = htmldecode($etab);
|
||||
$tabForExport[0] = $tabTemp;
|
||||
|
||||
require_once(realpath(dirname(__FILE__).'/../../includes/').'/export.php');
|
||||
|
Loading…
Reference in New Issue
Block a user