0)
$idCom=$_REQUEST['idEntreprise'];
else
$idCom=false;
require_once 'cache/cache.php';
require_once 'partenaires/classMTva.php';
require_once 'partenaires/classMMap.php';
require_once 'partenaires/classMCoface.php';
require_once 'common/dates.php';
if (($siret*1)==0 || ($siren*1)<100){ $fileName = $page2.'-'.$idEntreprise;
}else{ $fileName = $page2.'-'.$siret; }
cache_filename($fileName);
if( cache_exist() && !hasModeEdition() ){
$conventions = cache_get('conventions');
}else{
try {
$O = $client->getListeConventions($siren);
$conventions = $O['result'];
cache_delete();
cache_add('conventions', $conventions);
} catch (SoapFault $fault) {
require_once 'soaperror.php';
processSoapFault($client,$fault,$tabInfo);
die();
}
}
?>
CONVENTIONS COLLECTIVES APPLICABLES
|
Numéro identifiant Siren |
=substr($siren,0,3).' '.substr($siren,3,3).' '.substr($siren,6,3)?> |
|
Raison Sociale |
=$raisonSociale?> |
|
|
Conventions collectives
if (count($conventions)>0)
{
foreach ($conventions as $i=>$conv)
{
?>
|
Brochure =substr($conv['idCC'],0,4)?> |
=$conv['nomCC']?>
|
Journal Officiel
'') echo ', '.$conv['dateCC'];
if (trim($conv['nbPageCC'])*1>0) echo ', '.$conv['nbPageCC'].' pages.';
if (trim($conv['isbnCC'])<>'') echo ' ISBN '.$conv['isbnCC'];
?>
|
|
}
} else {
/** Aucune Info Réglementée pour cette entreprise **/
?>
|
|
Néant |
|
}
?>
|
tab = array($conventions);
$array2csv = new ExportCSV;
$array2csv->records = $parseTab->convertTable();
$array2csv->writeCSV($fileName);
$array2xml = new ExportXML;
$array2xml->rootName = $page;
$array2xml->defaultTagName = substr($page, 0 , -1);
$array2xml->records = $conventions;
$array2xml->writeXML($fileName);
require_once 'cgu/cgu.php';
print '
'.afficheCgu();
?>