Legal - Juridique Controller
This commit is contained in:
parent
2a10623fce
commit
e86916e5e2
@ -1 +1,577 @@
|
||||
<?php
|
||||
class Legal_JuridiqueController extends Zend_Controller_Action
|
||||
{
|
||||
protected $theme;
|
||||
protected $siret = null;
|
||||
protected $id = 0;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
$this->theme = Zend_Registry::get('theme');
|
||||
|
||||
$request = $this->getRequest();
|
||||
$this->siret = $request->getParam('siret');
|
||||
$this->id = $request->getParam('id', 0);
|
||||
|
||||
require_once 'Scores/WsScores.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* Affichage de la liste des annonces ou d'une annonce
|
||||
*/
|
||||
public function annoncesAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
|
||||
$autrePage = $request->getParam('apage');
|
||||
$vue = $request->getParam('vue', 'bodacc');
|
||||
|
||||
$idAnn = $request->getParam('idAnn', null);
|
||||
$siren = substr($this->siret, 0,9);
|
||||
|
||||
$source = $request->getParam('source');
|
||||
if (!empty($source)) {
|
||||
switch ($source){
|
||||
case 1: $vue='bodacc'; break;
|
||||
case 2: $vue='balo'; break;
|
||||
case 3: $vue='asso'; break;
|
||||
}
|
||||
}
|
||||
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$fj = $session->getFormeJuridique();
|
||||
if ( $fj>9000 && $fj<9999 && intval($siren)==0 ) {
|
||||
$vue = 'asso';
|
||||
}
|
||||
|
||||
$this->view->assign('id', $session->getId());
|
||||
$this->view->assign('siren', $siren);
|
||||
$this->view->assign('siret', $this->siret);
|
||||
$this->view->assign('raisonSociale', $session->getRaisonSociale());
|
||||
$this->view->assign('AutrePage', $autrePage);
|
||||
|
||||
if ($session->getSource()=='006' || $session->getSourceId()=='007') {
|
||||
|
||||
$this->view->assign('AutreSource', true);
|
||||
|
||||
} else {
|
||||
|
||||
$this->view->assign('vue', $vue);
|
||||
|
||||
//Pagination
|
||||
$page = $request->getParam('page', 1);
|
||||
if ( $page <= 0 ) $page = 1;
|
||||
$nbAffichage = 20;
|
||||
$position = ($page - 1 ) * $nbAffichage;
|
||||
|
||||
$ws = new WsScores();
|
||||
switch ( $vue ) {
|
||||
case 'bodacc':
|
||||
case 'abod':
|
||||
default:
|
||||
if(intval($siren)==0) {
|
||||
$idAnn = $session->getSourceId();
|
||||
}
|
||||
$infos = $ws->getAnnoncesLegales($siren, $idAnn, null, $position, $nbAffichage);
|
||||
break;
|
||||
case 'balo':
|
||||
$infos = $ws->getAnnoncesBalo($siren, $idAnn, null, $position, $nbAffichage);
|
||||
break;
|
||||
case 'asso':
|
||||
if ( intval($siren)==0 && substr($session->getAutreId(),0,1)=='W' ) {
|
||||
$infos = $ws->getAnnoncesAsso($session->getAutreId(), $idAnn, null, $position, $nbAffichage);
|
||||
} elseif (intval($siren)!=0) {
|
||||
$infos = $ws->getAnnoncesAsso($siren, $idAnn, null, $position, $nbAffichage);
|
||||
} else {
|
||||
$idAnn = $session->getSourceId();
|
||||
$infos = $ws->getAnnoncesAsso($siren, $idAnn, null, $position, $nbAffichage);
|
||||
}
|
||||
break;
|
||||
case 'bomp':
|
||||
$filtre = $request->getParam('filtre', null);
|
||||
$this->view->assign('filtre', $filtre);
|
||||
$infos = $ws->getAnnoncesBoamp($siren, $idAnn, $filtre, $position, $nbAffichage);
|
||||
break;
|
||||
}
|
||||
if ($infos === false) $this->_forward('soap', 'error');
|
||||
Zend_Registry::get('firebug')->info($infos);
|
||||
require_once 'Scores/Annonces.php';
|
||||
$objAnnonces = new Annonces($infos->result->item);
|
||||
|
||||
$typeAnnonces = array(
|
||||
'Bodacc',
|
||||
'Balo',
|
||||
'Bomp',
|
||||
'Asso',
|
||||
);
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
$this->view->assign('hasModeEdition', $user->checkModeEdition());
|
||||
|
||||
$this->view->assign('exportObjet', $infos);
|
||||
$this->view->assign('surveillance', $user->checkPerm('survannonce'));
|
||||
|
||||
//Affichage pour une annonce
|
||||
if (!empty($idAnn) && in_array($vue, array('bodacc', 'abod', 'balo', 'asso', 'bomp')) ) {
|
||||
|
||||
if ( $user->checkModeEdition() ){
|
||||
$this->view->headScript()->appendFile($this->theme->pathScript.'/saisieannonces.js', 'text/javascript');
|
||||
}
|
||||
|
||||
$classType = 'annonces'.ucfirst($vue);
|
||||
foreach($objAnnonces->$classType as $ann) {
|
||||
if($ann->id==$idAnn) break;
|
||||
}
|
||||
Zend_Registry::get('firebug')->info($ann);
|
||||
$annonce = array(
|
||||
'Desc' => $objAnnonces->getAnnonceDesc($ann),
|
||||
'Entree' => $objAnnonces->getAnnonceEntree($ann),
|
||||
'EntreeSD' => $objAnnonces->getAnnonceEntreeSD($ann),
|
||||
'Even' => $objAnnonces->getAnnonceEven($ann),
|
||||
'Texte' => $objAnnonces->getAnnonceTexte($ann),
|
||||
'Type' => $objAnnonces->getType($ann),
|
||||
'Code' => $objAnnonces->getCode($ann),
|
||||
'Annee' => $objAnnonces->getAnnee($ann),
|
||||
'Num' => $objAnnonces->getNum($ann),
|
||||
'Deleted' => $objAnnonces->isDeleted($ann),
|
||||
'Entites' => $objAnnonces->getAnnonceEntite($ann)
|
||||
);
|
||||
|
||||
$this->view->assign('source', $session->getSource());
|
||||
if ( intval($this->siret)==0 ){
|
||||
$this->view->assign('sourceId', $session->getSourceId());
|
||||
} else {
|
||||
$this->view->assign('sourceId', null);
|
||||
}
|
||||
$this->view->assign('idAnn', $idAnn);
|
||||
$this->view->assign('annonce', $annonce);
|
||||
|
||||
if ($request->getParam('q')=='ajax')
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
//$this->_helper->viewRenderer->setNoRender(true);
|
||||
$this->renderScript('juridique/annonce-ajax.phtml');
|
||||
} else {
|
||||
|
||||
$this->view->assign('PageCurrent', $page);
|
||||
|
||||
//Définir url pour téléchargement pdf
|
||||
if ( in_array($annonce['Code'], array('BODA', 'BODB', 'BODC')) && intval($annonce['Annee'])>=2008) {
|
||||
$lienBodacc = $this->view->url(array(
|
||||
'controller' => 'juridique',
|
||||
'action' => 'bodaccpdf',
|
||||
'type' => substr($annonce['Code'],3,1),
|
||||
'annee' => $annonce['Annee'],
|
||||
'num' => $annonce['Num'],
|
||||
), 'default', true);
|
||||
$this->view->assign('lienBodacc', $lienBodacc);
|
||||
}
|
||||
|
||||
$this->renderScript('juridique/annonce.phtml');
|
||||
}
|
||||
|
||||
// --- Affichage pour la liste des annonces
|
||||
} else {
|
||||
|
||||
// --- Titre de la page
|
||||
if ( empty($autrePage) ) {
|
||||
if( empty($siren) ){
|
||||
$titre = 'Identifiant '.$this->id;
|
||||
} else {
|
||||
$titre = 'Siret '.$siren;
|
||||
}
|
||||
$this->view->headTitle()->prepend('Annonces Légales - '.$titre);
|
||||
}
|
||||
|
||||
// ---- Calcul pagination
|
||||
$nbReponses = count($infos->result->item);
|
||||
$nbReponsesTotal = $infos->nbReponses;
|
||||
if ($nbReponses < $nbReponsesTotal) {
|
||||
$pageTotal = ceil( $nbReponsesTotal / $nbAffichage );
|
||||
$pageCurrent = $page;
|
||||
$pagePrev = $page - 1;
|
||||
if ($pagePrev < 1) {
|
||||
$pagePrev = 1;
|
||||
}
|
||||
$pageNext = $page + 1;
|
||||
if( $pageNext > $pageTotal ) {
|
||||
$pageNext = $pageTotal;
|
||||
}
|
||||
} else {
|
||||
$pageTotal = $pageCurrent = 1;
|
||||
}
|
||||
$this->view->assign('PageTotal', $pageTotal);
|
||||
$this->view->assign('PagePrev', $pagePrev);
|
||||
$this->view->assign('PageNext', $pageNext);
|
||||
$this->view->assign('PageCurrent', $pageCurrent);
|
||||
|
||||
$this->view->assign('nbReponses', empty($nbReponses) ? 0 : $nbReponses);
|
||||
$this->view->assign('nbReponsesTotal', empty($nbReponsesTotal) ? 0 : $nbReponsesTotal);
|
||||
|
||||
foreach ( $typeAnnonces as $type ) {
|
||||
$classType = 'annonces'.$type;
|
||||
$annonces = array();
|
||||
if ( count( $objAnnonces->$classType ) > 0 ) {
|
||||
foreach( $objAnnonces->$classType as $ann ) {
|
||||
$annonces[] = $objAnnonces->getAnnonceResume($ann);
|
||||
}
|
||||
$this->view->assign($classType, $annonces);
|
||||
}
|
||||
}
|
||||
$this->view->headScript()->appendFile($this->theme->pathScript.'/annonces.js', 'text/javascript');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Liste des contentieux
|
||||
*/
|
||||
public function ctxAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
$this->view->headTitle()->prepend("Contentieux");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$siren = substr($this->siret, 0,9);
|
||||
$type = $request->getParam('type', 'DF');
|
||||
$this->view->Type = $type;
|
||||
$typeList = array(
|
||||
'DE' => 'demandeur',
|
||||
'DF' => 'défendeur',
|
||||
);
|
||||
$this->view->TypeLabel = '';
|
||||
if (array_key_exists($type, $typeList)) {
|
||||
$this->view->TypeLabel = $typeList[$type];
|
||||
}
|
||||
$this->view->TypeList = $typeList;
|
||||
|
||||
$nbReponses = 20;
|
||||
$page = $request->getParam('page', 1);
|
||||
if ( $page <= 0 ) $page = 1;
|
||||
$position = ($page - 1 ) * $nbReponses;
|
||||
|
||||
$params = new stdClass();
|
||||
$params->companyId = $siren;
|
||||
$params->tiers = $type;
|
||||
$params->p = $position;
|
||||
$params->limit = $nbReponses;
|
||||
|
||||
try {
|
||||
$ws = new Scores_Ws_Client('entreprise', '0.9');
|
||||
$response = $ws->getGreffeAffaireList($params);
|
||||
if ($response === false) {
|
||||
$this->view->msg = "Erreur";
|
||||
} else {
|
||||
|
||||
$this->view->List = $response->List->item;
|
||||
// --- Pagination
|
||||
$nbReponsesTotal = $response->Nb;
|
||||
$pageTotal = $pageCurrent = 1;
|
||||
$pagePrev = null;
|
||||
$pageNext = null;
|
||||
if ($nbReponses < $nbReponsesTotal) {
|
||||
$pageTotal = ceil( $nbReponsesTotal / $nbReponses );
|
||||
$pageCurrent = $page;
|
||||
$pagePrev = $page - 1;
|
||||
if ($pagePrev < 1) {
|
||||
$pagePrev = 1;
|
||||
}
|
||||
$pageNext = $page + 1;
|
||||
if( $pageNext > $pageTotal ) {
|
||||
$pageNext = $pageTotal;
|
||||
}
|
||||
}
|
||||
$this->view->assign('PageTotal', $pageTotal);
|
||||
$this->view->assign('PagePrev', $pagePrev);
|
||||
$this->view->assign('PageNext', $pageNext);
|
||||
$this->view->assign('PageCurrent', $pageCurrent);
|
||||
|
||||
$this->view->assign('nbReponses', empty($nbReponses) ? 0 : $nbReponses);
|
||||
$this->view->assign('nbReponsesTotal', empty($nbReponsesTotal) ? 0 : $nbReponsesTotal);
|
||||
|
||||
$this->view->assign('siren', $siren);
|
||||
$this->view->assign('siret', $this->siret);
|
||||
$this->view->assign('raisonSociale', $session->getRaisonSociale());
|
||||
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
$this->view->msg = $e->getMessage();
|
||||
}
|
||||
}
|
||||
|
||||
public function ctxdetailAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$siren = substr($this->siret, 0,9);
|
||||
|
||||
$this->view->headTitle()->prepend("Contentieux");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$this->view->assign('siren', $siren);
|
||||
$this->view->assign('siret', $this->siret);
|
||||
$this->view->assign('raisonSociale', $session->getRaisonSociale());
|
||||
|
||||
$id = $request->getParam('affaireId');
|
||||
|
||||
$params = new stdClass();
|
||||
$params->id = $id;
|
||||
|
||||
try {
|
||||
$ws = new Scores_Ws_Client('entreprise', '0.9');
|
||||
$response = $ws->getGreffeAffaireDetail($params);
|
||||
if ($response === false) {
|
||||
$this->view->msg = "Erreur";
|
||||
} else {
|
||||
$this->view->Affaire = $response;
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
$this->view->msg = $e->getMessage();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Affichage infos réglementées
|
||||
*/
|
||||
public function infosregAction()
|
||||
{
|
||||
$this->view->headTitle()->prepend("Informations Réglementées");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$request = $this->getRequest();
|
||||
$idAnn = $request->getParam('idann', false);
|
||||
$siren = substr($this->siret, 0,9);
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
$ws = new WsScores();
|
||||
if ($idAnn!=false) {
|
||||
$this->view->assign('idAnn', $idAnn);
|
||||
$infos = $ws->getInfosReg($siren,$idAnn);
|
||||
} else {
|
||||
$infos = $ws->getInfosReg($siren);
|
||||
}
|
||||
if ($infos === false) $this->forward('soap', 'error');
|
||||
|
||||
if (is_string($infos)){
|
||||
$this->view->assign('message', $infos);
|
||||
}
|
||||
|
||||
$objAnnonces = $infos->result->item;
|
||||
$annonces = array();
|
||||
if (count($objAnnonces)>0) {
|
||||
foreach ( $objAnnonces as $item ) {
|
||||
$dateParution = new Zend_Date($item->DateParution, 'yyyy-MM-dd');
|
||||
$dateInsertion = new Zend_Date($item->dateInsertionSD, 'yyyy-MM-dd');
|
||||
$annonces[] = array(
|
||||
'id' => $item->id,
|
||||
'titre' => $item->titre,
|
||||
'communique' => $item->communique,
|
||||
'source' => $item->source,
|
||||
'DateParution' => $dateParution->toString('dd/MM/yyyy'),
|
||||
'dateInsertionSD' => $dateInsertion->toString('dd/MM/yyyy'),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
$this->view->assign('annonces', $annonces);
|
||||
$this->view->assign('siren', $siren);
|
||||
$this->view->assign('siret', $this->siret);
|
||||
$this->view->assign('raisonSociale', $session->getRaisonSociale());
|
||||
$this->view->assign('exportObjet', $infos);
|
||||
}
|
||||
|
||||
/**
|
||||
* Affichage listes des compétences
|
||||
*/
|
||||
public function competencesAction()
|
||||
{
|
||||
$this->view->headTitle()->prepend("Compétences Territoriales");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$request = $this->getRequest();
|
||||
$type = $request->getParam('type', '');
|
||||
$siren = substr($this->siret,0,9);
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
$abbrev = array(
|
||||
' TGI ' => 'TRIBUNAL DE GRANDE INSTANCE DE ',
|
||||
' TI ' => 'TRIBUNAL D\'INSTANCE DE ',
|
||||
' TC ' => 'TRIBUNAL DE COMMERCE DE ',
|
||||
' TGICC ' => 'TRIBUNAL DE GRANDE INSTANCE A COMPETENCE COMMERCIALE ',
|
||||
' TICC ' => 'TRIBUNAL D\'INSTANCE A COMPETENCE COMMERCIALE '
|
||||
);
|
||||
|
||||
if (!empty($type)){
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getListeCompetences($this->siret, $type, $session->getCodeCommune());
|
||||
if ($infos === false) $this->_forward('soap', 'error');
|
||||
|
||||
$competences = $infos->result->item;
|
||||
Zend_Registry::get('firebug')->info($infos);
|
||||
if( $type=='tri' || $type=='cfe' ) {
|
||||
$i=0;
|
||||
foreach($competences as $comp){
|
||||
$competences[$i]->Nom = strtr(' '.strtoupper($comp->Nom), $abbrev);
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
$this->view->assign('competences', $competences);
|
||||
$this->view->assign('type', $type);
|
||||
$this->view->assign('exportObjet', $infos);
|
||||
}
|
||||
|
||||
$this->view->assign('siren', $siren);
|
||||
$this->view->assign('siret', $this->siret);
|
||||
$this->view->assign('raisonSociale', $session->getRaisonSociale());
|
||||
}
|
||||
|
||||
/**
|
||||
* Affichage des la listes des conventions collectives
|
||||
* Enter description here ...
|
||||
*/
|
||||
public function conventionsAction()
|
||||
{
|
||||
$this->view->headTitle()->prepend("Conventions Collectives");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$siren = substr($this->siret, 0,9);
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$this->view->assign('siren', $siren);
|
||||
$this->view->assign('siret', $this->siret);
|
||||
$this->view->assign('raisonSociale', $session->getRaisonSociale());
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getListeConventions($siren);
|
||||
$conventions = $infos->result->item;
|
||||
Zend_Registry::get('firebug')->info($conventions);
|
||||
$this->view->assign('conventions', $conventions);
|
||||
$this->view->assign('exportObjet', $infos);
|
||||
}
|
||||
|
||||
/**
|
||||
* Affichage des marques déposées
|
||||
*/
|
||||
public function marquesAction()
|
||||
{
|
||||
$this->view->headTitle()->prepend("Marques Déposées");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$this->view->headScript()->appendFile($this->theme->pathScript.'/marques.js', 'text/javascript');
|
||||
|
||||
$request = $this->getRequest();
|
||||
$idObject = $request->getParam('idObject', 0);
|
||||
$siren = substr($this->siret, 0,9);
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$this->view->assign('siren', $siren);
|
||||
$this->view->assign('siret', $this->siret);
|
||||
$this->view->assign('raisonSociale', $session->getRaisonSociale());
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getMarques($siren, $idObject);
|
||||
if ($infos === false) $this->_forward('soap', 'error');
|
||||
|
||||
$marques = $infos->result->item;
|
||||
$this->view->assign('marques', $marques);
|
||||
$this->view->assign('idObject', $idObject);
|
||||
$this->view->assign('exportObjet', $marques);
|
||||
Zend_Registry::get('firebug')->info($infos);
|
||||
}
|
||||
|
||||
/**
|
||||
* Affiche le lien pour télécharger le fichier concernant le dépot
|
||||
*/
|
||||
public function getmarqueAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
$request = $this->getRequest();
|
||||
$numdepot = $request->getParam('numdepot', '');
|
||||
if (empty($numdepot)){
|
||||
echo 'Paramètres incorrects';
|
||||
exit;
|
||||
}
|
||||
$c = Zend_Registry::get('config');
|
||||
$directory = $c->profil->path->shared.'/persist/marques';
|
||||
$file = $numdepot.'.pdf';
|
||||
|
||||
//Le fichier n'existe pas alors on le télécharger
|
||||
if(!file_exists($directory.'/'.$file)
|
||||
|| filesize($directory.'/'.$file)==0 ) {
|
||||
$cmd = 'php ' . APPLICATION_PATH . '/../scripts/jobs/getMarque.php ' . $numdepot;
|
||||
Zend_Registry::get('firebug')->info($cmd);
|
||||
$result = exec($cmd);
|
||||
Zend_Registry::get('firebug')->info($result);
|
||||
}
|
||||
//On vérfie que le fichier existe après le téléchargement
|
||||
if(file_exists($directory.'/'.$file) && filesize($directory.'/'.$file)>0) {
|
||||
$href = $this->view->url(array('module'=>'file', 'controller'=>'index', 'action'=>'marque', 'q'=>$file), 'default', true);
|
||||
echo '<a href="'.$href.'" target="_blank">Télécharger le PDF de l\'insciption au BOPI.</a>';
|
||||
} else {
|
||||
echo 'Document introuvable.';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function bodaccpdfAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
$request = $this->getRequest();
|
||||
|
||||
$type = $request->getParam('type');
|
||||
$annee = $request->getParam('annee');
|
||||
$num = $request->getParam('num');
|
||||
|
||||
//$num doit être retraité pour être sur 4 position
|
||||
$c = strlen($num);
|
||||
for($i=0;$i<4-$c;$i++){
|
||||
$num = '0'.$num;
|
||||
}
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = $c->profil->path->shared.'/persist/bodacc/'.$type.'/'.$annee.'/'.
|
||||
'BODACC_'.$type.'_'.$annee.'_'.$num.'.pdf';
|
||||
|
||||
if ( !file_exists($file) ) {
|
||||
exec('php ' . APPLICATION_PATH . "/../scripts/jobs/getBodaccPdf.php $type $annee $num >> getBodaccPdf.log");
|
||||
}
|
||||
|
||||
if (file_exists($file)) {
|
||||
$href = $this->view->url(array('module'=>'file', 'controller'=>'bodacc', 'action'=>'actual',
|
||||
'q' => basename($file)), 'default', true);
|
||||
echo "<a target=\"_blank\" href=\"".$href."\">Cliquer ici pour télécharger le fichier.</a>";
|
||||
} else {
|
||||
echo "Erreur lors du chargement du fichier.";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function annoncenumAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
|
||||
$request = $this->getRequest();
|
||||
$siren = $request->getParam('siren');
|
||||
|
||||
$ws = new WsScores();
|
||||
$result = $ws->getAnnoncesNum($siren);
|
||||
Zend_Registry::get('firebug')->info($result);
|
||||
$numWS = array();
|
||||
if (count($result->item)>0) {
|
||||
foreach ($result->item as $item) {
|
||||
$numWS[$item->type] = $item->num;
|
||||
}
|
||||
}
|
||||
$types = array('bodacc', 'balo', 'boamp', 'asso');
|
||||
|
||||
$num = array();
|
||||
foreach($types as $type) {
|
||||
if ( array_key_exists($type, $numWS) ) {
|
||||
$num['Type'.ucfirst($type)] = $numWS[$type];
|
||||
}
|
||||
}
|
||||
|
||||
$this->view->assign('num', $num);
|
||||
}
|
||||
}
|
@ -0,0 +1 @@
|
||||
<?=$this->RemplaceSiren(substr($this->annonce['Texte'],0,1000))?>
|
@ -0,0 +1,161 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">ANNONCES LÉGALES</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SirenTexte($this->siren)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?=$this->raisonSociale?>
|
||||
<?php if($this->hasModeEdition) : ?>
|
||||
<a href="<?=$this->url(array(
|
||||
'controller' => 'saisie',
|
||||
'action' => 'fiche',
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
), 'default', true)?>">(Edition)</a>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ($this->surveillance) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" width="550" class="StyleInfoData">
|
||||
<?=$this->action('infos','surveillance', null, array(
|
||||
'source' => 'annonces',
|
||||
'siret' => $this->siret
|
||||
))?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
switch ($this->annonce['Type']) {
|
||||
case 'balo':
|
||||
?><h2>BALO</h2><?php
|
||||
break;
|
||||
case 'bodacc':
|
||||
case 'abod':
|
||||
?><h2>ÉVÉNEMENTS LÉGAUX</h2><?php
|
||||
break;
|
||||
case 'asso':
|
||||
?><h2>Associations</h2><?php
|
||||
break;
|
||||
case 'bomp'
|
||||
?><h2>Marchés publics</h2><?php
|
||||
break;
|
||||
}
|
||||
?>
|
||||
<div class="paragraph">
|
||||
|
||||
<?php if (!empty($this->annonce['Deleted'])) {?>
|
||||
<div class="ui-widget">
|
||||
<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;">
|
||||
<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
|
||||
Cette parution a fait l'objet d'une annonce corrective, le <?=$this->annonce['Deleted']?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<p class="StyleInfoData">
|
||||
<?=$this->annonce['Desc'].' '.$this->annonce['Entree'].' '.$this->annonce['EntreeSD'];?>
|
||||
<?php
|
||||
if ($this->hasModeEdition){
|
||||
$liensEdit = array(
|
||||
'edit' => array(
|
||||
'class' => 'annonceSaisie',
|
||||
'title' => 'Edition annonce',
|
||||
'img' => '<img src="/themes/default/images/interfaces/editer.png"/>',
|
||||
),
|
||||
'delete' => array(
|
||||
'class' => 'annonceSaisie',
|
||||
'title' => 'Suppression annonce',
|
||||
'img' => '<img src="/themes/default/images/interfaces/supprimer.png"/>',
|
||||
),
|
||||
'copy' => array(
|
||||
'class' => 'annonceSaisie',
|
||||
'title' => 'Dupliquer sur autre Siren',
|
||||
'img' => '<img src="/themes/default/images/interfaces/save_copy.png"/>',
|
||||
),
|
||||
'even' => array(
|
||||
'class' => 'annonceSaisie',
|
||||
'title' => "Modifier le type d'événement",
|
||||
'img' => '<img src="/themes/default/images/interfaces/even.png"/>',
|
||||
),
|
||||
|
||||
);
|
||||
foreach ( $liensEdit as $lienId => $lienItem ){
|
||||
?>
|
||||
<a class="<?=$lienItem['class']?>" title="<?=$lienItem['title']?>" href="<?=$this->url(array(
|
||||
'controller' => 'saisie',
|
||||
'action' => 'annoncedialog',
|
||||
'siret' => $this->siret,
|
||||
'op' => $lienId,
|
||||
'code' => $this->annonce['Code'],
|
||||
'idAnn' => $this->idAnn,), 'default', true)?>"><?=$lienItem['img']?></a>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
|
||||
<p class="StyleInfoLib"><b><?=$this->annonce['Even']?></b></p>
|
||||
<p><code><?=$this->RemplaceSiren($this->annonce['Texte'])?></code></p>
|
||||
</div>
|
||||
|
||||
<div class="paragraph" style="text-align:center;">
|
||||
<?php if ( $this->lienBodacc ) { ?>
|
||||
<span id="bodacc" style="padding-bottom:10px;border-bottom:1px solid #cccccc;">
|
||||
<a href="<?=$this->lienBodacc?>">
|
||||
<img src="/themes/default/images/interfaces/pdf.png" alt="Bodacc au format PDF">
|
||||
Télécharger le bulletin officiel</a>
|
||||
</span>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="paragraph">
|
||||
<?php if (count($this->annonce['Entites'])>0) {?>
|
||||
<p>Entités concernées par l'annonce :</p>
|
||||
<table width="100%">
|
||||
<?php foreach ($this->annonce['Entites'] as $entite) {?>
|
||||
<tr>
|
||||
<td style="border:1px solid #cccccc;padding:5px;" width="180"><?=$entite->event->LibEven?></td>
|
||||
<td style="border:1px solid #cccccc;padding:5px;"><?=$entite->raisonSociale?></td>
|
||||
<td style="border:1px solid #cccccc;padding:5px;" width="120">
|
||||
<?php if (intval($entite->siret)>1000) {?>
|
||||
<a href="<?=$this->url(array('controller'=>'identite','action'=>'fiche','siret'=>$entite->siret), 'default', true)?>">
|
||||
<?=$this->SiretTexte($entite->siret)?></a>
|
||||
<?php }?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<div class="paragraph" style="text-align:center;">
|
||||
<?php if (intval($this->siret)!=0) {?>
|
||||
<?php
|
||||
$href = $this->url(array(
|
||||
'controller' => 'juridique',
|
||||
'action' => 'annonces',
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
'vue' => $this->vue,
|
||||
'page' => $this->PageCurrent,
|
||||
), 'default', true);
|
||||
?>
|
||||
<a href="<?=$href?>">Revenir à la liste des annonces</a>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
@ -0,0 +1 @@
|
||||
<?=json_encode($this->num)?>
|
@ -0,0 +1,3 @@
|
||||
<div id="center">
|
||||
<pre><?php print_r($this->infos); ?></pre>
|
||||
</div>
|
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
$class = '';
|
||||
if ($this->deleted!='') {
|
||||
$class = ' class="deleted"';
|
||||
}
|
||||
?>
|
||||
<tr<?=$class?>>
|
||||
<td width="140" class="StyleInfoLib">
|
||||
<span id="annoncesDate">Le <?=$this->date?></span>
|
||||
</td>
|
||||
<td>
|
||||
<span id="annoncesImg">
|
||||
<?php if (!empty($this->logo)) {?>
|
||||
<img src="/themes/default/images/annonces/<?=$this->logo?>" title="<?=$this->title?>" />
|
||||
<?php }?>
|
||||
</span>
|
||||
</td>
|
||||
<td width="450" colspan="2" class="StyleInfoData">
|
||||
<a class="tiptxt" href="<?=$this->partialLoop()->view->url(array(
|
||||
'controller' => 'juridique',
|
||||
'action' => 'annonces',
|
||||
'siret' => $this->partialLoop()->view->siret,
|
||||
'id' => $this->partialLoop()->view->id,
|
||||
'idAnn' => $this->idAnn,
|
||||
'vue' => $this->type,
|
||||
))?>">
|
||||
<?=$this->lib?>
|
||||
</a>
|
||||
<span style="display:none;"><?=$this->RemplaceSiren($this->texte)?></span>
|
||||
</td>
|
||||
</tr>
|
@ -0,0 +1,235 @@
|
||||
<?php if (empty($this->AutrePage)):?>
|
||||
<div id="center">
|
||||
<?php endif;?>
|
||||
|
||||
<?php if (empty($this->AutrePage)):?>
|
||||
<h1 class="titre">ANNONCES LÉGALES</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SirenTexte($this->siren)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?>
|
||||
<?php if($this->hasModeEdition) : ?>
|
||||
<a href="<?=$this->url(array(
|
||||
'controller' => 'saisie',
|
||||
'action' => 'fiche',
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
))?>">(Edition)</a>
|
||||
<?php endif ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ($this->surveillance) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" width="550" class="StyleInfoData">
|
||||
<?=$this->action('infos','surveillance', null, array(
|
||||
'source' => 'annonces',
|
||||
'siret' => $this->siret
|
||||
))?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
|
||||
<?php if ($this->AutreSource){ ?>
|
||||
<h2>EVÉNEMENTS LÉGAUX</h2>
|
||||
<div class="paragraph">
|
||||
Aucune annonces disponible pour cette entité.
|
||||
</div>
|
||||
<?php } else {?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<style>
|
||||
div.blockType {
|
||||
width:140px;
|
||||
height:25px;
|
||||
line-height:20px;
|
||||
padding:2px;
|
||||
margin:5px;
|
||||
text-align:center;
|
||||
float:left;
|
||||
display:block;
|
||||
border-radius: 10px;
|
||||
background-color: #606060;
|
||||
}
|
||||
|
||||
div.blockTypeActive {
|
||||
width:140px;
|
||||
height:25px;
|
||||
line-height:20px;
|
||||
padding:2px;
|
||||
margin:5px;
|
||||
text-align:center;
|
||||
float:left;
|
||||
display:block;
|
||||
border-radius: 10px;
|
||||
background-color:#2f343a;
|
||||
border-color:#2f343a;
|
||||
}
|
||||
|
||||
div.blockType:hover {
|
||||
background-color:#2f343a;
|
||||
border-color:#2f343a;
|
||||
}
|
||||
|
||||
div.blockTypeActive span.nb {
|
||||
background-color: #00008C;
|
||||
font-weight: bold;
|
||||
padding: 2px 4px;
|
||||
font-size: 10px;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
div.blockType span.nb {
|
||||
background-color: #A0A0A0;
|
||||
font-weight: bold;
|
||||
padding: 2px 4px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
a.lienType {
|
||||
width:140px;
|
||||
vertical-align:middle;
|
||||
display:inline-block;
|
||||
line-height:1.2;
|
||||
color: #FFFFFF;
|
||||
font-weight:bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="paragraph">
|
||||
<div class="clearfix" style="margin:0 auto 5px auto;">
|
||||
|
||||
<div id="TypeBodacc" class="blockType<?php if ($this->vue=='bodacc') echo 'Active';?>">
|
||||
<a class="lienType" title="Annonces légales" href="<?=$this->url(array('controller'=>'juridique', 'action'=>'annonces', 'vue'=>'bodacc', 'siret'=>$this->siret, 'id'=>$this->id))?>">Annonces Légales</a>
|
||||
</div>
|
||||
|
||||
<div id="TypeBalo" class="blockType<?php if ($this->vue=='balo') echo 'Active';?>">
|
||||
<a class="lienType" title="Bulletin des Annonces Légales Obligatoires" href="<?=$this->url(array('controller'=>'juridique', 'action'=>'annonces', 'vue'=>'balo', 'siret'=>$this->siret, 'id'=>$this->id))?>">B.A.L.O.</a>
|
||||
</div>
|
||||
|
||||
<div id="TypeBoamp" class="blockType<?php if ($this->vue=='bomp') echo 'Active';?>">
|
||||
<a class="lienType" title="Bulletin officiel des annonces des marchés publics" href="<?=$this->url(array('controller'=>'juridique', 'action'=>'annonces', 'vue'=>'bomp', 'siret'=>$this->siret, 'id'=>$this->id))?>">B.O.A.M.P.</a>
|
||||
</div>
|
||||
|
||||
<div id="TypeAsso" class="blockType<?php if ($this->vue=='asso') echo 'Active';?>">
|
||||
<a class="lienType" title="Journal Officiel des Associations" href="<?=$this->url(array('controller'=>'juridique', 'action'=>'annonces', 'vue'=>'asso', 'siret'=>$this->siret, 'id'=>$this->id))?>">J.O Associations</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($this->vue=='bodacc'){ ?>
|
||||
<h2>EVÉNEMENTS LÉGAUX</h2>
|
||||
<div class="paragraph">
|
||||
<?php if(count($this->annoncesBodacc)==0){ ?>
|
||||
Néant
|
||||
<?php } else {?>
|
||||
<table class="data">
|
||||
<?=$this->partialLoop('juridique/annonces-resume.phtml', $this->annoncesBodacc)?>
|
||||
</table>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($this->vue=='balo'){ ?>
|
||||
<h2>BALO</h2>
|
||||
<div class="paragraph">
|
||||
<?php if(count($this->annoncesBalo)==0){ ?>
|
||||
Néant
|
||||
<?php } else {?>
|
||||
<table class="data">
|
||||
<?=$this->partialLoop('juridique/annonces-resume.phtml', $this->annoncesBalo)?>
|
||||
</table>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($this->vue=='bomp'){ ?>
|
||||
<div class="paragraph" style="margin:0 0 0 40px;">
|
||||
<form name="filtreBoamp" method="post" action="<?=$this->url(array('controller'=>'juridique',
|
||||
'action'=>'annonces','vue'=>'bomp','siret'=>$this->siret,'id'=>$this->id),null,true)?>">
|
||||
<label>Type d'annonce</label>
|
||||
<select name="filtre">
|
||||
<option value="">-</option>
|
||||
<option value="A"<?=($this->filtre=='A')?' selected':'';?>>Avis d'attribution</option>
|
||||
<option value="M"<?=($this->filtre=='M')?' selected':'';?>>Avis de marchés</option>
|
||||
</select>
|
||||
</form>
|
||||
<script>
|
||||
$('select[name=filtre]').on('change',function(){
|
||||
$(this).parent('form').submit();
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<h2>Marchés publics</h2>
|
||||
<div class="paragraph">
|
||||
<?php if (count($this->annoncesBomp)==0) { ?>
|
||||
Néant
|
||||
<?php } else {?>
|
||||
<table class="data">
|
||||
<?=$this->partialLoop('juridique/annonces-resume.phtml', $this->annoncesBomp)?>
|
||||
</table>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($this->vue=='asso') { ?>
|
||||
<h2>Associations</h2>
|
||||
<div class="paragraph">
|
||||
<?php if (count($this->annoncesAsso)==0){ ?>
|
||||
Néant
|
||||
<?php } else {?>
|
||||
<table class="data">
|
||||
<?=$this->partialLoop('juridique/annonces-resume.phtml', $this->annoncesAsso)?>
|
||||
</table>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
|
||||
<?php if ($this->PageTotal>1) {?>
|
||||
<div class="paragraph">
|
||||
<div class="pagination clearfix">
|
||||
<a class="first" href="<?=$this->url(array('page'=>1))?>">«</a>
|
||||
<a class="previous" href="<?=$this->url(array('page'=>$this->PagePrev))?>">‹</a>
|
||||
<span>Page <?=$this->PageCurrent?>/<?=$this->PageTotal?></span>
|
||||
<a class="next" href="<?=$this->url(array('page'=>$this->PageNext))?>">›</a>
|
||||
<a class="last" href="<?=$this->url(array('page'=>$this->PageTotal))?>">»</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<script>
|
||||
$.get('/juridique/annoncenum/siren/<?=$this->siren?>', function(data){
|
||||
for (var type in data) {
|
||||
$('div#'+type).append('<span class="nb">'+data[type]+'</span>');
|
||||
}
|
||||
}, 'json');
|
||||
</script>
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
</div>
|
||||
<?php }?>
|
@ -0,0 +1,47 @@
|
||||
<h2>Administrateur(s) / Mandataire(s) judiciaires</h2>
|
||||
<div class="paragraph">
|
||||
<?php if ( count($this->competences)>0 ) {?>
|
||||
<ul class="StyleInfoData listeCompetences">
|
||||
<?php foreach ($this->competences as $comp) {?>
|
||||
<li><b><?=$comp->Nom?></b><br/>
|
||||
<?php
|
||||
if ($comp->Type=='A') echo '<i>Administrateur judiciaire</i><br/>';
|
||||
elseif ($comp->Type=='M') echo '<i>Mandataire judiciaire</i><br/>';
|
||||
if (intval($comp->Siret)!=0) { ?>
|
||||
<b>RCS <a href="<?=$this->partial()->view->url(array(
|
||||
'controller' => 'identite',
|
||||
'action' => 'fiche',
|
||||
'siret' => $comp->Siret,
|
||||
))?>">
|
||||
<?=$this->partial()->view->SiretTexte($comp->Siret)?></a></b>
|
||||
<br/>
|
||||
<?php } ?>
|
||||
<?php if (trim($comp->IdSup)*1>0) { ?>
|
||||
(SCP : <a href="<?=$this->partial()->view->url(array(
|
||||
'controller' => 'identite',
|
||||
'action' => 'fiche',
|
||||
'siret' => $comp->IdSup
|
||||
))?>"><?=$this->partial()->view->SirenTexte($comp->IdSup)?></a>)
|
||||
<br/>
|
||||
<?php }?>
|
||||
<?=$comp->Adr?><br/>
|
||||
<?php if ($comp->AdrComp<>'') echo $comp->AdrComp.'<br/>';?>
|
||||
<b><?=$comp->CP.' '.$comp->Ville?></b><br/>
|
||||
<?php if ($comp->Tel<>'') echo 'Tél : '.wordwrap($comp->Tel,2,".",true).'<br/>';?>
|
||||
<?php if ($comp->Fax<>'') echo 'Fax : '.wordwrap($comp->Fax,2,".",true).'<br/>';?>
|
||||
<?php if (trim($comp->Web)<>'') {
|
||||
if (substr($comp->Web,0,7)<>'http://')
|
||||
$siteWeb='http://'.$comp->Web;
|
||||
else
|
||||
$siteWeb=$comp->Web;
|
||||
echo 'Site internet : <a href="'.$siteWeb.'" target="_blank">'.$siteWeb.'</a><br/>';
|
||||
}?>
|
||||
<?php if ($comp->Mail<>'') echo 'Courriel : <a href="mailto:'.$comp->Mail.'">'.$comp->Mail.'</a><br/>';?>
|
||||
<?php if ($comp->Remarque<>'') echo 'Remarque : '.$comp->Remarque.'<br/>';?>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<?php } else {?>
|
||||
Aucune information.
|
||||
<?php }?>
|
||||
</div>
|
@ -0,0 +1,3 @@
|
||||
<h2>Avocat(s)</h2>
|
||||
<div class="paragraph">
|
||||
</div>
|
@ -0,0 +1,2 @@
|
||||
<h2>Cadastre et Hypothèques</h2>
|
||||
<div class="paragraph"></div>
|
@ -0,0 +1,37 @@
|
||||
<h2>Centre de formalités des entreprises</h2>
|
||||
<div class="paragraph">
|
||||
<?php if ( count($this->competences)>0 ) {?>
|
||||
<ul class="StyleInfoData listeCompetences">
|
||||
<?php foreach ($this->competences as $comp) {?>
|
||||
<li>
|
||||
<b><?=$comp->Nom?></b><br/>
|
||||
<?php if (trim($comp->Siret)<>'') { ?>
|
||||
<b>RCS <a href="<?=$this->partial()->view->url(array(
|
||||
'controller' => 'identite',
|
||||
'action' => 'fiche',
|
||||
'siret' => $comp->Siret,
|
||||
))?>">
|
||||
<?=$this->partial()->view->SiretTexte($comp->Siret)?></a></b>
|
||||
<br/>
|
||||
<?php } ?>
|
||||
<?=$comp->Adr?><br/>
|
||||
<?php if ($comp->AdrComp<>'') echo $comp->AdrComp.'<br/>';?>
|
||||
<b><?=$comp->CP.' '.$comp->Ville?></b><br/>
|
||||
<?php if ($comp->Tel<>'') echo 'Tél : '.wordwrap($comp->Tel,2,".",true).'<br/>';?>
|
||||
<?php if ($comp->Fax<>'') echo 'Fax : '.wordwrap($comp->Fax,2,".",true).'<br/>';?>
|
||||
<?php if (trim($comp->Web)<>'') {
|
||||
if (substr($comp->Web,0,7)<>'http://')
|
||||
$siteWeb='http://'.$comp->Web;
|
||||
else
|
||||
$siteWeb=$comp->Web;
|
||||
echo 'Site internet : <a href="'.$siteWeb.'" target="_blank">'.$siteWeb.'</a><br/>';
|
||||
}?>
|
||||
<?php if ($comp->Mail<>'') echo 'Courriel : <a href="mailto:'.$comp->Mail.'">'.$comp->Mail.'</a><br/>';?>
|
||||
<?php if ($comp->Remarque<>'') echo $comp->Remarque.'<br/>';?>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<?php } else {?>
|
||||
Aucune information.
|
||||
<?php }?>
|
||||
</div>
|
@ -0,0 +1,46 @@
|
||||
<h2>Huissiers</h2>
|
||||
<div class="paragraph">
|
||||
<?php if ( count($this->competences)>0 ) {?>
|
||||
<ul class="StyleInfoData listeCompetences">
|
||||
<?php foreach ($this->competences as $comp) {?>
|
||||
<li><b><?=$comp->Nom?></b><br/>
|
||||
<i>Huissier de justice</i><br/>
|
||||
<?php
|
||||
if (trim($comp->Siret)<>'' && trim($comp->Siret)*1<>0) {
|
||||
?>
|
||||
<b>RCS <a href="<?=$this->partial()->view->url(array(
|
||||
'controller' => 'identite',
|
||||
'action' => 'fiche',
|
||||
'siret' => $comp->Siret,
|
||||
))?>">
|
||||
<?=$this->partial()->view->SiretTexte($comp->Siret)?></a></b>
|
||||
<?php if (trim($comp->IdSup)*1>0) { ?>
|
||||
(SCP : <a href="<?=$this->partial()->view->url(array(
|
||||
'controller' => 'identite',
|
||||
'action' => 'fiche',
|
||||
'siret' => $comp->IdSup,
|
||||
))?>"><?=$this->partial()->view->SirenTexte($comp->IdSup)?></a>)
|
||||
<?php }?>
|
||||
<br/>
|
||||
<?php }?>
|
||||
<?=$comp->Adr?><br/>
|
||||
<?php if ($comp->AdrComp<>'') echo $comp->AdrComp.'<br/>';?>
|
||||
<b><?=$comp->CP.' '.$comp->Ville?></b><br/>
|
||||
<?php if ($comp->Tel<>'') echo 'Tél : '.wordwrap($comp->Tel,2,".",true).'<br/>';?>
|
||||
<?php if ($comp->Fax<>'') echo 'Fax : '.wordwrap($comp->Fax,2,".",true).'<br/>';?>
|
||||
<?php if (trim($comp->Web)<>'') {
|
||||
if (substr($comp->Web,0,7)<>'http://')
|
||||
$siteWeb = 'http://'.$comp->Web;
|
||||
else
|
||||
$siteWeb = $comp->Web;
|
||||
echo 'Site internet : <a href="'.$siteWeb.'" target="_blank">'.$siteWeb.'</a><br/>';
|
||||
}?>
|
||||
<?php if ($comp->Mail<>'') echo 'Courriel : <a href="mailto:'.$comp->Mail.'">'.$comp->Mail.'</a><br/>';?>
|
||||
<?php if ($comp->Remarque<>'') echo 'Remarque : '.$comp->Remarque.'<br/>';?>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<?php } else {?>
|
||||
Aucune information.
|
||||
<?php }?>
|
||||
</div>
|
@ -0,0 +1,37 @@
|
||||
<h2>Jounaux d'Annonces Légales</h2>
|
||||
<div class="paragraph">
|
||||
<?php if ( count($this->competences)>0 ) {?>
|
||||
<ul class="StyleInfoData listeCompetences">
|
||||
<?php foreach ($this->competences as $comp) {?>
|
||||
<li>
|
||||
<b><?=$comp->Nom?></b><br/>
|
||||
<?php if (trim($comp->Siret)<>'') { ?>
|
||||
<b>RCS <a href="<?=$this->partial()->view->url(array(
|
||||
'controller' => 'identite',
|
||||
'action' => 'fiche',
|
||||
'siret' => $comp->Siret,
|
||||
))?>">
|
||||
<?=$this->partial()->view->SiretTexte($comp->Siret)?></a></b>
|
||||
<br/>
|
||||
<?php } ?>
|
||||
<?=$comp->Adr?><br/>
|
||||
<?php if ($comp->AdrComp<>'') echo $comp->AdrComp.'<br/>';?>
|
||||
<b><?=$comp->CP.' '.$comp->Ville?></b><br/>
|
||||
<?php if ($comp->Tel<>'') echo 'Tél : '.wordwrap($comp->Tel,2,".",true).'<br/>';?>
|
||||
<?php if ($comp->Fax<>'') echo 'Fax : '.wordwrap($comp->Fax,2,".",true).'<br/>';?>
|
||||
<?php if (trim($comp->Web)<>'') {
|
||||
if (substr($comp->Web,0,7)<>'http://')
|
||||
$siteWeb='http://'.$comp->Web;
|
||||
else
|
||||
$siteWeb=$comp->Web;
|
||||
echo 'Site internet : <a href="'.$siteWeb.'" target="_blank">'.$siteWeb.'</a><br/>';
|
||||
}?>
|
||||
<?php if ($comp->Mail<>'') echo 'Courriel : <a href="mailto:'.$comp->Mail.'">'.$comp->Mail.'</a><br/>';?>
|
||||
<?php if ($comp->Remarque<>'') echo $comp->Remarque.'<br/>';?>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<?php } else {?>
|
||||
Aucune information.
|
||||
<?php }?>
|
||||
</div>
|
@ -0,0 +1,37 @@
|
||||
<h2>Préfectures et Sous-Préfectures</h2>
|
||||
<div class="paragraph">
|
||||
<?php if ( count($this->competences)>0 ) {?>
|
||||
<ul class="StyleInfoData listeCompetences">
|
||||
<?php foreach ($this->competences as $comp) {?>
|
||||
<li>
|
||||
<b><?=$comp->Nom?></b><br/>
|
||||
<?php if (trim($comp->Siret)<>'') { ?>
|
||||
<b>RCS <a href="<?=$this->partial()->view->url(array(
|
||||
'controller' => 'identite',
|
||||
'action' => 'fiche',
|
||||
'siret' => $comp->Siret,
|
||||
))?>">
|
||||
<?=$this->partial()->view->SiretTexte($comp->Siret)?></a></b>
|
||||
<br/>
|
||||
<?php } ?>
|
||||
<?=$comp->Adr?><br/>
|
||||
<?php if ($comp->AdrComp<>'') echo $comp->AdrComp.'<br/>';?>
|
||||
<b><?=$comp->CP.' '.$comp->Ville?></b><br/>
|
||||
<?php if ($comp->Tel<>'') echo 'Tél : '.wordwrap($comp->Tel,2,".",true).'<br/>';?>
|
||||
<?php if ($comp->Fax<>'') echo 'Fax : '.wordwrap($comp->Fax,2,".",true).'<br/>';?>
|
||||
<?php if (trim($comp->Web)<>'') {
|
||||
if (substr($comp->Web,0,7)<>'http://')
|
||||
$siteWeb='http://'.$comp->Web;
|
||||
else
|
||||
$siteWeb=$comp->Web;
|
||||
echo 'Site internet : <a href="'.$siteWeb.'" target="_blank">'.$siteWeb.'</a><br/>';
|
||||
}?>
|
||||
<?php if ($comp->Mail<>'') echo 'Courriel : <a href="mailto:'.$comp->Mail.'">'.$comp->Mail.'</a><br/>';?>
|
||||
<?php if ($comp->Remarque<>'') echo $comp->Remarque.'<br/>';?>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<?php } else {?>
|
||||
Aucune information.
|
||||
<?php }?>
|
||||
</div>
|
@ -0,0 +1,38 @@
|
||||
<h2>Tribunaux</h2>
|
||||
<div class="paragraph">
|
||||
<?php if ( count($this->competences)>0 ) {?>
|
||||
<ul class="StyleInfoData listeCompetences">
|
||||
<?php foreach ($this->competences as $comp) { ?>
|
||||
<li>
|
||||
<b><?=$comp->Nom?></b><br/>
|
||||
<?php if (trim($comp->Siret)<>'') { ?>
|
||||
<b>RCS <a href="<?=$this->partial()->view->url(array(
|
||||
'controller' => 'identite',
|
||||
'action' => 'fiche',
|
||||
'siret' => $comp->Siret,
|
||||
))?>">
|
||||
<?=$this->partial()->view->SiretTexte($comp->Siret)?></a></b>
|
||||
<br/>
|
||||
<?php } ?>
|
||||
<?=$comp->Adr?><br/>
|
||||
<?php if ($comp->AdrComp<>'') echo $comp->AdrComp.'<br/>';?>
|
||||
<b><?=$comp->CP.' '.$comp->Ville?></b><br/>
|
||||
<?php if ($comp->Tel<>'') echo 'Tél : '.wordwrap($comp->Tel,2,".",true).'<br/>';?>
|
||||
<?php if ($comp->Fax<>'') echo 'Fax : '.wordwrap($comp->Fax,2,".",true).'<br/>';?>
|
||||
<?php if (trim($comp->Web)<>'') {
|
||||
if (substr($comp->Web,0,7)<>'http://')
|
||||
$siteWeb='http://'.$comp->Web;
|
||||
else
|
||||
$siteWeb=$comp->Web;
|
||||
echo 'Site internet : <a href="'.$siteWeb.'" target="_blank">'.$siteWeb.'</a><br/>';
|
||||
}?>
|
||||
<?php if ($comp->Mail<>'') echo 'Courriel : <a href="mailto:'.$comp->Mail.'">'.$comp->Mail.'</a><br/>';?>
|
||||
<?php if ($comp->Remarque<>'') echo $comp->Remarque.'<br/>';?>
|
||||
<?php if($comp->IdentifiantGreffe>0) echo 'Identifiant Greffe : '.$comp->IdentifiantGreffe;?>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<?php } else {?>
|
||||
Aucune information.
|
||||
<?php }?>
|
||||
</div>
|
@ -0,0 +1,91 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">COMPÉTENCES TERRITORIALES</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">
|
||||
Numéro identifiant Siren
|
||||
</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?=$this->SirenTexte($this->siren)?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<tr><td colspan="4" class="StyleInfoData"> </td></tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="3" class="StyleInfoData">
|
||||
<a href="<?=$this->url(array(
|
||||
'action' => 'competences',
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
'type' => 'tri'
|
||||
))?>">Tribunaux</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="3" class="StyleInfoData">
|
||||
<a href="<?=$this->url(array(
|
||||
'action' => 'competences',
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
'type' => 'adm'
|
||||
))?>">Administrateurs & Mandataires judiciaires</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="3" class="StyleInfoData">
|
||||
<a href="<?=$this->url(array(
|
||||
'action' => 'competences',
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
'type' => 'hui'
|
||||
))?>">Huissiers de justice</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="3" class="StyleInfoData">
|
||||
<a href="<?=$this->url(array(
|
||||
'action' => 'competences',
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
'type' => 'pre'
|
||||
))?>">Préfectures & Sous-préfectures</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="3" class="StyleInfoData">
|
||||
<a href="<?=$this->url(array(
|
||||
'action' => 'competences',
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
'type' => 'cfe'
|
||||
))?>">Centres de formalités des Entreprises (CCI, Greffes, Métiers, Artisanat, Agriculture, URSSAF, Impôts, etc...)</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="3" class="StyleInfoData">
|
||||
<a href="<?=$this->url(array(
|
||||
'action' => 'competences',
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
'type' => 'jal'
|
||||
))?>">Journaux d'Annonces Légales</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<?php if ($this->type) {?>
|
||||
<?=$this->partial('juridique/competences-'.$this->type.'.phtml', array('competences' => $this->competences))?>
|
||||
<?php }?>
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
@ -0,0 +1,73 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">CONVENTIONS COLLECTIVES APPLICABLES</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">
|
||||
Numéro identifiant Siren
|
||||
</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?=$this->SirenTexte($this->siren)?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Conventions collectives</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<?php
|
||||
if (count($this->conventions)>0){
|
||||
foreach ($this->conventions as $conv) {
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="20"> </td>
|
||||
<td width="90" class="StyleInfoData">
|
||||
<u>
|
||||
<a href="http://www.legifrance.gouv.fr/rechConvColl.do?champActivite=&champIDCC=&champNumeroBrochure=<?=substr($conv->idCC,0,4)?>&bouton=Rechercher" target="_blank">Brochure <?=substr($conv->idCC,0,4)?>
|
||||
</a>
|
||||
</u>
|
||||
</td>
|
||||
<td width="300" class="StyleInfoData"><b><?=$conv->nomCC?></b>
|
||||
</td>
|
||||
<td class="StyleInfoData"><font size="1"><i>Journal Officiel
|
||||
<?php
|
||||
if (trim($conv->dateCC)<>'') echo ', '.$conv->dateCC;
|
||||
if (trim($conv->nbPageCC)*1>0) echo ', '.$conv->nbPageCC.' pages.';
|
||||
if (trim($conv->isbnCC)<>'') echo '<br/>ISBN '.$conv->isbnCC;
|
||||
?>
|
||||
</i></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr width="100%"/>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
} else {
|
||||
?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="100" class="StyleInfoLib"> </td>
|
||||
<td colspan="2" class="StyleInfoData">Néant</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4"> </td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
@ -0,0 +1,98 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">Contentieux Judiciaires</h1>
|
||||
|
||||
<?php if ($this->msg) {?>
|
||||
<div class="paragraph">
|
||||
<div style="padding: 0 .7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: .3em;" class="ui-icon ui-icon-alert"></span>
|
||||
<strong>Alert:</strong> <?=$this->msg?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php } else {?>
|
||||
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SirenTexte($this->siren)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Affaire(s) en tant que</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<form action="<?=$this->url(array('module'=>'default','controller'=>'juridique',
|
||||
'action'=>'ctx'))?>" method="post">
|
||||
<select name="type">
|
||||
<?php foreach($this->TypeList as $k => $v) {?>
|
||||
<option value="<?=$k?>" <?php if ($k==$this->Type){?> selected<?php }?>><?=$v?></option>
|
||||
<?php }?>
|
||||
</select>
|
||||
<input type="submit" name="submit" value="OK">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Liste des affaires en tant que <?=$this->TypeLabel?></h2>
|
||||
<div class="paragraph">
|
||||
<?php if (count($this->List) > 0) {?>
|
||||
<table class="data">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>Catégorie</th>
|
||||
<th>Libellé</th>
|
||||
<th>Tiers demandeur</th>
|
||||
<th>Etat</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($this->List as $k => $item) {?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
$dateString = '-';
|
||||
try {
|
||||
$date = new Zend_Date($item->Date, 'y-MM-dd');
|
||||
$dateString = $date->toString('dd/MM/y');
|
||||
} catch(Zend_Date_Exception $e){}
|
||||
?><a href="<?=$this->url(array('action'=>'ctxdetail', 'affaireId'=>$item->Id))?>"><?=$dateString?></a></td>
|
||||
<td><?=$item->CategoryLabel?></td>
|
||||
<td><?=$item->Label?></td>
|
||||
<td>
|
||||
<?php foreach($item->TierName->item as $t) {?>
|
||||
<?=$t?>
|
||||
<?php }?>
|
||||
</td>
|
||||
<td><?=$item->StatusLabel?></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php if ($this->PageTotal>1) {?>
|
||||
<div class="paragraph">
|
||||
<div class="pagination clearfix">
|
||||
<a class="first" href="<?=$this->url(array('page'=>1))?>">«</a>
|
||||
<a class="previous" href="<?=$this->url(array('page'=>$this->PagePrev))?>">‹</a>
|
||||
<span>Page <?=$this->PageCurrent?>/<?=$this->PageTotal?></span>
|
||||
<a class="next" href="<?=$this->url(array('page'=>$this->PageNext))?>">›</a>
|
||||
<a class="last" href="<?=$this->url(array('page'=>$this->PageTotal))?>">»</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
@ -0,0 +1,112 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">Contentieux Judiciaires</h1>
|
||||
|
||||
<?php if ($this->msg) {?>
|
||||
<div class="paragraph">
|
||||
<div style="padding: 0 .7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: .3em;" class="ui-icon ui-icon-alert"></span>
|
||||
<strong>Alert:</strong> <?=$this->msg?></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php } else {?>
|
||||
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SirenTexte($this->siren)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Détail de l'affaire</h2>
|
||||
<div class="paragraph">
|
||||
<table class="data">
|
||||
<tbody>
|
||||
<tr><td>Tribunal</td><td><?=$this->Affaire->GreffeLabel?></td></tr>
|
||||
<tr>
|
||||
<td>Date de l'affaire</td>
|
||||
<td>
|
||||
<?php
|
||||
$dateString = '-';
|
||||
try {
|
||||
$date = new Zend_Date($this->Affaire->Date, 'y-MM-dd');
|
||||
$dateString = $date->toString('dd/MM/y');
|
||||
} catch(Zend_Date_Exception $e){}
|
||||
?>
|
||||
<?=$dateString?></td>
|
||||
</tr>
|
||||
<tr><td>Etat de l'affaire</td><td><?=$this->Affaire->StatusLabel?></td></tr>
|
||||
<tr><td>Type de contentieux</td><td><?=$this->Affaire->CategoryLabel?></td></tr>
|
||||
<tr><td>Nature de l'affaire</td><td><?=$this->Affaire->Label?></td></tr>
|
||||
<tr>
|
||||
<td>Demandeurs</td>
|
||||
<td>
|
||||
<?php if (count($this->Affaire->Tiers->item) > 0) {?>
|
||||
<?php foreach ($this->Affaire->Tiers->item as $t) {?>
|
||||
<?php if ($t->TypeCode == 'DE') {?>
|
||||
<div>
|
||||
<strong><?=$t->companyNom?></strong><?php if (!empty($t->companyId)) {?> (<?=$this->SirenTexte($t->companyId)?>) <?php }?>
|
||||
<?php if (!empty($t->Acteur)) {?>
|
||||
<?php foreach($t->Acteur->item as $acteur) {?>
|
||||
<br/> - <?=$acteur->Nom?>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Défendeurs</td>
|
||||
<td>
|
||||
<?php if (count($this->Affaire->Tiers->item) > 0) {?>
|
||||
<?php foreach ($this->Affaire->Tiers->item as $t) {?>
|
||||
<?php if ($t->TypeCode == 'DF') {?>
|
||||
<div>
|
||||
<strong><?=$t->companyNom?></strong><?php if (!empty($t->companyId)) {?> (<?=$this->SirenTexte($t->companyId)?>) <?php }?>
|
||||
<?php if (!empty($t->Acteur)) {?>
|
||||
<?php foreach($t->Acteur->item as $acteur) {?>
|
||||
<br/> - <?=$acteur->Nom?>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="2">Historique</td></tr>
|
||||
<?php if (property_exists($this->Affaire->Histo, 'item') && count($this->Affaire->Histo->item) > 0) {?>
|
||||
<?php foreach ($this->Affaire->Histo->item as $h){?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
$dateString = '-';
|
||||
try {
|
||||
$date = new Zend_Date($h->Date, 'y-MM-dd');
|
||||
$dateString = $date->toString('dd/MM/y');
|
||||
} catch(Zend_Date_Exception $e){}
|
||||
?>
|
||||
<?=$dateString?>
|
||||
</td>
|
||||
<td><?=$h->Label?></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php } else {?>
|
||||
<tr><td colspan="2">- Aucune information -</td></tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
|
||||
</div>
|
@ -0,0 +1,80 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">INFORMATIONS RÉGLEMENTÉES</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">
|
||||
Numéro identifiant Siren
|
||||
</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?=$this->SirenTexte($this->siren)?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Informations réglementées <span style="font-weight:normal; font-size:8pt">(sources diffuseurs: BusinessWire / Hugin / actunews / DI Release)</span></h2>
|
||||
<div class="paragraph">
|
||||
<?php if (count($this->annonces)>0) {?>
|
||||
|
||||
<?php if ($this->idAnn) {?>
|
||||
<?php foreach($this->annonces as $item){ if ($item['id']==$this->idAnn) break; } ?>
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="3" class="StyleInfoData">
|
||||
Information <?=$item['source']?> du <?=$item['DateParution']?>.
|
||||
Entrée en base S&D : <?=$item['dateInsertionSD']?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="3" class="StyleInfoLib"><b><?=$item['titre']?></b></td>
|
||||
</tr>
|
||||
<tr><td colspan="4"> </td></tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="3"><?=$this->RemplaceSiren($item['communique'])?></td>
|
||||
</tr>
|
||||
<tr><td colspan="4"> </td></tr>
|
||||
<tr>
|
||||
<td colspan="4" align="center" class="StyleInfoData">
|
||||
<a href="Javascript:history.back()">Revenir à la liste des annonces</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php } else {?>
|
||||
<table class="data">
|
||||
<?php foreach($this->annonces as $item){?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="100" class="StyleInfoLib">Le <?=$item['DateParution']?></td>
|
||||
<td width="450" colspan="2" class="StyleInfoData">
|
||||
<a href="<?=$this->url(array('controller'=>'juridique', 'action'=>'infosreg', 'siret'=>$this->siret, 'idann'=>$item['id']),'default',true)?>">
|
||||
<?=$item['titre']?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
<?php }?>
|
||||
|
||||
<?php } else {?>
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="100" class="StyleInfoLib"> </td>
|
||||
<td width="450" colspan="2" class="StyleInfoData">Néant</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
@ -0,0 +1,96 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">PROPRIÉTÉ INTELLECTUELLE</h1>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">
|
||||
Numéro identifiant Siren
|
||||
</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?=$this->SirenTexte($this->siren)?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php if ($this->idObject!=0) { ?>
|
||||
|
||||
<?php $item = $this->marques[0]; ?>
|
||||
<h2>Marque déposée - détail</h2>
|
||||
<div class="paragraph">
|
||||
<?php //img ?>
|
||||
<p><strong>Type de Marque</strong> : <?=$item->Perimetre?></p>
|
||||
<p><strong>Marque</strong> : <?=$item->Marques?></p>
|
||||
<p><strong>Classification de Nice</strong> : <?=$item->Classes?></p>
|
||||
<p><strong>Produits et Services</strong> :
|
||||
<?php if (count($item->ProduitsServices->item)>0) {?>
|
||||
<?php foreach ($item->ProduitsServices->item as $txt) {?>
|
||||
<br/><?=$txt?><br/>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</p>
|
||||
<p><strong>Déposant</strong> : <?=$item->Deposant?></p>
|
||||
<p><strong>Mandataire</strong> : <?=$item->Mandataire?></p>
|
||||
<p><strong>Numéro</strong> : <?=$item->Depot?></p>
|
||||
<p><strong>Statut</strong> : <?=$item->Statut?></p>
|
||||
<p><strong>Date de dépôt / Enregistrement</strong> : <?=$item->Date?></p>
|
||||
<p><strong>Lieu de dépôt</strong> : <?=$item->Lieu?></p>
|
||||
<p><strong>Historique</strong> :
|
||||
<?php if (count($item->Historique->item)>0) {?>
|
||||
<?php foreach ($item->Historique->item as $txt) {?>
|
||||
<br/><?=$txt?>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<h2>Marque(s) déposée(s)</h2>
|
||||
<div class="paragraph">
|
||||
<table class="data">
|
||||
<?php if (count($this->marques)==0) { ?>
|
||||
<tr>
|
||||
<td width="550" colspan="3" class="StyleInfoLib">
|
||||
Aucune marque n'a été déposée par cette entreprise depuis 1982.
|
||||
</td>
|
||||
</tr>
|
||||
<?php } else {?>
|
||||
<?php foreach ($this->marques as $marque) { ?>
|
||||
<tr>
|
||||
<td width="200" class="StyleInfoData">
|
||||
<?php $date = new Zend_Date($marque->Date, 'yyyy-MM-dd'); ?>
|
||||
Dépôt n°<?=$marque->Depot?> du <?=$date->toString('dd/MM/yyyy')?>
|
||||
</td>
|
||||
<td width="50">
|
||||
<a id="<?=$marque->Depot?>" class="getmarque" href="<?=$this->url(array(
|
||||
'controller' => 'juridique',
|
||||
'action' => 'getmarque',
|
||||
'siret' => $this->siret,
|
||||
'numdepot' => $marque->Depot
|
||||
), 'default', true)?>" title="Voir le détail de l'inscription au BOPI">
|
||||
<img src="/themes/default/images/interfaces/pdf.png" alt="PDF">
|
||||
</a>
|
||||
<div id="document<?=$marque->Depot?>"></div>
|
||||
</td>
|
||||
<td width="400" class="StyleInfoLib">
|
||||
<a href="<?=$this->url(array('controller' => 'juridique', 'action' => 'marques',
|
||||
'siret' => $this->siret, 'idObject' => $marque->Depot ), 'default', true)?>">
|
||||
<?=$marque->Marques?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user