Big update from branch 2.4, new dev must be here
This commit is contained in:
parent
86c4c07893
commit
df07357416
@ -35,6 +35,8 @@ class AideController extends Zend_Controller_Action
|
||||
*/
|
||||
public function newlisteAction()
|
||||
{
|
||||
$this->view->headTitle()->prepend('Nouveautés');
|
||||
|
||||
$request = $this->getRequest();
|
||||
|
||||
//Selection
|
||||
@ -66,7 +68,7 @@ class AideController extends Zend_Controller_Action
|
||||
$identity->acceptationCGU = date('Y-m-d H:i:s');
|
||||
$auth->getStorage()->write($identity);
|
||||
//Redirect
|
||||
$this->_redirect('/');
|
||||
$this->redirect('/');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,11 +1,11 @@
|
||||
<?php
|
||||
class BdfController extends Zend_Controller_Action
|
||||
{
|
||||
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
|
||||
|
||||
//Type de module
|
||||
$module = $request->getParam('module', '');
|
||||
$siret = $request->getParam('siret', '');
|
||||
@ -16,18 +16,18 @@ class BdfController extends Zend_Controller_Action
|
||||
$rechet = $request->getParam('rechet', '');
|
||||
$ape = $request->getParam('ape', '');
|
||||
$service = $request->getParam('service', '');
|
||||
|
||||
|
||||
if ($siret != '' && $req != '' && substr($siret, 0, 9) != $req) {
|
||||
$siret = '';
|
||||
} else if (substr($siret, 0, 9) == $req || empty($req)) {
|
||||
$req = substr($siret, 0, 9);
|
||||
}
|
||||
|
||||
|
||||
if (is_array($module)){
|
||||
$session = new Zend_Session_Namespace('BDF');
|
||||
$session->module = $module;
|
||||
}
|
||||
|
||||
|
||||
//Titre
|
||||
$title = 'Banque De France - '.strtoupper($service);
|
||||
if ($siret == '') {
|
||||
@ -35,30 +35,30 @@ class BdfController extends Zend_Controller_Action
|
||||
} else {
|
||||
$title .= substr($siren,0,9);
|
||||
}
|
||||
$this->view->headTitle()->append('Banque de France - '.$titre);
|
||||
|
||||
|
||||
$this->view->headTitle()->prepend('Banque de France - '.$titre);
|
||||
|
||||
|
||||
require_once 'Scores/Bdf.php';
|
||||
$bdf = new BDF();
|
||||
|
||||
|
||||
$this->view->assign('siret', $siret);
|
||||
$this->view->assign('req', $req);
|
||||
$this->view->assign('module', $session->module);
|
||||
|
||||
|
||||
//Liste module FIBEN
|
||||
$listModulesFiben = $bdf->bdf_modules_fiben();
|
||||
$this->view->assign('listModulesFiben', $listModulesFiben);
|
||||
|
||||
|
||||
//Liste module FCC
|
||||
$listModulesFcc = $bdf->bdf_modules_fcc();
|
||||
$this->view->assign('listModulesFcc', $listModulesFcc);
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function moduleAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
|
||||
|
||||
//Type de module
|
||||
$module = $request->getParam('bdfmodule', '');
|
||||
$siret = $request->getParam('siret', '');
|
||||
@ -69,20 +69,20 @@ class BdfController extends Zend_Controller_Action
|
||||
$rechet = $request->getParam('rechet', '');
|
||||
$ape = $request->getParam('ape', '');
|
||||
$service = $request->getParam('service', '');
|
||||
|
||||
|
||||
if ($siret != '' && $req != '' && substr($siret, 0, 9) != $req) {
|
||||
$siret = '';
|
||||
} else if (substr($siret, 0, 9) == $req || empty($req)) {
|
||||
$req = substr($siret, 0, 9);
|
||||
}
|
||||
|
||||
|
||||
Zend_Registry::get('firebug')->info($module);
|
||||
|
||||
|
||||
$content = array();
|
||||
|
||||
|
||||
require_once 'Scores/Bdf.php';
|
||||
$bdf = new BDF();
|
||||
|
||||
|
||||
//Mode multi module
|
||||
if ($type=='u') {
|
||||
if (is_array($module)) {
|
||||
@ -136,7 +136,7 @@ class BdfController extends Zend_Controller_Action
|
||||
}
|
||||
$this->view->assign('content', $content);
|
||||
}
|
||||
|
||||
|
||||
public function module27Action()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
@ -144,7 +144,7 @@ class BdfController extends Zend_Controller_Action
|
||||
$params['bdfmodule'] = array(27);
|
||||
$this->_forward('module', null, null, $params);
|
||||
}
|
||||
|
||||
|
||||
public function module28Action()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
@ -152,7 +152,7 @@ class BdfController extends Zend_Controller_Action
|
||||
$params['bdfmodule'] = array(28);
|
||||
$this->_forward('module', null, null, $params);
|
||||
}
|
||||
|
||||
|
||||
public function module29Action()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
@ -160,7 +160,7 @@ class BdfController extends Zend_Controller_Action
|
||||
$params['bdfmodule'] = array(29);
|
||||
$this->_forward('module', null, null, $params);
|
||||
}
|
||||
|
||||
|
||||
public function module40Action()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
@ -168,7 +168,7 @@ class BdfController extends Zend_Controller_Action
|
||||
$params['bdfmodule'] = array(40);
|
||||
$this->_forward('module', null, null, $params);
|
||||
}
|
||||
|
||||
|
||||
public function module51Action()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
@ -176,6 +176,6 @@ class BdfController extends Zend_Controller_Action
|
||||
$params['bdfmodule'] = array(51);
|
||||
$this->_forward('module', null, null, $params);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -127,7 +127,6 @@ class DashboardController extends Zend_Controller_Action
|
||||
public function init()
|
||||
{
|
||||
require_once 'Scores/WsScores.php';
|
||||
require_once 'common/dates.php';
|
||||
}
|
||||
|
||||
public function preDispatch()
|
||||
@ -522,7 +521,7 @@ class DashboardController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
/**
|
||||
* Affichage de la raison sociale à partir du siren
|
||||
* Affichage de la dénomination sociale à partir du siren
|
||||
*/
|
||||
public function rsAction()
|
||||
{
|
||||
|
@ -11,8 +11,6 @@ class DirigeantController extends Zend_Controller_Action
|
||||
$this->id = $request->getParam('id', 0);
|
||||
|
||||
require_once 'Scores/WsScores.php';
|
||||
require_once 'Scores/SessionEntreprise.php';
|
||||
require_once 'common/dates.php';
|
||||
}
|
||||
|
||||
/**
|
||||
@ -20,22 +18,27 @@ class DirigeantController extends Zend_Controller_Action
|
||||
*/
|
||||
public function listeAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$autrePage = $this->getRequest()->getParam('apage');
|
||||
|
||||
$siren = substr($this->siret, 0, 9);
|
||||
|
||||
$this->view->headTitle()->append('Liste des dirigeants');
|
||||
$this->view->headTitle()->append('Siret '.$this->siret);
|
||||
if (empty($autrePage)) {
|
||||
$this->view->headTitle()->prepend('Liste des dirigeants');
|
||||
$this->view->headTitle()->prepend('Siret '.$this->siret);
|
||||
}
|
||||
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getDirigeants($siren);
|
||||
|
||||
if ($infos === false){
|
||||
$this->_forward('soap', 'error');
|
||||
$this->forward('soap', 'error');
|
||||
}
|
||||
|
||||
$dirigeants = $infos->result->item;
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
if ($user->checkPerm('dirigeantsop')){
|
||||
$href = $this->view->url(array('controller'=>'dirigeant', 'action'=>'op', 'siret'=>$this->siret));
|
||||
@ -62,8 +65,8 @@ class DirigeantController extends Zend_Controller_Action
|
||||
{
|
||||
$siren = substr($this->siret, 0, 9);
|
||||
|
||||
$this->view->headTitle()->append('Historique des dirigeants');
|
||||
$this->view->headTitle()->append('Siret '.$this->siret);
|
||||
$this->view->headTitle()->prepend('Historique des dirigeants');
|
||||
$this->view->headTitle()->prepend('Siret '.$this->siret);
|
||||
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getDirigeants($siren, true);
|
||||
@ -74,7 +77,7 @@ class DirigeantController extends Zend_Controller_Action
|
||||
|
||||
$dirigeants = $infos->result->item;
|
||||
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
$this->view->assign('dirigeants', $dirigeants);
|
||||
$this->view->assign('exportObjet', $dirigeants);
|
||||
@ -91,8 +94,8 @@ class DirigeantController extends Zend_Controller_Action
|
||||
{
|
||||
$siren = substr($this->siret, 0, 9);
|
||||
|
||||
$this->view->headTitle()->append('Liste des dirigeants opérationnels');
|
||||
$this->view->headTitle()->append('Siret '.$this->siret);
|
||||
$this->view->headTitle()->prepend('Liste des dirigeants opérationnels');
|
||||
$this->view->headTitle()->prepend('Siret '.$this->siret);
|
||||
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getDirigeantsOp($siren);
|
||||
@ -103,7 +106,7 @@ class DirigeantController extends Zend_Controller_Action
|
||||
|
||||
$dirigeants = $infos->item;
|
||||
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
$this->view->assign('siren', $siren);
|
||||
$this->view->assign('siret', $this->siret);
|
||||
|
@ -11,13 +11,12 @@ class EvaluationController extends Zend_Controller_Action
|
||||
$this->id = $request->getParam('id', 0);
|
||||
|
||||
require_once 'Scores/WsScores.php';
|
||||
require_once 'Scores/SessionEntreprise.php';
|
||||
require_once 'Scores/IdentiteEntreprise.php';
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
$this->_forward('entreprise', 'recherche');
|
||||
$this->forward('entreprise', 'recherche');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -62,10 +61,9 @@ class EvaluationController extends Zend_Controller_Action
|
||||
*/
|
||||
public function indiscoreAction()
|
||||
{
|
||||
$user = new Scores_Utilisateur();
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
if(!$user->checkPerm('INDISCORE') && !$user->checkPerm('INDISCOREP'))
|
||||
$this->_forward('perms', 'error');
|
||||
$this->forward('perms', 'error');
|
||||
|
||||
$this->view->assign('edition', $user->checkModeEdition());
|
||||
|
||||
@ -74,6 +72,8 @@ class EvaluationController extends Zend_Controller_Action
|
||||
|
||||
//Récupération des informations
|
||||
if (empty($autrePage)) {
|
||||
$this->view->headTitle()->prepend('IndiScore');
|
||||
$this->view->headTitle()->prepend('Siret '.$this->siret);
|
||||
$plus = false;
|
||||
if ($user->checkPerm('indiscorep')){
|
||||
$plus = true;
|
||||
@ -84,7 +84,7 @@ class EvaluationController extends Zend_Controller_Action
|
||||
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getIndiScore(substr($this->siret, 0,9), 0, 1, $plus, $ref, $encours, $email);
|
||||
if ($infos === false) $this->_forward('soap', 'error');
|
||||
if ($infos === false) $this->forward('soap', 'error');
|
||||
} else {
|
||||
$infos = $this->getRequest()->getParam('infos');
|
||||
}
|
||||
@ -104,16 +104,17 @@ class EvaluationController extends Zend_Controller_Action
|
||||
public function indiscore2Action()
|
||||
{
|
||||
$this->view->headScript()->appendFile('/themes/default/scripts/finance.js', 'text/javascript');
|
||||
$this->view->headTitle()->prepend("Rapport de synthèse");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
|
||||
if(!$user->checkPerm('INDISCORE2') && !$user->checkPerm('INDISCORE2P'))
|
||||
$this->_forward('perms', 'error');
|
||||
$this->forward('perms', 'error');
|
||||
|
||||
$siren = substr($this->siret,0,9);
|
||||
|
||||
$ws = new WsScores();
|
||||
$entreprise = new SessionEntreprise($this->siret, $this->id);
|
||||
$entreprise = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$identite = $ws->getIdentite($siren);
|
||||
$indiscore = $ws->getIndiScore($siren);
|
||||
$infos = $ws->getRatios($siren, 'indiscore2'); // @todo : vérifier la page
|
||||
@ -262,10 +263,12 @@ class EvaluationController extends Zend_Controller_Action
|
||||
public function indiscore3Action()
|
||||
{
|
||||
$this->view->headScript()->appendFile('/themes/default/scripts/evaluation.js', 'text/javascript');
|
||||
$this->view->headTitle()->prepend("Rapport complet");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
if(!$user->checkPerm('INDISCORE3') && !$user->checkPerm('INDISCORE3P'))
|
||||
$this->_forward('perms', 'error');
|
||||
$this->forward('perms', 'error');
|
||||
|
||||
// Lien pour le rapport personnalisé
|
||||
if ($user->getIdClient() == '110' || $user->checkModeEdition()) {
|
||||
@ -277,7 +280,7 @@ class EvaluationController extends Zend_Controller_Action
|
||||
));
|
||||
}
|
||||
|
||||
$sessionEntreprise = new SessionEntreprise($this->siret, $this->id);
|
||||
$sessionEntreprise = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$ws = new WsScores();
|
||||
$siren = substr($this->siret,0,9);
|
||||
|
||||
@ -360,7 +363,7 @@ class EvaluationController extends Zend_Controller_Action
|
||||
$this->view->assign('siret', $this->siret);
|
||||
$this->view->assign('id', $this->id);
|
||||
|
||||
$sessionEntreprise = new SessionEntreprise($this->siret, $this->id);
|
||||
$sessionEntreprise = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$this->view->assign('rs', $sessionEntreprise->getRaisonSociale());
|
||||
|
||||
} else {
|
||||
@ -489,6 +492,8 @@ class EvaluationController extends Zend_Controller_Action
|
||||
public function enquetecAction()
|
||||
{
|
||||
$this->view->headScript()->appendFile('/themes/default/scripts/enquetec.js', 'text/javascript');
|
||||
$this->view->headTitle()->prepend("Enquete commerciale");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
//isset($_REQUEST['pays']) ? $pays=$_REQUEST['pays'] : $pays='' ;
|
||||
|
||||
@ -592,8 +597,14 @@ class EvaluationController extends Zend_Controller_Action
|
||||
$this->view->assign('commandeEnquete', $commandeEnquete);
|
||||
}
|
||||
|
||||
/**
|
||||
* Demande d'avis de credit
|
||||
*/
|
||||
public function aviscreditAction()
|
||||
{
|
||||
$this->view->headTitle()->prepend("Avis de crédit");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$commande = false;
|
||||
|
||||
$request = $this->getRequest();
|
||||
@ -696,13 +707,13 @@ class EvaluationController extends Zend_Controller_Action
|
||||
*/
|
||||
public function scoringAction()
|
||||
{
|
||||
$user = new Scores_Utilisateur();
|
||||
$this->view->headTitle()->prepend("Scoring Credit Safe");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
if(!$user->checkModeEdition() or !$user->checkPerm('SCORECSF'))
|
||||
$this->render('error/perms', null, 'error');
|
||||
|
||||
require_once 'Evaluation/DomDocument2.lib.php';
|
||||
require_once 'common/curl.php';
|
||||
|
||||
define('CREDITSAFE_WS_URL', 'https://www.creditsafe.fr/getdata/service/CSFRServices.asmx');
|
||||
define('CREDITSAFE_WS_URI', 'https://www.creditsafe.fr/getdata/service/');
|
||||
define('CREDITSAFE_WS_USER', 'scores_decisions');
|
||||
@ -730,75 +741,80 @@ class EvaluationController extends Zend_Controller_Action
|
||||
'</body>'.
|
||||
'</xmlrequest>';
|
||||
|
||||
$success = true;
|
||||
$date = date('Ymd');
|
||||
$url = 'https://www.creditsafe.fr/getdata/service/CSFRServices.asmx/GetData?RequestXmlStr='.$req;
|
||||
$referer = $cookie = '';
|
||||
$page = getUrl($url, $cookie, '', $referer, false, '', '');
|
||||
$referer = $url;
|
||||
$file = APPLICATION_PATH.'/../../data/creditsafe/'.$this->siret.'.xml';
|
||||
$xml = html_entity_decode($page['body'], ENT_QUOTES, 'UTF-8');
|
||||
$dom_object = new DomDocument2();
|
||||
$ws = new WsScores();
|
||||
if(!file_exists($file)) {
|
||||
file_put_contents($file, $xml); // Ne pas oublier de metre les bons droits sur le dossier.
|
||||
$ws->setLog('scorecsf', $this->siret);
|
||||
} else {
|
||||
$ws->setLog('scorecsf', $this->siret, 0, 'local');
|
||||
}
|
||||
$dom_object->load($file);
|
||||
$companyname = $dom_object->getValueFromTag('companyname');
|
||||
$rating = $dom_object->getValueFromTag('rating');
|
||||
$ratingdesc1 = str_replace('?',"'",$dom_object->getValueFromTag('ratingdesc1'));
|
||||
$ratingdesc2 = str_replace('?',"'",$dom_object->getValueFromTag('ratingdesc2'));
|
||||
$creditlimit = $dom_object->getValueFromTag('creditlimit');
|
||||
$libelle = '';
|
||||
if (strtoupper($creditlimit)<>strtolower($creditlimit) || $creditlimit=='')
|
||||
$strCreditlimit = $creditlimit;
|
||||
else
|
||||
$strCreditlimit = number_format($creditlimit,null,null,' '). ' €';
|
||||
|
||||
if ($rating >= 40){
|
||||
$fontColor = 'green';
|
||||
$imgFeux = '<img src="/themes/default/images/scoring/feux_vert.png"/>';
|
||||
if ($rating>=71) $libelle='Très bonne cote de crédit/solvabilité';
|
||||
elseif ($rating>=51) $libelle='Bonne cote de crédit/solvabilité';
|
||||
else $libelle = 'Solvable';
|
||||
} elseif ($rating >= 20) {
|
||||
$fontColor = 'yellow';//#f2be2c';
|
||||
$imgFeux = '<img src="/themes/default/images/scoring/feux_orange.png"/>';
|
||||
$libelle = 'Précautions recommandées';
|
||||
} elseif (strtoupper($rating) <> strtolower($rating)) {
|
||||
$fontColor = 'black';
|
||||
$imgFeux=' ';
|
||||
}
|
||||
elseif ($rating == '') {
|
||||
$fontColor = 'black';
|
||||
$imgFeux = ' ';
|
||||
}
|
||||
else {
|
||||
$fontColor = 'red';
|
||||
$imgFeux = '<img src="/themes/default/images/scoring/feux_rouge.png"/>';
|
||||
if ($rating == 0) $libelle='Entreprise en situation de défaillance et ayant un très fort risque de radiation';
|
||||
else $libelle = 'Avertissement - Crédit à votre discrétion';
|
||||
}
|
||||
try {
|
||||
$client = new Zend_Http_Client($url);
|
||||
$client->setStream();
|
||||
$response = $client->request('GET');
|
||||
if ( $response->isSuccessful() ) {
|
||||
$xml = html_entity_decode($response->getBody(), ENT_QUOTES, 'UTF-8');
|
||||
|
||||
/** Assigne les valeur a la vue **/
|
||||
if (!empty($companyname)) {
|
||||
$this->view->raisonSociale = $companyname;
|
||||
} else {
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
$this->view->raisonSociale = $session->getRaisonSociale();
|
||||
}
|
||||
$this->view->emailCommande = $user->getEmail();
|
||||
$this->view->id = $this->id;
|
||||
$this->view->siren = substr($this->siret, 0,9);
|
||||
$this->view->imgFeux = $imgFeux;
|
||||
$this->view->fontColor = $fontColor;
|
||||
$this->view->rating = $rating;
|
||||
$this->view->libelle = $libelle;
|
||||
$this->view->strCreditlimit = $strCreditlimit;
|
||||
$dom_object = new DOMDocument();
|
||||
$ws = new WsScores();
|
||||
if(!file_exists($file)) {
|
||||
file_put_contents($file, $xml); // Ne pas oublier de metre les bons droits sur le dossier.
|
||||
$ws->setLog('scorecsf', $this->siret);
|
||||
} else {
|
||||
$ws->setLog('scorecsf', $this->siret, 0, 'local');
|
||||
}
|
||||
$dom_object->load($file);
|
||||
$companyname = $dom_object->getElementsByTagName('companyname')->item(0)->nodeValue;
|
||||
$rating = $dom_object->getElementsByTagName('rating')->item(0)->nodeValue;
|
||||
$ratingdesc1 = str_replace('?',"'",$dom_object->getElementsByTagName('ratingdesc1')->item(0)->nodeValue);
|
||||
$ratingdesc2 = str_replace('?',"'",$dom_object->getElementsByTagName('ratingdesc2')->item(0)->nodeValue);
|
||||
$creditlimit = $dom_object->getElementsByTagName('creditlimit')->item(0)->nodeValue;
|
||||
$libelle = '';
|
||||
if (strtoupper($creditlimit)<>strtolower($creditlimit) || $creditlimit=='')
|
||||
$strCreditlimit = $creditlimit;
|
||||
else
|
||||
$strCreditlimit = number_format($creditlimit,null,null,' '). ' €';
|
||||
|
||||
if ($rating >= 40){
|
||||
$fontColor = 'green';
|
||||
$imgFeux = '<img src="/themes/default/images/scoring/feux_vert.png"/>';
|
||||
if ($rating>=71) $libelle='Très bonne cote de crédit/solvabilité';
|
||||
elseif ($rating>=51) $libelle='Bonne cote de crédit/solvabilité';
|
||||
else $libelle = 'Solvable';
|
||||
} elseif ($rating >= 20) {
|
||||
$fontColor = 'yellow';//#f2be2c';
|
||||
$imgFeux = '<img src="/themes/default/images/scoring/feux_orange.png"/>';
|
||||
$libelle = 'Précautions recommandées';
|
||||
} elseif (strtoupper($rating) <> strtolower($rating)) {
|
||||
$fontColor = 'black';
|
||||
$imgFeux=' ';
|
||||
}
|
||||
elseif ($rating == '') {
|
||||
$fontColor = 'black';
|
||||
$imgFeux = ' ';
|
||||
}
|
||||
else {
|
||||
$fontColor = 'red';
|
||||
$imgFeux = '<img src="/themes/default/images/scoring/feux_rouge.png"/>';
|
||||
if ($rating == 0) $libelle='Entreprise en situation de défaillance et ayant un très fort risque de radiation';
|
||||
else $libelle = 'Avertissement - Crédit à votre discrétion';
|
||||
}
|
||||
|
||||
/** Assigne les valeur a la vue **/
|
||||
if (!empty($companyname)) {
|
||||
$this->view->raisonSociale = $companyname;
|
||||
} else {
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$this->view->raisonSociale = $session->getRaisonSociale();
|
||||
}
|
||||
$this->view->emailCommande = $user->getEmail();
|
||||
$this->view->id = $this->id;
|
||||
$this->view->siren = substr($this->siret, 0,9);
|
||||
$this->view->imgFeux = $imgFeux;
|
||||
$this->view->fontColor = $fontColor;
|
||||
$this->view->rating = $rating;
|
||||
$this->view->libelle = $libelle;
|
||||
$this->view->strCreditlimit = $strCreditlimit;
|
||||
|
||||
}
|
||||
} catch (Zend_Http_Client_Exception $e) {}
|
||||
}
|
||||
|
||||
/**
|
||||
@ -842,11 +858,14 @@ class EvaluationController extends Zend_Controller_Action
|
||||
|
||||
public function valorisationAction()
|
||||
{
|
||||
$this->view->headTitle()->prepend("Valorisation");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
if(!$user->checkPerm('INDISCORE3') && !$user->checkPerm('INDISCORE3P'))
|
||||
$this->_forward('perms', 'error');
|
||||
|
||||
$sessionEntreprise = new SessionEntreprise($this->siret, $this->id);
|
||||
$sessionEntreprise = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$ws = new WsScores();
|
||||
$siren = substr($this->siret,0,9);
|
||||
|
||||
|
@ -433,7 +433,7 @@ class FichierController extends Zend_Controller_Action
|
||||
/**
|
||||
* Bilan : Association
|
||||
*/
|
||||
public function bilanAction()
|
||||
public function greffeAction()
|
||||
{
|
||||
$content_type = 'application/pdf';
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
|
@ -6,7 +6,6 @@ class FinanceController extends Zend_Controller_Action
|
||||
|
||||
public function init()
|
||||
{
|
||||
require_once 'Scores/SessionEntreprise.php';
|
||||
require_once 'Scores/WsScores.php';
|
||||
|
||||
$request = $this->getRequest();
|
||||
@ -18,7 +17,7 @@ class FinanceController extends Zend_Controller_Action
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
$this->_forward('index', 'index');
|
||||
$this->forward('index', 'index');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -26,8 +25,8 @@ class FinanceController extends Zend_Controller_Action
|
||||
*/
|
||||
public function syntheseAction()
|
||||
{
|
||||
$user = new Scores_Utilisateur();
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
$user = new Scores_Utilisateur();
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
$request = $this->getRequest();
|
||||
$typeBilan = $request->getParam('typeBilan', 'N');
|
||||
@ -36,6 +35,8 @@ class FinanceController extends Zend_Controller_Action
|
||||
|
||||
//Récupération des informations
|
||||
if (empty($autrePage)) {
|
||||
$this->view->headTitle()->prepend("Synthese financière");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getRatios(substr($this->siret, 0, 9), 'synthese');
|
||||
if ($infos === false) $this->_forward('soap', 'error');
|
||||
@ -206,10 +207,12 @@ class FinanceController extends Zend_Controller_Action
|
||||
$request = $this->getRequest();
|
||||
$autrePage = $request->getParam('apage');
|
||||
$typeBilan = $request->getParam('typeBilan', 'N');
|
||||
$entreprise = new SessionEntreprise($this->siret, $this->id);
|
||||
$entreprise = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
//Récupération des informations
|
||||
if (empty($autrePage)) {
|
||||
$this->view->headTitle()->prepend("Bilan, Compte de résultat");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getRatios(substr($this->siret, 0, 9), 'ratios');
|
||||
if ($infos === false) $this->_forward('soap', 'error');
|
||||
@ -453,11 +456,13 @@ class FinanceController extends Zend_Controller_Action
|
||||
*/
|
||||
public function ratiosAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$request = $this->getRequest();
|
||||
$autrePage = $request->getParam('apage');
|
||||
|
||||
//Récupération des informations
|
||||
if (empty($autrePage)) {
|
||||
$this->view->headTitle()->prepend("Ratios");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getRatios(substr($this->siret, 0, 9), 'ratios');
|
||||
if ($infos === false) $this->_forward('soap', 'error');
|
||||
@ -466,7 +471,7 @@ class FinanceController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
$typeBilan = $request->getParam('typeBilan', 'N');
|
||||
$entreprise = new SessionEntreprise($this->siret, $this->id);
|
||||
$entreprise = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
$tabRatio = array(
|
||||
array('titre' => 'EQUILIBRE FINANCIER'),
|
||||
@ -645,7 +650,7 @@ class FinanceController extends Zend_Controller_Action
|
||||
$unite = $request->getParam('unit', '€');
|
||||
$type = $request->getParam('type', '');
|
||||
$date = $request->getParam('date', '');
|
||||
$entreprise = new SessionEntreprise($this->siret, $this->id);
|
||||
$entreprise = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
switch($type)
|
||||
{
|
||||
@ -742,7 +747,7 @@ class FinanceController extends Zend_Controller_Action
|
||||
$type = 'réel normal ou simplifié';
|
||||
break;
|
||||
}
|
||||
$session = new SessionEntreprise($params['siren']);
|
||||
$session = new Scores_Session_Entreprise($params['siren']);
|
||||
$this->view->assign('raisonSociale', $session->getRaisonSociale());
|
||||
$this->view->assign('size', filesize($file));
|
||||
$this->view->assign('name', $name);
|
||||
@ -817,7 +822,10 @@ class FinanceController extends Zend_Controller_Action
|
||||
*/
|
||||
public function liasseAction()
|
||||
{
|
||||
$user = new Scores_Utilisateur();
|
||||
$this->view->headTitle()->prepend("Liasse fiscale");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
$this->view->assign('edition', $user->checkModeEdition());
|
||||
|
||||
/** Les ancres pour les liens **/
|
||||
@ -893,7 +901,7 @@ class FinanceController extends Zend_Controller_Action
|
||||
$listBilan = $ws->getListeBilans(substr($this->siret, 0, 9));
|
||||
if ($listBilan === false) $this->_forward('soap', 'error');
|
||||
|
||||
$entreprise = new SessionEntreprise($this->siret, $this->id);
|
||||
$entreprise = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
if( $listBilan->nbReponses > 0 )
|
||||
{
|
||||
@ -916,8 +924,15 @@ class FinanceController extends Zend_Controller_Action
|
||||
|
||||
$date = new Zend_Date($infoLiasse->getInfo('dateCloture'), 'yyyyMMdd');
|
||||
$this->view->assign('dateClotureD', $date->toString('dd/MM/yyyy'));
|
||||
$date = new Zend_Date($infoLiasse->getInfo('dateCloturePre'), 'yyyyMMdd');
|
||||
$this->view->assign('dateCloturePreD', $date->toString('dd/MM/yyyy'));
|
||||
|
||||
Zend_Registry::get('firebug')->info('test:'.$infoLiasse->getInfo('dateCloturePre'));
|
||||
$dateCloturePre = $infoLiasse->getInfo('dateCloturePre');
|
||||
if ( $dateCloturePre == '' ) {
|
||||
$this->view->assign('dateCloturePreD', '-');
|
||||
} else {
|
||||
$date = new Zend_Date($dateCloturePre, 'yyyyMMdd');
|
||||
$this->view->assign('dateCloturePreD', $date->toString('dd/MM/yyyy'));
|
||||
}
|
||||
|
||||
$this->view->assign('dureesMois', $infoLiasse->getInfo('dureeMois'));
|
||||
$this->view->assign('dureesMoisPre', $infoLiasse->getInfo('dureeMoisPre'));
|
||||
@ -960,13 +975,16 @@ class FinanceController extends Zend_Controller_Action
|
||||
*/
|
||||
public function bourseAction()
|
||||
{
|
||||
$this->view->headTitle()->prepend("Bourse & Cotations");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
require_once 'Scores/Logo.php';
|
||||
|
||||
$siren = substr($this->siret, 0, 9);
|
||||
|
||||
$urlImg = new Logo($siren);
|
||||
|
||||
$sessionEntreprise = new SessionEntreprise($this->siret, $this->id);
|
||||
$sessionEntreprise = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getInfosBourse($siren);
|
||||
@ -999,6 +1017,8 @@ class FinanceController extends Zend_Controller_Action
|
||||
$autrePage = $this->getRequest()->getParam('apage');
|
||||
//Récupération des informations
|
||||
if (empty($autrePage)) {
|
||||
$this->view->headTitle()->prepend("Relations Banquaires");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getBanques(substr($this->siret, 0, 9));
|
||||
if ($infos === false) $this->_forward('soap', 'error');
|
||||
@ -1006,7 +1026,7 @@ class FinanceController extends Zend_Controller_Action
|
||||
$infos = $this->getRequest()->getParam('infos');
|
||||
}
|
||||
|
||||
$entreprise = new SessionEntreprise($this->siret, $this->id);
|
||||
$entreprise = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$this->view->assign('banques', $infos->result->item);
|
||||
$this->view->assign('raisonSociale', $entreprise->getRaisonSociale());
|
||||
$this->view->assign('siren', substr($this->siret, 0, 9));
|
||||
@ -1018,6 +1038,9 @@ class FinanceController extends Zend_Controller_Action
|
||||
*/
|
||||
public function fluxAction()
|
||||
{
|
||||
$this->view->headTitle()->prepend("Flux de trésorerie");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$request = $this->getRequest();
|
||||
$typeBilan = $request->getParam('type', 'N');
|
||||
$this->view->assign('typeBilan', $typeBilan);
|
||||
@ -1027,7 +1050,7 @@ class FinanceController extends Zend_Controller_Action
|
||||
$siren = substr($this->siret, 0, 9);
|
||||
|
||||
$ws = new WsScores();
|
||||
$entreprise = new SessionEntreprise($this->siret, $this->id);
|
||||
$entreprise = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$this->view->assign('raisonSociale', $entreprise->getRaisonSociale());
|
||||
|
||||
$infos = $ws->getRatios($siren, 'ratios');
|
||||
@ -1253,4 +1276,100 @@ class FinanceController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Subvention accordés, principalement les associations
|
||||
*/
|
||||
public function subventionsAction()
|
||||
{
|
||||
$this->view->headTitle()->prepend("Subventions");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
$sessionEntreprise = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$siren = substr($this->siret, 0, 9);
|
||||
$this->view->assign('raisonSociale', $sessionEntreprise->getRaisonSociale());
|
||||
$this->view->assign('id', $this->id);
|
||||
$this->view->assign('siret', $this->siret);
|
||||
$this->view->assign('siren', $siren);
|
||||
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getSubventionList($siren);
|
||||
if ($infos === false) {
|
||||
$this->forward('soap', 'error');
|
||||
} elseif (is_string($infos)) {
|
||||
$this->view->assign('msg', $infos);
|
||||
} else {
|
||||
$this->view->assign('subventions', $infos->result->item);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Détail d'une subvention
|
||||
*/
|
||||
public function subventionAction()
|
||||
{
|
||||
$this->view->headTitle()->prepend("Subvention");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$sessionEntreprise = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$siren = substr($this->siret, 0, 9);
|
||||
$this->view->assign('raisonSociale', $sessionEntreprise->getRaisonSociale());
|
||||
$this->view->assign('id', $this->id);
|
||||
$this->view->assign('siret', $this->siret);
|
||||
$this->view->assign('siren', $siren);
|
||||
|
||||
$request = $this->getRequest();
|
||||
$id = $request->getParam('subventionId');
|
||||
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getSubventionDetail($id);
|
||||
if ($infos === false) {
|
||||
$this->forward('soap', 'error');
|
||||
} elseif (is_string($infos)) {
|
||||
$this->view->assign('msg', $infos);
|
||||
} else {
|
||||
|
||||
$p = $request->getParam('p', 1);
|
||||
$this->view->assign('p', $p);
|
||||
|
||||
$nbMax = 100;
|
||||
$nbReponses = $infos->nbReponses;
|
||||
$nbPages = ceil($nbReponses/$nbMax);
|
||||
|
||||
if ( $p <= 1 ) {
|
||||
$lienPagePrecedente = false;
|
||||
} else {
|
||||
$lienPagePrecedente = $this->view->url(array(
|
||||
'controller' => 'finance',
|
||||
'action' => 'subventions',
|
||||
'p' => $p-1
|
||||
));
|
||||
}
|
||||
|
||||
if ( $p+1 > $nbPages ) {
|
||||
$lienPageSuivante = false;
|
||||
} else {
|
||||
$lienPageSuivante = $this->view->url(array(
|
||||
'controller' => 'finance',
|
||||
'action' => 'subventions',
|
||||
'p' => $p+1
|
||||
));
|
||||
}
|
||||
|
||||
$this->view->assign('nbPages',$nbPages);
|
||||
$this->view->assign('lienPagePrecedente',$lienPagePrecedente);
|
||||
$this->view->assign('lienPageSuivante',$lienPageSuivante);
|
||||
|
||||
$this->view->assign('Millesime',$infos->Millesime);
|
||||
$this->view->assign('Budget',$infos->Budget);
|
||||
$this->view->assign('AssoSiren',$infos->AssoSiren);
|
||||
$this->view->assign('AssoNom',$infos->AssoNom);
|
||||
$this->view->assign('OrigineSiren',$infos->OrigineSiren);
|
||||
$this->view->assign('OrigineLib',$infos->OrigineLib);
|
||||
$this->view->assign('Programme',$infos->Programme);
|
||||
$this->view->assign('Montant',$infos->Montant);
|
||||
$this->view->assign('SubventionObjet',$infos->SubventionObjet);
|
||||
$this->view->assign('Mission',$infos->Mission);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -1,10 +1,8 @@
|
||||
<?php
|
||||
require_once 'Scores/RechercheHistorique.php';
|
||||
require_once 'Giant/WSgiant.php';
|
||||
require_once 'Giant/Controllers.lib.php';
|
||||
require_once 'Giant/RequestDatabase.lib.php';
|
||||
require_once 'Giant/Functions.lib.php';
|
||||
require_once 'common/dates.php';
|
||||
|
||||
class GiantController extends Zend_Controller_Action
|
||||
{
|
||||
@ -44,7 +42,7 @@ class GiantController extends Zend_Controller_Action
|
||||
|
||||
public function init()
|
||||
{
|
||||
|
||||
|
||||
$this->view->headLink()->appendStylesheet('/themes/default/styles/giant.css', 'all');
|
||||
$this->view->headScript()->appendFile('/themes/default/scripts/giant.js', 'text/javascript');
|
||||
$this->view->debug = false;
|
||||
@ -75,7 +73,7 @@ class GiantController extends Zend_Controller_Action
|
||||
|
||||
public function identiteAction()
|
||||
{
|
||||
$rechercheParams = new RechercheHistorique();
|
||||
$rechercheParams = new Scores_Session_Recherche();
|
||||
$giantFunction = new GiantFunction();
|
||||
$test = $this->getRequest()->getParam('test');
|
||||
if($test == true){
|
||||
@ -131,7 +129,7 @@ class GiantController extends Zend_Controller_Action
|
||||
$giantConstroller = new GiantControllerLib($this->getRequest()->getParam('CompanyId').'-'.$this->getRequest()->getParam('Type'));
|
||||
$identiteController->ficheAction();
|
||||
$fiche = $identiteController->getObjet('fiche');
|
||||
|
||||
|
||||
foreach($creditrecommendationAction as $action => $val) {
|
||||
if(isset($creditrecommendation->DataSet->Company->$val)) {
|
||||
$creditrecommendation = $giantConstroller->$action($creditrecommendation);
|
||||
@ -142,7 +140,6 @@ class GiantController extends Zend_Controller_Action
|
||||
$this->view->reportType = $this->getRequest()->getParam('Type');
|
||||
$this->view->report = $fiche;
|
||||
$this->view->Type = $this->getRequest()->getParam('Type');
|
||||
$this->view->dateFunction = new WDate();
|
||||
$this->view->assign('exportObjet', $creditrecommendation);
|
||||
}
|
||||
|
||||
@ -177,7 +174,6 @@ class GiantController extends Zend_Controller_Action
|
||||
$this->view->reportType = $this->getRequest()->getParam('Type');
|
||||
$this->view->report = $fiche;
|
||||
$this->view->Type = $this->getRequest()->getParam('Type');
|
||||
$this->view->dateFunction = new WDate();
|
||||
$this->view->assign('exportObjet', $compact);
|
||||
}
|
||||
|
||||
@ -214,7 +210,6 @@ class GiantController extends Zend_Controller_Action
|
||||
$this->view->reportType = $this->getRequest()->getParam('Type');
|
||||
$this->view->report = $fiche;
|
||||
$this->view->Type = $this->getRequest()->getParam('Type');
|
||||
$this->view->dateFunction = new WDate();
|
||||
$this->view->assign('exportObjet', $full);
|
||||
}
|
||||
|
||||
@ -345,36 +340,6 @@ class GiantController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
}
|
||||
public function retrivemonitoringAction()
|
||||
{
|
||||
$this->view->headScript()->appendFile('/themes/default/scripts/giant_monitoring.js', 'text/javascript');
|
||||
$this->view->CompanyId = $this->getRequest()->getParam('CompanyId');
|
||||
$this->view->Pays = $this->getRequest()->getParam('Pays');
|
||||
$this->view->CompanyName = $this->getRequest()->getParam('CompanyName');
|
||||
$this->view->action = $this->getRequest()->getParam('action');
|
||||
$this->view->values = $this->getRequest()->getParams();
|
||||
|
||||
$giantController = new GiantControllerLib($this->getRequest()->getParam('CompanyId'));
|
||||
$result = $giantController->retrivemonitoring($this->getRequest()->getParam('CompanyId'),
|
||||
$this->getRequest()->getParam('StartFrom'),
|
||||
$this->getRequest()->getParam('InternalOrderId'),
|
||||
$this->getRequest()->getParam('Pays'),
|
||||
$this->TestIndication,
|
||||
$this->getRequest()->getParam('monitor_type'),
|
||||
$this->getRequest()->getParam('CompanyName')
|
||||
);
|
||||
$this->view->result = $result;
|
||||
|
||||
$merged =Array();
|
||||
foreach ($result->MonitoringEvents->MonitoringEvent as $MonitoringEvent):
|
||||
if ($merged[$MonitoringEvent->Company->Event[0]->EventCode]){
|
||||
array_push($merged[$MonitoringEvent->Company->Event[0]->EventCode],$MonitoringEvent) ;
|
||||
} else {
|
||||
$merged[$MonitoringEvent->Company->Event[0]->EventCode][]=$MonitoringEvent;
|
||||
}
|
||||
endforeach;
|
||||
$this->view->val = $merged;
|
||||
}
|
||||
public function retriveAction()
|
||||
{
|
||||
$this->view->headScript()->appendFile('/themes/default/scripts/giant_monitoring.js', 'text/javascript');
|
||||
|
@ -14,7 +14,6 @@ class IdentiteController extends Zend_Controller_Action
|
||||
$this->id = $request->getParam('id', 0);
|
||||
|
||||
require_once 'Scores/WsScores.php';
|
||||
require_once 'Scores/SessionEntreprise.php';
|
||||
require_once 'Scores/IdentiteEntreprise.php';
|
||||
}
|
||||
|
||||
@ -25,7 +24,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
case 'fiche':
|
||||
case 'fichepc':
|
||||
if (intval($this->siret)==0 && $this->id==0){
|
||||
$this->_forward('params', 'error');
|
||||
$this->forward('params', 'error');
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -36,7 +35,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
*/
|
||||
public function indexAction()
|
||||
{
|
||||
$this->_forward('index', 'index');
|
||||
$this->forward('index', 'index');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -44,24 +43,23 @@ class IdentiteController extends Zend_Controller_Action
|
||||
*/
|
||||
public function ficheAction()
|
||||
{
|
||||
//Modification du titre
|
||||
if( empty($this->siret) ){
|
||||
$titre = 'Identifiant '.$this->id;
|
||||
} else {
|
||||
$titre = 'Siret '.$this->siret;
|
||||
}
|
||||
$this->view->headTitle()->append('Identité - '.$titre);
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
|
||||
$autrePage = $this->getRequest()->getParam('apage');
|
||||
|
||||
//Récupération des informations
|
||||
if (empty($autrePage)) {
|
||||
//Modification du titre
|
||||
if( empty($this->siret) ){
|
||||
$titre = 'Identifiant '.$this->id;
|
||||
} else {
|
||||
$titre = 'Siret '.$this->siret;
|
||||
}
|
||||
$this->view->headTitle()->prepend('Fiche Identité - '.$titre);
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getIdentite($this->siret, $this->id);
|
||||
if ($infos === false) {
|
||||
$this->_forward('soap', 'error');
|
||||
$this->forward('soap', 'error');
|
||||
}
|
||||
} else {
|
||||
$infos = $this->getRequest()->getParam('infos');
|
||||
@ -72,7 +70,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
} else {
|
||||
|
||||
//Mise en session
|
||||
$session = new SessionEntreprise($this->siret, $this->id, true);
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id, true);
|
||||
$session->setInfoEntrep($infos);
|
||||
|
||||
//Date de dernière mise à jour
|
||||
@ -92,7 +90,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
|
||||
if ( $dateId == 'DateMajID') {
|
||||
$date = new Zend_Date($infos->DateMajID, 'yyyy-MM-dd');
|
||||
$dateDerMaj = ' le '.$date->toString('dd/MM/yyyy');
|
||||
$dateDerMaj = $date->toString('dd/MM/yyyy');
|
||||
}
|
||||
|
||||
if ( $dateId == 'DateMajID' && !$user->checkModeEdition()) {
|
||||
@ -201,7 +199,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
} else {
|
||||
$titre = 'Siret '.$this->siret;
|
||||
}
|
||||
$this->view->headTitle()->append('Fiche procédure collective - '.$titre);
|
||||
$this->view->headTitle()->prepend('Fiche procédure collective - '.$titre);
|
||||
|
||||
//Récupération des informations
|
||||
$ws = new WsScores();
|
||||
@ -209,7 +207,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
if ($infos === false) $this->_forward('soap', 'error');
|
||||
|
||||
//Mise en session
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$session->setInfoEntrep($infos->Identite);
|
||||
|
||||
//Element Fiche identite
|
||||
@ -312,9 +310,9 @@ class IdentiteController extends Zend_Controller_Action
|
||||
{
|
||||
$siren = substr($this->siret,0,9);
|
||||
$actif = $this->getRequest()->getParam('actif', -1);
|
||||
$this->view->headTitle()->append('Liste des établissements - Siren '.$siren);
|
||||
$this->view->headTitle()->prepend('Liste des établissements - Siren '.$siren);
|
||||
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$user = new Scores_Utilisateur();
|
||||
|
||||
$ws = new WsScores();
|
||||
@ -360,7 +358,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
$siren = substr($this->siret,0,9);
|
||||
$actif = $this->getRequest()->getParam('actif', -1);
|
||||
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$user = new Scores_Utilisateur();
|
||||
|
||||
$ws = new WsScores();
|
||||
@ -557,7 +555,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
$nbMonthForRecentLien = 3;
|
||||
|
||||
$request = $this->getRequest();
|
||||
|
||||
$autrePage = $this->getRequest()->getParam('apage');
|
||||
$lienRef = $request->getParam('lienref', null);
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
@ -569,7 +567,9 @@ class IdentiteController extends Zend_Controller_Action
|
||||
|
||||
$this->view->assign('lienref', $lienRef);
|
||||
|
||||
$this->view->headTitle()->append('Liens inter-entreprises - Id '.$lienRef);
|
||||
if (empty($autrePage)) {
|
||||
$this->view->headTitle()->prepend('Liens inter-entreprises - Id '.$lienRef);
|
||||
}
|
||||
|
||||
$identite = $ws->getLienRef($lienRef);
|
||||
$this->view->assign('raisonSociale', $identite->raisonSociale);
|
||||
@ -579,7 +579,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
//Define SIREN if exist
|
||||
if ( intval($identite->siren)!=0 ) {
|
||||
$siren = $identite->siren;
|
||||
$session = new SessionEntreprise($siren, null, true);
|
||||
$session = new Scores_Session_Entreprise($siren, null, true);
|
||||
$this->view->assign('siren', $siren);
|
||||
$this->view->assign('siret', $session->getSiret());
|
||||
$this->view->assign('isin', $session->getIsin());
|
||||
@ -597,9 +597,10 @@ class IdentiteController extends Zend_Controller_Action
|
||||
} else {
|
||||
$siren = substr($this->siret,0,9);
|
||||
|
||||
$this->view->headTitle()->append('Liens inter-entreprises - Siren '.$siren);
|
||||
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
if (empty($autrePage)) {
|
||||
$this->view->headTitle()->prepend('Liens inter-entreprises - Siren '.$siren);
|
||||
}
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
$this->view->assign('isin', $session->getIsin());
|
||||
$this->view->assign('siren', $siren);
|
||||
@ -681,6 +682,9 @@ class IdentiteController extends Zend_Controller_Action
|
||||
$this->view->assign('AutrePage', $this->getRequest()->getParam('apage'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Fiche identite d'un lien
|
||||
*/
|
||||
public function lienficheAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
@ -946,6 +950,9 @@ class IdentiteController extends Zend_Controller_Action
|
||||
$this->view->assign('result', $result);
|
||||
}
|
||||
|
||||
/**
|
||||
* Documents liées à une fiche lien
|
||||
*/
|
||||
public function liendocAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
@ -967,22 +974,41 @@ class IdentiteController extends Zend_Controller_Action
|
||||
*/
|
||||
public function evenementsAction()
|
||||
{
|
||||
$siren = substr($this->siret,0,9);
|
||||
$this->view->headTitle()->append('Evènements - Siren '.$siren);
|
||||
$request = $this->getRequest();
|
||||
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
$siren = substr($this->siret,0,9);
|
||||
$this->view->headTitle()->prepend('Evènements - Siren '.$siren);
|
||||
|
||||
$nbReponses = 50;
|
||||
$page = $request->getParam('page', 1);
|
||||
if ($page == 0) $page = 1;
|
||||
$page = $page - 1;
|
||||
$position = $page * $nbReponses;
|
||||
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getListeEvenements($siren);
|
||||
|
||||
$infos = $ws->getListeEvenements($siren, 0, $position, $nbReponses);
|
||||
$evens = $infos->result->item;
|
||||
|
||||
$this->view->assign('evens', $evens);
|
||||
$this->view->assign('siren', $siren);
|
||||
$this->view->assign('siret', $this->siret);
|
||||
$this->view->assign('id', $this->id);
|
||||
$this->view->assign('raisonSociale', $session->getRaisonSociale());
|
||||
$this->view->assign('evens', $evens);
|
||||
$this->view->assign('exportObjet', $evens);
|
||||
|
||||
$nbReponsesTotal = $infos->nbReponses;
|
||||
if ($nbReponses < $nbReponsesTotal) {
|
||||
$totPage = ceil($nbReponsesTotal/$nbReponses);
|
||||
$curPage = $page + 1;
|
||||
} else {
|
||||
$totPage = $curPage = 1;
|
||||
}
|
||||
$this->view->assign('totPage', $totPage);
|
||||
$this->view->assign('curPage', $curPage);
|
||||
$this->view->assign('nbReponses', empty($nbReponses) ? 0 : $nbReponses);
|
||||
$this->view->assign('nbReponsesTotal', empty($nbReponsesTotal) ? 0 : $nbReponsesTotal);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -996,7 +1022,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
$user = new Scores_Utilisateur();
|
||||
if ($user->checkPref('news'))
|
||||
{
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
$items = array();
|
||||
if ($googleNews!==false){
|
||||
@ -1037,8 +1063,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
// ==> Start
|
||||
require_once 'Scores/AvisSituation.php';
|
||||
$avis = new AvisSituation($this->siret);
|
||||
$avis = new Scores_Insee_AvisSituation($this->siret);
|
||||
|
||||
if (!$avis->erreur()){
|
||||
$avis->erreurcpt('raz');
|
||||
@ -1068,6 +1093,9 @@ class IdentiteController extends Zend_Controller_Action
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Téléchargement des cartes IRIS
|
||||
*/
|
||||
public function irisAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
@ -1076,8 +1104,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
$request = $this->getRequest();
|
||||
$codeCommune = $request->getParam('code');
|
||||
// ==> Start
|
||||
require_once 'Scores/Iris.php';
|
||||
$iris = new Iris($codeCommune);
|
||||
$iris = new Scores_Insee_Iris($codeCommune);
|
||||
$body = $iris->get('pdf');
|
||||
if($body !== false) {
|
||||
header("Pragma: public");
|
||||
@ -1094,15 +1121,15 @@ class IdentiteController extends Zend_Controller_Action
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Informations géographiques
|
||||
*/
|
||||
public function geoAction()
|
||||
{
|
||||
$infos = $this->getRequest()->getParam('infos');
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
$this->view->assign('facade', $user->checkPref('mappy'));
|
||||
|
||||
require_once 'Scores/Google.php';
|
||||
$google = new Google();
|
||||
// Text
|
||||
$google = new Scores_Google_Maps();
|
||||
$decLat = $google->dec2dms($infos->GeoLat);
|
||||
$decLon = $google->dec2dms($infos->GeoLon);
|
||||
$mapsHref = $google->getGoogleMapLink(urlencode(
|
||||
@ -1114,27 +1141,25 @@ class IdentiteController extends Zend_Controller_Action
|
||||
$this->view->assign('decLat', $decLat);
|
||||
$this->view->assign('decLon', $decLon);
|
||||
$this->view->assign('infos', $infos);
|
||||
}
|
||||
|
||||
public function facadeAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
|
||||
// Img
|
||||
$user = new Scores_Utilisateur();
|
||||
$this->view->assign('facade', $user->checkPref('mappy'));
|
||||
require_once 'Scores/Mappy.php';
|
||||
|
||||
$infos = $request->getParam('infos');
|
||||
$source = $request->getParam('source');
|
||||
$mappy = new Mappy();
|
||||
if ($mappy->villeCouverte($infos->Ville))
|
||||
{
|
||||
$this->view->assign('source', 'mappy');
|
||||
|
||||
$adresse = '';
|
||||
$adresse.= $infos->AdresseNum;
|
||||
|
||||
//Corriger la voie pour Mappy
|
||||
$adresse.= ' '.strtr($infos->AdresseVoie, array(
|
||||
'R' => 'RUE',
|
||||
'AV' => 'AVENUE',
|
||||
'RLE' => 'RUELLE',
|
||||
'R' => 'RUE',
|
||||
'AV' => 'AVENUE',
|
||||
'RLE' => 'RUELLE',
|
||||
));
|
||||
|
||||
$adresse.= ' '.$infos->AdresseRue;
|
||||
@ -1148,7 +1173,6 @@ class IdentiteController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
$this->view->assign('adresse', $adresse);
|
||||
$this->view->assign('source', 'mappy');
|
||||
$this->view->assign('lienJs', $mappy->getJs());
|
||||
}
|
||||
else
|
||||
@ -1157,21 +1181,66 @@ class IdentiteController extends Zend_Controller_Action
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Display streetview image
|
||||
*/
|
||||
public function streetviewAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$siret = $request->getParam('siret');
|
||||
|
||||
if ( $request->isXmlHttpRequest() ) {
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$siret = $request->getParam('siret');
|
||||
$lat = $request->getParam('lat', '');
|
||||
$lon = $request->getParam('lon', '');
|
||||
$address = $request->getParam('address');
|
||||
} else {
|
||||
$infos = $request->getParam('infos');
|
||||
$siret = $infos->Siret;
|
||||
$lat = $infos->GeoLat;
|
||||
$lon = $infos->GeoLon;
|
||||
|
||||
$adresse = '';
|
||||
if (intval($infos->AdresseNum)>0) {
|
||||
$adresse.= intval($infos->AdresseNum).' ';
|
||||
}
|
||||
|
||||
//Corriger la voie
|
||||
$adresse.= strtr($infos->AdresseVoie, array(
|
||||
'R' => 'RUE',
|
||||
'AV' => 'AVENUE',
|
||||
'RLE' => 'RUELLE',
|
||||
));
|
||||
|
||||
$adresse.= ' '.$infos->AdresseRue;
|
||||
$adresse.= ', '.$infos->Ville;
|
||||
|
||||
//Définir le pays
|
||||
if ($infos->Pays == '') {
|
||||
$adresse.= ', FRANCE';
|
||||
} else {
|
||||
$adresse.= ', '.$infos->Pays;
|
||||
}
|
||||
}
|
||||
|
||||
$lat = $request->getParam('lat', '');
|
||||
$lon = $request->getParam('lon', '');
|
||||
$num = $request->getParam('heading', 0);
|
||||
|
||||
$streetview = new Scores_Google_Streetview($siret);
|
||||
if ( $lat != '' && $lon != '' ) {
|
||||
$this->view->assign('siret', $siret);
|
||||
$this->view->assign('lat', $lat);
|
||||
$this->view->assign('lon', $lon);
|
||||
|
||||
$mode = 'address';
|
||||
$this->view->assign('streetviewMode', $mode);
|
||||
|
||||
if ( $mode == 'address' && $adresse !== null ) {
|
||||
$streetview = new Scores_Google_Streetview($siret);
|
||||
$streetview->setLocationTxt($adresse);
|
||||
$url = $streetview->serveUrl();
|
||||
$this->view->assign('url', $url);
|
||||
}
|
||||
|
||||
if ( $mode == 'GPS' && intval($siret)>100 && $lat != '' && $lon != '' ) {
|
||||
$streetview = new Scores_Google_Streetview($siret);
|
||||
$deg = $streetview->getNumDeg();
|
||||
$nbImg = count($deg);
|
||||
$pagePrec = $num-1;
|
||||
@ -1184,17 +1253,71 @@ class IdentiteController extends Zend_Controller_Action
|
||||
}
|
||||
$this->view->assign('pagePrec', $pagePrec);
|
||||
$this->view->assign('pageSuiv', $pageSuiv);
|
||||
|
||||
$streetview->setLocationGeo( $lat, $lon );
|
||||
$heading = $deg[$num];
|
||||
$streetview->setHeading($heading);
|
||||
//$streetview->setLocationTxt($adresse);
|
||||
$url = $this->view->url(array('controller'=>'fichier', 'action'=>'streetview', 'fichier'=> $streetview->display()), null, true);
|
||||
$this->view->assign('url', $url);
|
||||
|
||||
$img = $streetview->serveImg();
|
||||
if ( $img!==false ) {
|
||||
$url = '/fichier/streetview/'.$img;
|
||||
$this->view->assign('url', $url);
|
||||
}
|
||||
}
|
||||
$this->view->assign('lat', $lat);
|
||||
$this->view->assign('lon', $lon);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Impression capture image arborescence du groupe
|
||||
*/
|
||||
public function groupesarboimgAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
|
||||
$siren = substr($this->siret,0,9);
|
||||
$this->view->assign('siret', $siren);
|
||||
|
||||
$pctMin = $request->getParam('pctMin', 33);
|
||||
$this->view->assign('pctMin', $pctMin);
|
||||
|
||||
$isin = $request->getParam('isin', 1);
|
||||
$this->view->assign('isin', $isin);
|
||||
if ($isin==0){
|
||||
$stopAtIsin = false;
|
||||
} else {
|
||||
$stopAtIsin = true;
|
||||
}
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
$this->view->assign('edition', $user->checkModeEdition());
|
||||
|
||||
$ws = new WsScores();
|
||||
$result = $ws->getGroupesArbo($siren, $pctMin, 10, $stopAtIsin);
|
||||
|
||||
if ( $result!==false ) {
|
||||
$infos = json_decode($result, true);
|
||||
Zend_Registry::get('firebug')->info($infos);
|
||||
if (count($infos)>0) {
|
||||
|
||||
$name = $infos['name'];
|
||||
if ( $infos['siren']!='000000000' ) {
|
||||
$name.= ' ('.$infos['siren'].')';
|
||||
}
|
||||
|
||||
$structure = array();
|
||||
$structure[] = array(
|
||||
'data' => $name,
|
||||
'state' => 'open',
|
||||
'children' => $this->groupesArboChildren($infos['children'], $siren),
|
||||
);
|
||||
$this->view->assign('data', json_encode($structure));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Arborescence du groupe
|
||||
*/
|
||||
public function groupesarboAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
@ -1205,20 +1328,30 @@ class IdentiteController extends Zend_Controller_Action
|
||||
$pctMin = $request->getParam('pctMin', 33);
|
||||
$this->view->assign('pctMin', $pctMin);
|
||||
|
||||
$isin = $request->getParam('isin', 1);
|
||||
$this->view->assign('isin', $isin);
|
||||
if ($isin==0){
|
||||
$stopAtIsin = false;
|
||||
} else {
|
||||
$stopAtIsin = true;
|
||||
}
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
$this->view->assign('edition', $user->checkModeEdition());
|
||||
|
||||
$ws = new WsScores();
|
||||
$result = $ws->getGroupesArbo($siren, $pctMin);
|
||||
$result = $ws->getGroupesArbo($siren, $pctMin, 10, $stopAtIsin);
|
||||
|
||||
if ( $result!==false ) {
|
||||
$infos = json_decode($result, true);
|
||||
Zend_Registry::get('firebug')->info($infos);
|
||||
if (count($infos)>0) {
|
||||
|
||||
$sirenTxt = substr($infos['siren'],0,3).' '.substr($infos['siren'],3,3).' '.substr($infos['siren'],6,3);
|
||||
|
||||
$name = $infos['name'];
|
||||
if ( $infos['siren']!='000000000' ) {
|
||||
$name.= ' ('.$infos['siren'].')';
|
||||
$name.= ' ('.$sirenTxt.')';
|
||||
}
|
||||
|
||||
$structure = array();
|
||||
@ -1232,18 +1365,26 @@ class IdentiteController extends Zend_Controller_Action
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Récursivité pour l'arborescence du groupe
|
||||
* @param unknown $items
|
||||
* @param string $detectSiren
|
||||
* @return multitype:multitype:string multitype: multitype:multitype:string multitype: NULL
|
||||
*/
|
||||
public function groupesArboChildren($items, $detectSiren = '')
|
||||
{
|
||||
$output = array();
|
||||
if ( count($items)>0 ) {
|
||||
foreach ( $items as $item ) {
|
||||
|
||||
$sirenTxt = substr($item['siren'],0,3).' '.substr($item['siren'],3,3).' '.substr($item['siren'],6,3);
|
||||
|
||||
$name = $item['name'];
|
||||
if ( intval($item['siren'])!=0 ) {
|
||||
$name.= ' (<a href="'.$this->view->url(array(
|
||||
'controller'=>'identite',
|
||||
'action'=>'fiche',
|
||||
'siret' => $item['siren']), null, true).'">'.$item['siren'].'</a>)';
|
||||
'siret' => $item['siren']), null, true).'">'.$sirenTxt.'</a>)';
|
||||
} else {
|
||||
$name.= ' ('.$item['pays'].')';
|
||||
}
|
||||
@ -1269,8 +1410,14 @@ class IdentiteController extends Zend_Controller_Action
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Groupe
|
||||
*/
|
||||
public function groupeAction()
|
||||
{
|
||||
$this->view->headTitle()->prepend("Groupe");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$siren = substr($this->siret,0,9);
|
||||
|
||||
$ws = new WsScores();
|
||||
@ -1279,4 +1426,45 @@ class IdentiteController extends Zend_Controller_Action
|
||||
$this->view->assign('result', $result);
|
||||
$this->view->assign('siren', $siren);
|
||||
}
|
||||
|
||||
/**
|
||||
* Contact Data
|
||||
*/
|
||||
public function contactsAction()
|
||||
{
|
||||
$this->view->headTitle()->prepend("Contacts");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
$this->view->assign('edition', $user->checkModeEdition());
|
||||
|
||||
$request = $this->getRequest();
|
||||
$this->view->assign('siret', $this->siret);
|
||||
$siren = substr($this->siret, 0, 9);
|
||||
|
||||
$all = $request->getParam('get');
|
||||
if ($all == 'all') {
|
||||
$companyId = substr($this->siret,0,9);
|
||||
$this->view->assign('all', true);
|
||||
} else {
|
||||
$companyId = $this->siret;
|
||||
}
|
||||
|
||||
$filter = $request->getParam('filter');
|
||||
$this->view->assign('filter', $filter);
|
||||
|
||||
$ws = new WsScores();
|
||||
$result = $ws->getContactEt($companyId, $filter);
|
||||
|
||||
Zend_Registry::get('firebug')->info($result);
|
||||
|
||||
if ($result->nbReponses>0) {
|
||||
$this->view->assign('contacts', $result->result->item);
|
||||
}
|
||||
|
||||
$this->view->assign('raisonSociale', $session->getRaisonSociale());
|
||||
$this->view->assign('siren', $siren);
|
||||
}
|
||||
}
|
@ -11,8 +11,6 @@ class JuridiqueController extends Zend_Controller_Action
|
||||
$this->id = $request->getParam('id', 0);
|
||||
|
||||
require_once 'Scores/WsScores.php';
|
||||
require_once 'Scores/SessionEntreprise.php';
|
||||
require_once 'common/dates.php';
|
||||
}
|
||||
|
||||
/**
|
||||
@ -39,7 +37,7 @@ class JuridiqueController extends Zend_Controller_Action
|
||||
}
|
||||
}
|
||||
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
$fj = $session->getFormeJuridique();
|
||||
if ( $fj>9000 && $fj<9999 && intval($siren)==0 ) {
|
||||
$vue = 'asso';
|
||||
@ -51,7 +49,7 @@ class JuridiqueController extends Zend_Controller_Action
|
||||
$this->view->assign('raisonSociale', $session->getRaisonSociale());
|
||||
$this->view->assign('AutrePage', $request->getParam('apage'));
|
||||
|
||||
if ($session->getSource()=='006') {
|
||||
if ($session->getSource()=='006' || $session->getSourceId()=='007') {
|
||||
|
||||
$this->view->assign('AutreSource', true);
|
||||
|
||||
@ -222,10 +220,13 @@ class JuridiqueController extends Zend_Controller_Action
|
||||
*/
|
||||
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 SessionEntreprise($this->siret, $this->id);
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
$ws = new WsScores();
|
||||
if ($idAnn!=false) {
|
||||
@ -234,7 +235,7 @@ class JuridiqueController extends Zend_Controller_Action
|
||||
} else {
|
||||
$infos = $ws->getInfosReg($siren);
|
||||
}
|
||||
if ($infos === false) $this->_forward('soap', 'error');
|
||||
if ($infos === false) $this->forward('soap', 'error');
|
||||
|
||||
if (is_string($infos)){
|
||||
$this->view->assign('message', $infos);
|
||||
@ -244,13 +245,15 @@ class JuridiqueController extends Zend_Controller_Action
|
||||
$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' => WDate::dateT('Y-m-d','d/m/Y',$item->DateParution),
|
||||
'dateInsertionSD' => WDate::dateT('Y-m-d','d/m/Y',$item->dateInsertionSD),
|
||||
'DateParution' => $dateParution->toString('dd/MM/yyyy'),
|
||||
'dateInsertionSD' => $dateInsertion->toString('dd/MM/yyyy'),
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -267,10 +270,13 @@ class JuridiqueController extends Zend_Controller_Action
|
||||
*/
|
||||
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 SessionEntreprise($this->siret, $this->id);
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id);
|
||||
|
||||
$abbrev = array(
|
||||
' TGI ' => 'TRIBUNAL DE GRANDE INSTANCE DE ',
|
||||
@ -310,8 +316,11 @@ class JuridiqueController extends Zend_Controller_Action
|
||||
*/
|
||||
public function conventionsAction()
|
||||
{
|
||||
$this->view->headTitle()->prepend("Conventions Collectives");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$siren = substr($this->siret, 0,9);
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
$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());
|
||||
@ -328,12 +337,15 @@ class JuridiqueController extends Zend_Controller_Action
|
||||
*/
|
||||
public function marquesAction()
|
||||
{
|
||||
$this->view->headTitle()->prepend("Marques Déposées");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
|
||||
$this->view->headScript()->appendFile('/themes/default/scripts/marques.js', 'text/javascript');
|
||||
|
||||
$request = $this->getRequest();
|
||||
$idObject = $request->getParam('idObject', 0);
|
||||
$siren = substr($this->siret, 0,9);
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
$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());
|
||||
|
@ -2,13 +2,13 @@
|
||||
class LogoController extends Zend_Controller_Action
|
||||
{
|
||||
protected $pathLogo = '';
|
||||
|
||||
|
||||
public function init()
|
||||
{
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->pathLogo = $c->profil->path->data.'/logos';
|
||||
}
|
||||
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
$this->_helper->layout->disableLayout();
|
||||
@ -16,18 +16,18 @@ class LogoController extends Zend_Controller_Action
|
||||
$siren = $request->getParam('siren', '');
|
||||
$isin = $request->getParam('isin', '');
|
||||
$logo = $this->_findlogo($siren, $isin);
|
||||
|
||||
|
||||
$this->view->assign('siren', $siren);
|
||||
$this->view->assign('logo', $logo);
|
||||
}
|
||||
|
||||
|
||||
public function uploadAction()
|
||||
{
|
||||
$this->_helper->layout->disableLayout();
|
||||
$request = $this->getRequest();
|
||||
|
||||
|
||||
$siren = $request->getParam('siren');
|
||||
|
||||
|
||||
if ($request->isPost()) {
|
||||
|
||||
if ( !empty($siren) && isset($_FILES['file']) && $_FILES['file']['error']!=UPLOAD_ERR_NO_FILE )
|
||||
@ -66,25 +66,25 @@ class LogoController extends Zend_Controller_Action
|
||||
}
|
||||
$this->view->assign('siren', $siren);
|
||||
}
|
||||
|
||||
|
||||
public function cropAction()
|
||||
{
|
||||
$this->_helper->layout->disableLayout();
|
||||
$request = $this->getRequest();
|
||||
|
||||
|
||||
$siren = $request->getParam('siren');
|
||||
$image = $request->getParam('image');
|
||||
|
||||
|
||||
if ($request->isPost())
|
||||
{
|
||||
$jpeg_quality = 90;
|
||||
$png_quality = 9;
|
||||
|
||||
|
||||
list($name, $ext) = explode('.', $image);
|
||||
|
||||
|
||||
$src = $name.'.'.$ext;
|
||||
$dst = str_replace('tmp_', '', $src);
|
||||
|
||||
|
||||
//Création image
|
||||
switch($ext){
|
||||
case 'gif':
|
||||
@ -125,14 +125,14 @@ class LogoController extends Zend_Controller_Action
|
||||
}
|
||||
$this->view->assign('siren', $siren);
|
||||
}
|
||||
|
||||
|
||||
public function saveAction()
|
||||
{
|
||||
$this->_helper->layout->disableLayout();
|
||||
$request = $this->getRequest();
|
||||
|
||||
|
||||
$file = $request->getParam('image');
|
||||
|
||||
|
||||
if ( !empty($file) ) {
|
||||
list($name, $ext) = explode('.', $file);
|
||||
$name_dst = str_replace('tmp_','',$name);
|
||||
@ -196,79 +196,81 @@ class LogoController extends Zend_Controller_Action
|
||||
}
|
||||
}
|
||||
$this->view->assign('message', $message);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function urlAction()
|
||||
{
|
||||
$this->_helper->layout->disableLayout();
|
||||
$request = $this->getRequest();
|
||||
|
||||
|
||||
$siren = $request->getParam('siren');
|
||||
|
||||
|
||||
if ($request->isPost()){
|
||||
|
||||
require_once 'common/curl.php';
|
||||
|
||||
$logoUrl = $request->getParam('url');
|
||||
$tabTmp = parse_url($logoUrl);
|
||||
$hostUrl = $tabTmp['host'];
|
||||
$pathUrl = $tabTmp['path'];
|
||||
$tmp = explode('.', basename($pathUrl));
|
||||
$ext = strtolower(end($tmp));
|
||||
|
||||
$page = getUrl($logoUrl, '', '', '', false, $hostUrl, '', 7);
|
||||
$body = $page['body'];
|
||||
|
||||
|
||||
$extAuthorized = array('jpeg', 'jpg', 'png', 'gif', 'bmp');
|
||||
|
||||
|
||||
//Vérification fichier est une image
|
||||
if ( in_array($ext, $extAuthorized ) )
|
||||
{
|
||||
$name_file = $siren.'.'.$ext;
|
||||
$fp = fopen($this->pathLogo.'/'.$name_file, 'w');
|
||||
fwrite($fp, $body);
|
||||
fclose($fp);
|
||||
$this->view->assign('image', $name_file);
|
||||
|
||||
try {
|
||||
$client = new Zend_Http_Client($logoUrl);
|
||||
$client->setStream();
|
||||
$response = $client->request('GET');
|
||||
if ( $response->isSuccessful()
|
||||
&& copy($response->getStreamName(), $this->pathLogo.'/'.$name_file) ) {
|
||||
$this->view->assign('image', $name_file);
|
||||
}
|
||||
} catch (Zend_Http_Client_Exception $e) {}
|
||||
}
|
||||
$this->view->assign('isPost', true);
|
||||
}
|
||||
$this->view->assign('siren', $siren);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function deleteAction()
|
||||
{
|
||||
$this->_helper->layout->disableLayout();
|
||||
$request = $this->getRequest();
|
||||
|
||||
|
||||
$file = $request->getParam('image');
|
||||
|
||||
|
||||
if ( !empty($file) ){
|
||||
$message = "Erreur suppression fichier.";
|
||||
if ( unlink($this->pathLogo.'/'.$file)){
|
||||
$message = 'Fichier supprimé.';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$this->view->assign('message', $message);
|
||||
}
|
||||
|
||||
|
||||
//====> Function interne
|
||||
|
||||
|
||||
function _logo( $siren )
|
||||
{
|
||||
$message = '';
|
||||
if ( isset($_FILES['logoFile']) &&
|
||||
$_FILES['logoFile']['error']!=UPLOAD_ERR_NO_FILE ) {
|
||||
|
||||
|
||||
/** Un fichier a été uploadé **/
|
||||
$logoFile = $_FILES['logoFile'];
|
||||
$tmp_file = $logoFile['tmp_name'];
|
||||
|
||||
|
||||
if ( $logoFile['error']!=UPLOAD_ERR_OK ) {
|
||||
$message = 'Erreur lors de la copie du fichier';
|
||||
}
|
||||
|
||||
|
||||
if ( !is_uploaded_file($tmp_file) ){
|
||||
$message = "Le fichier est introuvable";
|
||||
} else {
|
||||
@ -294,9 +296,9 @@ class LogoController extends Zend_Controller_Action
|
||||
}
|
||||
//Suppression ou URL fichier image
|
||||
} elseif ( isset($_REQUEST['logoUrl']['del']) ||
|
||||
( isset($_REQUEST['logoUrl']['url']) &&
|
||||
$_REQUEST['logoUrl']['url']!='' ) ) {
|
||||
|
||||
( isset($_REQUEST['logoUrl']['url']) &&
|
||||
$_REQUEST['logoUrl']['url']!='' ) ) {
|
||||
|
||||
//Suppression du fichier
|
||||
if ( isset($_REQUEST['logoUrl']['del']) && $_REQUEST['logoUrl']['del'] )
|
||||
{
|
||||
@ -307,12 +309,12 @@ class LogoController extends Zend_Controller_Action
|
||||
}
|
||||
}
|
||||
} else {
|
||||
saisie_getlogo($siren);
|
||||
$this->_getlogo($siren);
|
||||
}
|
||||
}
|
||||
return $message;
|
||||
}
|
||||
|
||||
|
||||
function _saveimg( $siren )
|
||||
{
|
||||
$message = '';
|
||||
@ -349,7 +351,7 @@ class LogoController extends Zend_Controller_Action
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
||||
function _findlogo( $siren, $isin = '' )
|
||||
{
|
||||
$img = '';
|
||||
@ -372,14 +374,14 @@ class LogoController extends Zend_Controller_Action
|
||||
}
|
||||
return $img;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function _loadlogo( $siren, $isin = '' )
|
||||
{
|
||||
$urlImg = '';
|
||||
$locImg = $this->pathLogo.'/'.$siren;
|
||||
$extensions = array('jpeg', 'jpg', 'png', 'gif', 'bmp');
|
||||
|
||||
|
||||
//Recherche image sur base siren
|
||||
foreach ( $extensions as $ext ) {
|
||||
if ( file_exists($locImg.'.'.$ext) ) {
|
||||
@ -387,7 +389,7 @@ class LogoController extends Zend_Controller_Action
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//Recherche image sur base isin
|
||||
if ( $urlImg == '' && $isin != '' ) {
|
||||
$locImg = PATH_LOGOS . $isin;
|
||||
@ -398,7 +400,7 @@ class LogoController extends Zend_Controller_Action
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$output = '';
|
||||
//Redimensionnement
|
||||
if ( $urlImg != '' ) {
|
||||
@ -410,34 +412,36 @@ class LogoController extends Zend_Controller_Action
|
||||
} else {
|
||||
$strSize = '';
|
||||
}
|
||||
|
||||
|
||||
$output = '<img src="'.$urlImg.'" '.$strSize.'/>';
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
||||
function _getlogo( $siren )
|
||||
{
|
||||
require_once 'common/curl.php';
|
||||
$logoUrl = $_REQUEST['logoUrl']['url'];
|
||||
$tabTmp = parse_url($logoUrl);
|
||||
$hostUrl = $tabTmp['host'];
|
||||
$pathUrl = $tabTmp['path'];
|
||||
$tmp = explode('.', basename($pathUrl));
|
||||
$ext = strtolower(end($tmp));
|
||||
$page = getUrl($logoUrl, '', '', '', false, $hostUrl, '', 7);
|
||||
$body = $page['body'];
|
||||
$extAuthorized = array('jpeg', 'jpg', 'png', 'gif', 'bmp');
|
||||
if ( !in_array($ext, $extAuthorized ) )
|
||||
{
|
||||
$tmp = explode('/', $page['header']['Content-Type']);
|
||||
$ext = trim ( str_replace('?', '',strtolower(end($tmp)) ) );
|
||||
}
|
||||
$name_file = $siren.'.'.$ext;
|
||||
$fp = @fopen($this->pathLogo.'/'.$name_file, 'w');
|
||||
@fwrite($fp, $body);
|
||||
@fclose($fp);
|
||||
chmod($this->pathLogo.'/'.$name_file, 0755);
|
||||
|
||||
try {
|
||||
$client = new Zend_Http_Client($pathUrl);
|
||||
$client->setStream();
|
||||
$response = $client->request('GET');
|
||||
if ( $response->isSuccessful() ) {
|
||||
|
||||
$tmp = explode('.', basename($response->getStreamName()));
|
||||
$ext = strtolower(end($tmp));
|
||||
if ( !in_array($ext, $extAuthorized ) )
|
||||
{
|
||||
$tmp = explode('/', $page['header']['Content-Type']);
|
||||
$ext = trim ( str_replace('?', '',strtolower(end($tmp)) ) );
|
||||
}
|
||||
$name_file = $siren.'.'.$ext;
|
||||
if( copy($response->getStreamName(), $this->pathLogo.'/'.$name_file) ) {
|
||||
chmod($this->pathLogo.'/'.$name_file, 0755);
|
||||
}
|
||||
}
|
||||
} catch (Zend_Http_Client_Exception $e) {}
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -204,7 +204,7 @@ class MandataireController extends Zend_Controller_Action
|
||||
$tabEntrep = $ws->getIdentite($siren);
|
||||
if ($tabEntrep!==false){
|
||||
/**
|
||||
* Utiliser la raison sociale la plus longue
|
||||
* Utiliser la dénomination sociale la plus longue
|
||||
* Nom, Nom2, NomLong
|
||||
*/
|
||||
if (!empty($tabEntrep->NomLong) && strlen($tabEntrep->NomLong)>strlen($tabEntrep->Nom)){
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -85,7 +85,8 @@ class PrintController extends Zend_Controller_Action
|
||||
}
|
||||
break;
|
||||
case 'worldcheck':
|
||||
$params['matchIdentifier'] = $elements[2];
|
||||
$params['matchIdentifier'] = $elements[2];
|
||||
$params['nameType'] = $elements[3];
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
class RechercheController extends Zend_Controller_Action
|
||||
{
|
||||
protected $theme;
|
||||
|
||||
public function init()
|
||||
{
|
||||
@ -8,16 +9,15 @@ class RechercheController extends Zend_Controller_Action
|
||||
if(isset($_SESSION['recherche']['giant']))
|
||||
unset($_SESSION['recherche']['giant']);
|
||||
|
||||
require_once 'Scores/RechercheHistorique.php';
|
||||
require_once 'Scores/WsScores.php';
|
||||
|
||||
$theme = Zend_Registry::get('theme');
|
||||
$this->view->headScript()->appendFile($theme->pathScript.'/recherche.js', 'text/javascript');
|
||||
$this->theme = Zend_Registry::get('theme');
|
||||
$this->view->inlineScript()->appendFile($this->theme->pathScript.'/recherche.js', 'text/javascript');
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
$this->_forward('entreprise');
|
||||
$this->forward('entreprise');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -26,7 +26,7 @@ class RechercheController extends Zend_Controller_Action
|
||||
public function entrepriseAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$this->view->headTitle()->append('Recherche Entreprise');
|
||||
$this->view->headTitle()->prepend('Recherche Entreprise');
|
||||
$form = new Application_Form_RechercheEntreprise();
|
||||
if ( $request->isPost() || $request->isGet() ){
|
||||
$form->populate($request->getParams());
|
||||
@ -45,7 +45,7 @@ class RechercheController extends Zend_Controller_Action
|
||||
public function dirigeantAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$this->view->headTitle()->append('Recherche Dirigeant');
|
||||
$this->view->headTitle()->prepend('Recherche Dirigeant');
|
||||
$form = new Application_Form_RechercheDirigeant();
|
||||
if ( $request->isPost() || $request->isGet() ){
|
||||
$form->populate($request->getParams());
|
||||
@ -59,7 +59,7 @@ class RechercheController extends Zend_Controller_Action
|
||||
public function worldcheckAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$this->view->headTitle()->append('Recherche WorldCheck');
|
||||
$this->view->headTitle()->prepend('Recherche WorldCheck');
|
||||
$form = new Application_Form_RechercheWorldcheck();
|
||||
if ( $request->isPost() || $request->isGet() ){
|
||||
$form->populate($request->getParams());
|
||||
@ -87,9 +87,9 @@ class RechercheController extends Zend_Controller_Action
|
||||
*/
|
||||
public function annonceAction()
|
||||
{
|
||||
$this->view->headTitle()->append('Recherche Annonce');
|
||||
$this->view->headTitle()->prepend('Recherche Annonce');
|
||||
|
||||
$session = new RechercheHistorique();
|
||||
$session = new Scores_Session_Recherche();
|
||||
$recherche = $session->item(0);
|
||||
if ($recherche['type']=='annonce') {
|
||||
$params = $recherche['params']['formA'];
|
||||
@ -105,7 +105,7 @@ class RechercheController extends Zend_Controller_Action
|
||||
$params = $request->getParams();
|
||||
$token = $request->getParam('token', null);
|
||||
|
||||
$session = new RechercheHistorique();
|
||||
$session = new Scores_Session_Recherche();
|
||||
|
||||
if (array_key_exists('formA', $params)) {
|
||||
$token = $session->save('annonce', $params);
|
||||
@ -260,7 +260,7 @@ class RechercheController extends Zend_Controller_Action
|
||||
{
|
||||
$this->view->headTitle()->append('Liste des dernières recherches');
|
||||
// @todo : Attention lorsqu'il n'y pas de recherche enregistré
|
||||
$rechercheSession = new RechercheHistorique();
|
||||
$rechercheSession = new Scores_Session_Recherche();
|
||||
$derniereRecherche = $rechercheSession->item(0);
|
||||
$params = array_merge(array('type'=> $derniereRecherche['type']), $derniereRecherche['params']);
|
||||
$this->_forward('liste', 'recherche', null, $params);
|
||||
@ -269,7 +269,7 @@ class RechercheController extends Zend_Controller_Action
|
||||
public function listAction()
|
||||
{
|
||||
$this->view->headTitle()->append('Liste des dernières recherches');
|
||||
$rechercheSession = new RechercheHistorique();
|
||||
$rechercheSession = new Scores_Session_Recherche();
|
||||
$this->view->assign('historique', $rechercheSession->liste());
|
||||
}
|
||||
|
||||
@ -357,7 +357,7 @@ class RechercheController extends Zend_Controller_Action
|
||||
break;
|
||||
}
|
||||
|
||||
$rechercheParams = new RechercheHistorique();
|
||||
$rechercheParams = new Scores_Session_Recherche();
|
||||
|
||||
//Si le formulaire a été soumis alors on enregistre en session et on redirige
|
||||
if ( !empty($type) ) {
|
||||
@ -604,6 +604,8 @@ class RechercheController extends Zend_Controller_Action
|
||||
$item['siret'] = $etab->Siren.$etab->Nic;
|
||||
$item['InfoSiret'] = $etab->Siren.' '.$etab->Nic;
|
||||
$item['InfoNom'] = $etab->Nom;
|
||||
$item['source'] = $etab->Source;
|
||||
$item['sourceId'] = $etab->SourceId;
|
||||
|
||||
$nomDetail = '';
|
||||
if ($etab->Nom2<>'' || $etab->Enseigne<>'' || $etab->Sigle<>'') {
|
||||
@ -630,7 +632,6 @@ class RechercheController extends Zend_Controller_Action
|
||||
} else {
|
||||
$infoEtab.= 'Établissement secondaire ';
|
||||
}
|
||||
Zend_Registry::get('firebug')->info('Nic: '.$etab->Nic.' , Siege: '.$etab->Siege);
|
||||
|
||||
if ($etab->Actif==1){
|
||||
$infoEtab.= 'actif';
|
||||
@ -664,15 +665,14 @@ class RechercheController extends Zend_Controller_Action
|
||||
|
||||
$item['InfoEtab'] = $infoEtab;
|
||||
|
||||
$adresse = $etab->Adresse.'<br/>';
|
||||
if (isset($etab->Adresse2) && $etab->Adresse2 != '') {
|
||||
$adresse.= $etab->Adresse2.'<br/>';
|
||||
$adresse = $etab->Adresse;
|
||||
if ( !empty($etab->Adresse2) ) {
|
||||
$adresse.= '<br/>'.$etab->Adresse2;
|
||||
}
|
||||
$adresse.= "<b>".$etab->CP." ".$etab->Ville."</b>";
|
||||
|
||||
if (null === $etab->Pays) {
|
||||
$adresse.= '<br/><b>France</b>';
|
||||
} else {
|
||||
if ( !empty($etab->Ville) && intval($etab->CP) > 0) {
|
||||
$adresse.= '<br/><b>'.$etab->CP." ".$etab->Ville."</b>";
|
||||
}
|
||||
if (null !== $etab->Pays) {
|
||||
$adresse.= '<br/><b>'.$etab->Pays.'</b>';
|
||||
}
|
||||
|
||||
@ -925,7 +925,7 @@ class RechercheController extends Zend_Controller_Action
|
||||
$params = $request->getParams();
|
||||
$type = $request->getParam('type', '');
|
||||
|
||||
$rechercheParams = new RechercheHistorique();
|
||||
$rechercheParams = new Scores_Session_Recherche();
|
||||
|
||||
//Si le formulaire a été soumis alors on enregistre en session et on redirige
|
||||
if ( !empty($type) ) {
|
||||
@ -1070,7 +1070,7 @@ class RechercheController extends Zend_Controller_Action
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
|
||||
$rechercheParams = new RechercheHistorique();
|
||||
$rechercheParams = new Scores_Session_Recherche();
|
||||
//On selectionne en session
|
||||
if (count($rechercheParams->liste())>0){
|
||||
$recherche = $rechercheParams->item(0);
|
||||
@ -1179,8 +1179,7 @@ class RechercheController extends Zend_Controller_Action
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = $c->profil->path->files . '/'.$user->getIdClient().'-'.$user->getLogin().'-'.date('YmdHis').'.csv';
|
||||
|
||||
require_once 'Scores/ExportCSV.php';
|
||||
$export = new ExportCSV($etabs, 'rechercheEntreprise');
|
||||
$export = new Scores_Export_ArrayCsv($etabs, 'rechercheEntreprise');
|
||||
$export->writeFile($file);
|
||||
|
||||
$content_type = 'application/csv-tab-delimited-table';
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
class SaisieController extends Zend_Controller_Action
|
||||
{
|
||||
protected $wDate;
|
||||
|
||||
protected $countries;
|
||||
|
||||
protected $currencies;
|
||||
@ -83,12 +81,9 @@ class SaisieController extends Zend_Controller_Action
|
||||
public function init()
|
||||
{
|
||||
require_once 'Scores/WsScores.php';
|
||||
require_once 'Scores/SessionEntreprise.php';
|
||||
require_once 'Scores/IdentiteEntreprise.php';
|
||||
require_once 'common/dates.php';
|
||||
|
||||
$ws = new WsScores();
|
||||
$this->wDate = new WDate();
|
||||
//codPays3 (index), libPays, devise
|
||||
$countries = json_decode($ws->getCatalogCountry(),true);
|
||||
if ($countries!==false) {
|
||||
@ -144,7 +139,7 @@ class SaisieController extends Zend_Controller_Action
|
||||
$devises = $devisesReponse->result->item;
|
||||
|
||||
//Mise en session
|
||||
$session = new SessionEntreprise($siret, $id, true);
|
||||
$session = new Scores_Session_Entreprise($siret, $id, true);
|
||||
$session->setInfoEntrep($infos);
|
||||
|
||||
$sessionSaisie = new Zend_Session_Namespace('saisie');
|
||||
@ -285,7 +280,7 @@ class SaisieController extends Zend_Controller_Action
|
||||
$siret = $request->getParam('siret');
|
||||
$id = $request->getParam('id', 0);
|
||||
|
||||
$session = new SessionEntreprise($siret, $id);
|
||||
$session = new Scores_Session_Entreprise($siret, $id);
|
||||
|
||||
$ws = new WsScores();
|
||||
|
||||
@ -663,19 +658,23 @@ class SaisieController extends Zend_Controller_Action
|
||||
}
|
||||
if ( $isEditable && in_array($idanResult->source, array('JT', 'ANTE')))
|
||||
{
|
||||
$dateParution = new Zend_Date(substr($idanResult->dateSource,0,10), 'yyyy-MM-dd');
|
||||
$dateJugement = new Zend_Date($idanResult->dateEffetFinP, 'yyyy-MM-dd');
|
||||
$dateFinPeriode = new Zend_Date($idanResult->dateJugement, 'yyyy-MM-dd');
|
||||
|
||||
//Mapper idanResult dans le tableau de saisie
|
||||
$saisie = array(
|
||||
'source' => isset($_SESSION['source']) ? $_SESSION['source'] : $idanResult->source,
|
||||
'dateParution' => isset($_SESSION['dateParution']) ? $_SESSION['dateParution'] :
|
||||
$this->wDate->dateT('Y-m-d', 'd/m/Y', substr($idanResult->dateSource,0,10)),
|
||||
$dateParution->toString('dd/MM/yyyy'),
|
||||
'numParution' => isset($_SESSION['numParution']) ? $_SESSION['numParution'] : '',
|
||||
'dateJugement' => $this->wDate->dateT('Y-m-d', 'd/m/Y', $idanResult->dateEffetFinP),
|
||||
'dateJugement' => $dateJugement->toString('dd/MM/yyyy'),
|
||||
'tribunal' => $idanResult->tribunal,
|
||||
'even' => $idanResult->even->item,
|
||||
'eventNum' => $eventLimit,
|
||||
'comp' => $idanResult->complement,
|
||||
'montant' => $idanResult->montant,
|
||||
'dateFinPeriode' => $this->wDate->dateT('Y-m-d', 'd/m/Y', $idanResult->dateJugement),
|
||||
'dateFinPeriode' => $dateFinPeriode->toString('dd/MM/yyyy'),
|
||||
);
|
||||
|
||||
$intervenants = array();
|
||||
@ -807,7 +806,7 @@ class SaisieController extends Zend_Controller_Action
|
||||
|
||||
$this->view->inlineScript()->appendFile('/libs/form/jquery.form.js');
|
||||
if ( intval($siren)==0 ) {
|
||||
$session = new SessionEntreprise();
|
||||
$session = new Scores_Session_Entreprise();
|
||||
$siren = '';
|
||||
if ( substr($session->AutreId,0,1)=='W' ) {
|
||||
$siren = $session->AutreId;
|
||||
@ -830,7 +829,7 @@ class SaisieController extends Zend_Controller_Action
|
||||
$siren = substr($siret,0,9);
|
||||
$this->view->assign('siren', $siren);
|
||||
|
||||
$session = new SessionEntreprise($siret, $id);
|
||||
$session = new Scores_Session_Entreprise($siret, $id);
|
||||
$this->view->assign('siret', $siret);
|
||||
$this->view->assign('raisonSociale', $session->getRaisonSociale());
|
||||
|
||||
@ -1346,11 +1345,11 @@ class SaisieController extends Zend_Controller_Action
|
||||
//Override session session
|
||||
if ( intval($result->siren) != 0 ) {
|
||||
$siren = $result->siren;
|
||||
$session = new SessionEntreprise($siren);
|
||||
$session = new Scores_Session_Entreprise($siren);
|
||||
}
|
||||
|
||||
} elseif ($siren !== null) {
|
||||
$session = new SessionEntreprise($siren);
|
||||
$session = new Scores_Session_Entreprise($siren);
|
||||
$rs = $session->getRaisonSociale();
|
||||
}
|
||||
|
||||
@ -1364,6 +1363,7 @@ class SaisieController extends Zend_Controller_Action
|
||||
'T' => 'TUP',
|
||||
'L' => 'Tutelle',
|
||||
'E' => 'Franchise',
|
||||
'M' => 'Membre',
|
||||
);
|
||||
$this->view->assign('detention', $detention);
|
||||
|
||||
@ -1612,16 +1612,38 @@ class SaisieController extends Zend_Controller_Action
|
||||
$params['nat'] = '';
|
||||
}
|
||||
|
||||
if (empty($params['dateCapital'])) {
|
||||
$dateCapital = '';
|
||||
} else {
|
||||
$date = new Zend_Date($params['dateCapital'], 'dd/MM/yyyy');
|
||||
$dateCapital = $date->toString('yyyyMMdd');
|
||||
}
|
||||
|
||||
if (empty($params['naissance_date'])) {
|
||||
$dateNaissance = '';
|
||||
} else {
|
||||
$date = new Zend_Date($params['naissance_date'], 'dd/MM/yyyy');
|
||||
$dateNaissance = $date->toString('yyyyMMdd');
|
||||
}
|
||||
|
||||
if (empty($params['dateNbActions'])) {
|
||||
$dateNbActions = '';
|
||||
} else {
|
||||
$date = new Zend_Date($params['dateNbActions'], 'dd/MM/yyyy');
|
||||
$dateNbActions = $date->toString('yyyyMMdd');
|
||||
}
|
||||
|
||||
$infos = array(
|
||||
'siren' => $params['siren'],
|
||||
'actif' => 1,
|
||||
'actif' => (array_key_exists('actif', $params) && $params['actif']==0 ) ? 0 : 1,
|
||||
'PpPm' => $params['PpPm'],
|
||||
'RS' => strtoupper(trim($params['RS'])),
|
||||
'sigle' => empty($params['sigle']) ? '' : trim($params['sigle']),
|
||||
'civilite' => $params['civilite'],
|
||||
'nom' => strtoupper(trim($params['nom'])),
|
||||
'prenom' => ucfirst(trim($params['prenom'])),
|
||||
'nom_usage' => strtoupper(trim($params['nom_usage'])),
|
||||
'naissance_date' => empty($params['naissance_date']) ? '' : $this->wDate->dateT('d/m/Y','Ymd',$params['naissance_date']),
|
||||
'naissance_date' => $dateNaissance,
|
||||
'naissance_dept_pays' => $params['naissance_dept_pays'],
|
||||
'naissance_lieu' => $params['naissance_lieu'],
|
||||
'nat' => $params['nat'],
|
||||
@ -1640,9 +1662,9 @@ class SaisieController extends Zend_Controller_Action
|
||||
'dateSaisie' => date('YmdHis'),
|
||||
'capital' => empty($params['capital']) ? '' : trim($params['capital']),
|
||||
'deviseCapital' => empty($params['deviseCapital']) ? 'EUR' : $params['deviseCapital'],
|
||||
'dateCapital' => empty($params['dateCapital']) ? '' : $this->wDate->dateT('d/m/Y', 'Ymd', $params['dateCapital']),
|
||||
'dateCapital' => $dateCapital,
|
||||
'nbActions' => empty($params['nbActions']) ? '' : $params['nbActions'],
|
||||
'dateNbActions' => empty($params['dateNbActions']) ? '' : $this->wDate->dateT('d/m/Y', 'Ymd', $params['dateNbActions']),
|
||||
'dateNbActions' => $dateNbActions,
|
||||
'isin' => empty($params['isin']) ? '' : trim($params['isin']),
|
||||
'idLoc1Type' => $params['idLoc1Type'],
|
||||
'idLoc1Num' => trim($params['idLoc1Num']),
|
||||
@ -1712,9 +1734,17 @@ class SaisieController extends Zend_Controller_Action
|
||||
$params = $this->getRequest()->getParams();
|
||||
|
||||
if ($params['mode']=='delete') {
|
||||
|
||||
if (empty($params['dateEffetLien'])) {
|
||||
$dateEffetLien = '';
|
||||
} else {
|
||||
$date = new Zend_Date($params['dateEffetLien'], 'dd/MM/yyyy');
|
||||
$dateEffetLien = $date->toString('yyyyMMdd');
|
||||
}
|
||||
|
||||
$infos = array(
|
||||
'actif' => 0,
|
||||
'dateEffetLien' => empty($params['dateEffetLien']) ? date('Ymd') : $this->wDate->dateT('d/m/Y', 'Ymd', $params['dateEffetLien']),
|
||||
'dateEffetLien' => $dateEffetLien,
|
||||
'motifUpdate' => empty($params['motifUpdate']) ? '' : $params['motifUpdate'],
|
||||
);
|
||||
} else {
|
||||
@ -1727,6 +1757,12 @@ class SaisieController extends Zend_Controller_Action
|
||||
$idAct = $params['id1'];
|
||||
}
|
||||
|
||||
if (empty($params['dateEffetLien'])) {
|
||||
$date = new Zend_Date();
|
||||
} else {
|
||||
$date = new Zend_Date($params['dateEffetLien'], 'dd/MM/yyyy');
|
||||
}
|
||||
|
||||
$infos = array(
|
||||
'idAct' => $idAct,
|
||||
'actif' => 1,
|
||||
@ -1734,7 +1770,7 @@ class SaisieController extends Zend_Controller_Action
|
||||
'Pvote' => ($params['Pvote']=='') ? null : $params['Pvote'],
|
||||
'MajMin' => $params['MajMin'],
|
||||
'idPar' => $idPar,
|
||||
'dateEffetLien' => empty($params['dateEffetLien']) ? date('Ymd') : $this->wDate->dateT('d/m/Y', 'Ymd', $params['dateEffetLien']),
|
||||
'dateEffetLien' => $date->toString('yyyyMMdd'),
|
||||
'motifUpdate' => empty($params['motifUpdate']) ? '' : $params['motifUpdate'],
|
||||
);
|
||||
}
|
||||
@ -1780,6 +1816,13 @@ class SaisieController extends Zend_Controller_Action
|
||||
} else {
|
||||
$ws = new WsScores();
|
||||
$identite = $ws->getIdentite($siren);
|
||||
if (empty($identite->Bilan->Cloture)) {
|
||||
$dateCapital = '';
|
||||
} else {
|
||||
$date = new Zend_Date($identite->Bilan->Cloture, 'yyyyMMdd');
|
||||
$dateCapital = $date->toString('dd/MM/yyyy');
|
||||
}
|
||||
|
||||
$infos = array(
|
||||
'siren' => $siren,
|
||||
'actif' => 1,
|
||||
@ -1796,7 +1839,7 @@ class SaisieController extends Zend_Controller_Action
|
||||
'adresse_num' => $identite->AdresseNum,
|
||||
'adresse_btq' => $identite->AdresseBtq,
|
||||
'adresse_codvoie' => $identite->AdresseVoie,
|
||||
'adresse_libvoie' => $idenite->AdresseRue,
|
||||
'adresse_libvoie' => $identite->AdresseRue,
|
||||
'adresse_comp' => $identite->Adresse2,
|
||||
'adresse_cp' => $identite->CP,
|
||||
'adresse_ville' => $identite->Ville,
|
||||
@ -1804,8 +1847,7 @@ class SaisieController extends Zend_Controller_Action
|
||||
'dateSaisie' => date('YmdHis'),
|
||||
'capital' => $identite->Bilan->Capital,
|
||||
'deviseCapital' => 'EUR',
|
||||
'dateCapital' => empty($identite->Bilan->Cloture) ? '' :
|
||||
$this->wDate->dateT('Ymd','d/m/Y',$identite->Bilan->Cloture),
|
||||
'dateCapital' => $dateCapital,
|
||||
'nbActions' => '',
|
||||
'idLoc1Type' => '',
|
||||
'idLoc1Num' => '',
|
||||
@ -1855,8 +1897,8 @@ class SaisieController extends Zend_Controller_Action
|
||||
|
||||
if (!file_exists($path)) { mkdir($path); }
|
||||
|
||||
$date = $this->wDate->dateT('d/m/Y', 'Ymd', $params['fileDate']);
|
||||
$name = 'INTERNE-'.$params['idNum'].'-'.$params['fileType'].'-'.$date;
|
||||
$date = new Zend_Date($params['fileDate'],'dd/MM/yyyy');
|
||||
$name = 'INTERNE-'.$params['idNum'].'-'.$params['fileType'].'-'.$date->toString('yyyyMMdd');
|
||||
|
||||
$n = $_FILES['fichier']['name'];
|
||||
$s = $_FILES['fichier']['size'];
|
||||
@ -1877,7 +1919,7 @@ class SaisieController extends Zend_Controller_Action
|
||||
'idNum' => $params['idNum'],
|
||||
'periDoc' => $params['periDoc'],
|
||||
'docRef' => $name,
|
||||
'dateDocRef' => $date,
|
||||
'dateDocRef' => $date->toString('yyyyMMdd'),
|
||||
);
|
||||
|
||||
$ws = new WsScores();
|
||||
@ -1918,7 +1960,7 @@ class SaisieController extends Zend_Controller_Action
|
||||
|
||||
$this->view->headTitle()->append('Saisie - '.$siret);
|
||||
|
||||
$session = new SessionEntreprise($siret, $id);
|
||||
$session = new Scores_Session_Entreprise($siret, $id);
|
||||
$isin = $session->getIsin();
|
||||
|
||||
$ws = new WsScores();
|
||||
@ -1957,6 +1999,7 @@ class SaisieController extends Zend_Controller_Action
|
||||
Zend_Registry::get('firebug')->info($result);
|
||||
|
||||
$this->view->assign('nom',$result->Nom);
|
||||
$this->view->assign('sigle',$result->sigle);
|
||||
$this->view->assign('adresse_num',$result->AdresseNum);
|
||||
$this->view->assign('adresse_btq',$result->AdresseBtq);
|
||||
$this->view->assign('adresse_codvoie',$result->AdresseVoie);
|
||||
@ -1964,7 +2007,9 @@ class SaisieController extends Zend_Controller_Action
|
||||
$this->view->assign('adresse_comp',$result->Adresse2);
|
||||
$this->view->assign('adresse_cp',$result->CP);
|
||||
$this->view->assign('adresse_ville',$result->Ville);
|
||||
$this->view->assign('adresse_pays',$result->Pays);
|
||||
|
||||
$this->view->assign('actif',$result->Actif);
|
||||
$this->view->assign('tel',$result->Tel);
|
||||
$this->view->assign('fax',$result->Fax);
|
||||
$this->view->assign('web',$result->Web);
|
||||
@ -1973,7 +2018,8 @@ class SaisieController extends Zend_Controller_Action
|
||||
$this->view->assign('ape',$result->NafEnt);
|
||||
$this->view->assign('capital',$result->Bilan->Capital);
|
||||
$this->view->assign('deviseCapital', 'EUR');
|
||||
$this->view->assign('dateCapital', $this->wDate->dateT('Ymd','d/m/Y',$result->Bilan->Cloture));
|
||||
$date = new Zend_Date($result->Bilan->Cloture, 'yyyyMMdd');
|
||||
$this->view->assign('dateCapital', $date->toString('dd/MM/yyyy'));
|
||||
$this->view->assign('bilDev', 'EUR');
|
||||
$this->view->assign('bilMillesime', $result->Bilan->Millesime);
|
||||
$this->view->assign('bilFL', $result->Bilan->CA);
|
||||
@ -2030,8 +2076,10 @@ class SaisieController extends Zend_Controller_Action
|
||||
case 'dateCapital':
|
||||
case 'dateNbActions':
|
||||
case 'naissance_date':
|
||||
if (!empty($val) && $val!='0000-00-00')
|
||||
$this->view->assign($key, $this->wDate->dateT('Y-m-d', 'd/m/Y', $val));
|
||||
if (!empty($val) && $val!='0000-00-00') {
|
||||
$date = new Zend_Date($val, 'yyyy-MM-dd');
|
||||
$this->view->assign($key, $date->toString('dd/MM/yyyy'));
|
||||
}
|
||||
break;
|
||||
default:
|
||||
$this->view->assign($key, $val);
|
||||
@ -2090,6 +2138,47 @@ class SaisieController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function liendeleteAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
|
||||
$request = $this->getRequest();
|
||||
$id = $request->getParam('idFiche', null);
|
||||
$infos = array ('delete' => '1');
|
||||
|
||||
$ws = new WsScores();
|
||||
|
||||
if ($id===null) {
|
||||
$siren = $request->getParam('siren');
|
||||
|
||||
$result = $ws->searchLienRef($siren, 'siren');
|
||||
if (count($result->item)>0) {
|
||||
foreach ($result->item as $item) {
|
||||
$id = $item->id;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( $request->isPost() ) {
|
||||
if ($id == null) {
|
||||
$message = 'Fiche n\'est pas trouvée';
|
||||
} else {
|
||||
$checkLiens = $ws->getLiensById($id);
|
||||
if ($checkLiens->actionnaires->item || $checkLiens->participations->item || $checkLiens->directions->item) {
|
||||
$message = 'Presence des liens';
|
||||
} else {
|
||||
$result = $ws->setLienRef(json_encode($infos), $id);
|
||||
$message = ($result == 1)?'Fiche supprimée':'Erreur de suppression';
|
||||
}
|
||||
Zend_Registry::get('firebug')->info($checkLiens->participations->item);
|
||||
$this->view->assign('message', $message);
|
||||
}
|
||||
} else {
|
||||
$this->view->assign('id', $id);
|
||||
}
|
||||
}
|
||||
|
||||
public function scorecutoffAction()
|
||||
{
|
||||
@ -2167,4 +2256,228 @@ class SaisieController extends Zend_Controller_Action
|
||||
$this->view->assign('message', $message);
|
||||
$this->view->assign('refresh', $refresh);
|
||||
}
|
||||
|
||||
public function citysearchAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
|
||||
$cpVille = $this->getRequest()->getParam('cpville', null);
|
||||
$output = array();
|
||||
|
||||
if ( null !== $cpVille) {
|
||||
$city = new Application_Model_City();
|
||||
$sql = $city->select('code, libelle');
|
||||
if (is_numeric($cpVille) && strlen($cpVille)<6) {
|
||||
$sql->where("code LIKE '".$cpVille."%'");
|
||||
} else {
|
||||
$sql->where("libelle LIKE '%".$cpVille."%'");
|
||||
}
|
||||
$sql->limit(20);
|
||||
$rows = $city->fetchAll($sql);
|
||||
if ( count($rows)>0 ) {
|
||||
foreach ($rows as $item) {
|
||||
$output[] = array(
|
||||
'label' => str_pad($item->code, 5, 0, STR_PAD_LEFT).": ".$item->libelle,
|
||||
'value' => str_pad($item->code, 5, 0, STR_PAD_LEFT),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$this->view->assign('output', $output);
|
||||
}
|
||||
|
||||
/**
|
||||
* Edit contact information
|
||||
*/
|
||||
public function contactAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
if ( $request->isXmlHttpRequest() ) {
|
||||
$this->_helper->layout()->disableLayout();
|
||||
if ( $request->isPost() ) {
|
||||
|
||||
$this->view->assign('post', true);
|
||||
|
||||
$message = '';
|
||||
$mode = $request->getParam('mode');
|
||||
if( in_array($mode, array('create', 'edit')) ) {
|
||||
$params = $request->getParams();
|
||||
// check values
|
||||
$paramlist = array(
|
||||
'siret' => 'SIRET',
|
||||
'type' => 'Type',
|
||||
'value' => 'Valeur',
|
||||
);
|
||||
|
||||
foreach ($paramlist as $item => $val) {
|
||||
if (!isset($params[$item])) {
|
||||
$message .= "Valeur $val vide !<br/>";
|
||||
}
|
||||
}
|
||||
// end checking values
|
||||
|
||||
if ($message == '') {
|
||||
//setContactEt
|
||||
$ws = new WsScores();
|
||||
$result = $ws->setSaisieContactEt($siret, $type, $value, $info);
|
||||
|
||||
if ( is_string($result) ) {
|
||||
$this->view->assign('msg', $result);
|
||||
}
|
||||
|
||||
} else {
|
||||
$this->view->assign('msg', $message);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
$ws = new WsScores();
|
||||
$result = $ws->delSaisieContactEt($id);
|
||||
if ( is_string($result) ) {
|
||||
$this->view->assign('msg', $result);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
$mode = $request->getParam('mode');
|
||||
$id = $request->getParam('id');
|
||||
|
||||
if ($mode=='delete') {
|
||||
|
||||
$this->view->assign('mode', 'delete');
|
||||
|
||||
} else {
|
||||
|
||||
if ( $id !== null ) {
|
||||
$ws = new WsScores();
|
||||
$result = $ws->getSaisieContactEt($id);
|
||||
$data = json_decode($result);
|
||||
Zend_Registry::get('firebug')->info($data);
|
||||
$this->view->assign('id', $data->id);
|
||||
$this->view->assign('siret', str_pad($data->siren,9,'0',STR_PAD_LEFT).str_pad($data->nic,5,'0',STR_PAD_LEFT));
|
||||
$this->view->assign('type', $data->typeTel);
|
||||
if ($data->typeTel=='tel' || $data->typeTel=='fax' ) {
|
||||
$this->view->assign('value', str_pad($data->telephone,10,'0',STR_PAD_LEFT));
|
||||
$this->view->assign('info', $data->infoTel);
|
||||
} else {
|
||||
$this->view->assign('value', $data->infoTel);
|
||||
}
|
||||
|
||||
} else {
|
||||
$siret = $request->getParam('siret');
|
||||
$this->view->assign('siret', $siret);
|
||||
}
|
||||
|
||||
$this->view->telinfo = array(
|
||||
"accueil",
|
||||
"achats",
|
||||
"administratif",
|
||||
"affrètement",
|
||||
"agence",
|
||||
"agence commerciale",
|
||||
"agence industries",
|
||||
"atelier(s)",
|
||||
"bureau",
|
||||
"bureau d'étude",
|
||||
"centrale à béton",
|
||||
"centre de formation",
|
||||
"chef d'établissement",
|
||||
"comité d’établissement",
|
||||
"comité d'entreprise",
|
||||
"conseil",
|
||||
"conseil financier",
|
||||
"conseil immobilier",
|
||||
"construction",
|
||||
"coordination",
|
||||
"cuisine",
|
||||
"cuisine centrale",
|
||||
"déchetterie",
|
||||
"délégation départementale",
|
||||
"délégation régionale",
|
||||
"dépôt",
|
||||
"direction",
|
||||
"direction commerciale",
|
||||
"direction de l'environnement",
|
||||
"direction des ressources humaines",
|
||||
"direction financière",
|
||||
"direction générale",
|
||||
"direction logistique",
|
||||
"direction régionale",
|
||||
"direction technique",
|
||||
"direction usine",
|
||||
"distribution",
|
||||
"division surveillance",
|
||||
"douane",
|
||||
"entrepôt(s)",
|
||||
"facturation",
|
||||
"fournitures industrielles",
|
||||
"gardien",
|
||||
"gestion",
|
||||
"industrie",
|
||||
"inspection technique",
|
||||
"laboratoire",
|
||||
"local entretien",
|
||||
"local syndical",
|
||||
"magasin",
|
||||
"matériaux",
|
||||
"menuiserie",
|
||||
"négoce",
|
||||
"parking",
|
||||
"pièces détachées",
|
||||
"publicité",
|
||||
"rédaction",
|
||||
"répondeur",
|
||||
"renseignements",
|
||||
"salle d'exposition",
|
||||
"secrétariat",
|
||||
"secrétariat de direction",
|
||||
"service après vente/SAV",
|
||||
"service clients",
|
||||
"service commandes",
|
||||
"service commercial",
|
||||
"service commercial export",
|
||||
"service comptabilité",
|
||||
"service comptabilité fournisseurs",
|
||||
"service courrier",
|
||||
"service dépannage",
|
||||
"service entreprises",
|
||||
"service entretien",
|
||||
"service expéditions",
|
||||
"service exploitation",
|
||||
"service export",
|
||||
"service financier",
|
||||
"service formation",
|
||||
"service fournisseurs",
|
||||
"service import",
|
||||
"service informatique",
|
||||
"service international",
|
||||
"service locations",
|
||||
"service logistique",
|
||||
"service maintenance",
|
||||
"service maritime",
|
||||
"service production",
|
||||
"service qualité",
|
||||
"service technique",
|
||||
"service terrestre",
|
||||
"services généraux",
|
||||
"siège",
|
||||
"standard",
|
||||
"standard général",
|
||||
"standard usine",
|
||||
"syndicat",
|
||||
"transitaire",
|
||||
"transports",
|
||||
"travaux",
|
||||
"unité de production",
|
||||
"usine",
|
||||
);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -36,7 +36,6 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
public function init()
|
||||
{
|
||||
require_once 'Scores/WsScores.php';
|
||||
require_once 'common/dates.php';
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
@ -270,7 +269,12 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
|
||||
$request = $this->getRequest();
|
||||
|
||||
$page = $request->getParam('page', 0);
|
||||
$page = $request->getParam('page', 1);
|
||||
if ( $page == 0 ) $page = 1;
|
||||
$page = $page - 1;
|
||||
$nbAffichage = 50;
|
||||
$position = $page * $nbAffichage;
|
||||
|
||||
$source = $request->getParam('source', '');
|
||||
|
||||
$tri = $request->getParam('tri', 'siren');
|
||||
@ -280,14 +284,11 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
$this->view->assign('triMode', $triMode);
|
||||
|
||||
$q = $request->getParam('q', null);
|
||||
if ( $q == 'Siren, Référence, Raison Sociale' ) { $q = null; }
|
||||
if ( $q == 'Siren, Référence, Dénomination Sociale' ) { $q = null; }
|
||||
$this->view->assign('q', $q);
|
||||
|
||||
$detail = true;
|
||||
|
||||
$nbAffichage = 50;
|
||||
$position = $page*$nbAffichage;
|
||||
|
||||
switch ( $tri ) {
|
||||
default:
|
||||
case 'siren': $triws = 'siren'; break;
|
||||
@ -367,7 +368,7 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
$nbReponses = $infos->nbReponses;
|
||||
$nbSurveillances = $infos->nbReponsesTotal;
|
||||
$totPage = ceil($nbSurveillances/$nbAffichage);
|
||||
$curPage = ceil($position/$nbAffichage);
|
||||
$curPage = ceil($position/$nbAffichage)+1;
|
||||
|
||||
$this->view->assign('source', $source);
|
||||
$this->view->assign('selectTri', $selectTri);
|
||||
@ -395,7 +396,12 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
->appendFile('/themes/default/scripts/surveillance.js', 'text/javascript');
|
||||
|
||||
$request = $this->getRequest();
|
||||
$page = $request->getParam('page', 0);
|
||||
|
||||
$page = $request->getParam('page', 1);
|
||||
if ( $page == 0 ) $page = 1;
|
||||
$page = $page - 1;
|
||||
$nbAffichage = 100;
|
||||
$position = $page * $nbAffichage;
|
||||
|
||||
$siren = $request->getParam('siren', null);
|
||||
if ( $siren == 'Siren' ) { $siren = null; }
|
||||
@ -406,14 +412,11 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
$this->view->assign('ref', $ref);
|
||||
|
||||
$rs = $request->getParam('rs', null);
|
||||
if ( $rs == 'Raison Sociale' ) { $rs = null; }
|
||||
if ( $rs == 'Dénomination Sociale' ) { $rs = null; }
|
||||
$this->view->assign('rs', $rs);
|
||||
|
||||
$tri = $request->getParam('tri', 'siren');
|
||||
|
||||
$nbAffichage = 100;
|
||||
$position = $page*$nbAffichage;
|
||||
|
||||
switch ( $tri ){
|
||||
default:
|
||||
case 'siren': $triws = 'siren'; break;
|
||||
@ -566,7 +569,7 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
$nbReponses = $infos->nbReponses;
|
||||
$nbSurveillances = $infos->nbReponsesTotal;
|
||||
$totPage = ceil($nbSurveillances/$nbAffichage);
|
||||
$curPage = ceil($position/$nbAffichage);
|
||||
$curPage = ceil($position/$nbAffichage)+1;
|
||||
|
||||
$this->view->assign('nbReponses', $nbReponses);
|
||||
$this->view->assign('nbSurveillances', $nbSurveillances);
|
||||
@ -661,7 +664,7 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
$listeFichier = array();
|
||||
foreach($tabFichier as $fichier){
|
||||
$tabTmp = explode('_', $fichier);
|
||||
$date = Wdate::dateT('Ymd','d/m/Y', substr($tabTmp[2],0,8));
|
||||
$date = new Zend_Date(substr($tabTmp[2],0,8),'yyyyMMdd');
|
||||
$localfile = $path.'/'.$fichier;
|
||||
$dejaLu = false;
|
||||
if (!file_exists($localfile)) {
|
||||
@ -669,7 +672,7 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
}
|
||||
$result = array(
|
||||
'fichier' => $fichier,
|
||||
'date' => $date,
|
||||
'date' => $date->toString('dd/MM/yyyy'),
|
||||
'dejaLu' => $dejaLu,
|
||||
);
|
||||
$listeFichier[] = $result;
|
||||
@ -718,27 +721,27 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
}
|
||||
$this->view->assign('selectFiltre', $selectFiltre);
|
||||
|
||||
|
||||
//Récupération du fichier
|
||||
$file = $path.'/'.$nomFic;
|
||||
$file2 = $file.'.bz2';
|
||||
if (!file_exists($file) || filesize($file)==0 ) {
|
||||
//Génération du fichier
|
||||
try {
|
||||
$O = $client->getListeFichierSurv($user->getLogin(), $user->getPrenom(), $nomFic);
|
||||
} catch (SoapFault $fault) {}
|
||||
require_once 'common/curl.php';
|
||||
$page = getUrl('http://78.31.45.206/csv/'.$nomFic.'.bz2', '', '', '', false);
|
||||
$body = $page['body'];
|
||||
$fp=@fopen($file2, 'w');
|
||||
@fwrite($fp, $body);
|
||||
@fclose($fp);
|
||||
$bz = bzopen($file2, "r") or die("Impossible d'ouvrir le fichier $file");
|
||||
$fp=@fopen($file, 'w');
|
||||
while (!feof($bz)) {
|
||||
@fwrite($fp, bzread($bz, 4096));
|
||||
}
|
||||
bzclose($bz);
|
||||
|
||||
try {
|
||||
$client = new Zend_Http_Client('http://78.31.45.206/csv/'.$nomFic.'.bz2');
|
||||
$client->setStream();
|
||||
$response = $client->request('GET');
|
||||
if ( copy($response->getStreamName(), $file.'.bz2') ) {
|
||||
$bz = bzopen($file.'.bz2', "r") or die("Impossible d'ouvrir le fichier $file");
|
||||
$fp=fopen($file, 'w');
|
||||
while (!feof($bz)) {
|
||||
fwrite($fp, bzread($bz, 4096));
|
||||
}
|
||||
bzclose($bz);
|
||||
}
|
||||
} catch (Zend_Http_Client_Exception $e) {}
|
||||
}
|
||||
|
||||
$tab = array();
|
||||
@ -816,25 +819,25 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
|
||||
//Récupération du fichier
|
||||
$file = $path.'/'.$nomFic;
|
||||
$file2 = $file.'.bz2';
|
||||
if (!file_exists($file) || filesize($file)==0 ) {
|
||||
//Génération du fichier
|
||||
try {
|
||||
$O = $client->getListeFichierSurv($user->getLogin(), $user->getPrenom(), $nomFic);
|
||||
} catch (SoapFault $fault) {
|
||||
}
|
||||
require_once 'common/curl.php';
|
||||
$page = getUrl('http://78.31.45.206/csv/'.$nomFic.'.bz2', '', '', '', false);
|
||||
$body = $page['body'];
|
||||
$fp=@fopen($file2, 'w');
|
||||
@fwrite($fp, $body);
|
||||
@fclose($fp);
|
||||
$bz = bzopen($file2, "r") or die("Impossible d'ouvrir le fichier $file");
|
||||
$fp=@fopen($file, 'w');
|
||||
while (!feof($bz)) {
|
||||
@fwrite($fp, bzread($bz, 4096));
|
||||
}
|
||||
bzclose($bz);
|
||||
} catch (SoapFault $fault) {}
|
||||
|
||||
try {
|
||||
$client = new Zend_Http_Client('http://78.31.45.206/csv/'.$nomFic.'.bz2');
|
||||
$client->setStream();
|
||||
$response = $client->request('GET');
|
||||
if ( copy($response->getStreamName(), $file.'.bz2') ) {
|
||||
$bz = bzopen($file.'.bz2', "r") or die("Impossible d'ouvrir le fichier $file");
|
||||
$fp=fopen($file, 'w');
|
||||
while (!feof($bz)) {
|
||||
fwrite($fp, bzread($bz, 4096));
|
||||
}
|
||||
bzclose($bz);
|
||||
}
|
||||
} catch (Zend_Http_Client_Exception $e) {}
|
||||
}
|
||||
|
||||
$content_type = 'application/csv-tab-delimited-table';
|
||||
@ -902,25 +905,25 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
|
||||
//Récupération du fichier
|
||||
$file = $path.'/'.$nomFic;
|
||||
$file2 = $file.'.bz2';
|
||||
if (!file_exists($file) || filesize($file)==0 ) {
|
||||
//Génération du fichier
|
||||
try {
|
||||
$O = $client->getListeFichierSurv($user->getLogin(), $user->getPrenom(), $nomFic);
|
||||
} catch (SoapFault $fault) {
|
||||
}
|
||||
require_once 'common/curl.php';
|
||||
$page = getUrl('http://78.31.45.206/csv/'.$nomFic.'.bz2', '', '', '', false);
|
||||
$body = $page['body'];
|
||||
$fp=@fopen($file2, 'w');
|
||||
@fwrite($fp, $body);
|
||||
@fclose($fp);
|
||||
$bz = bzopen($file2, "r") or die("Impossible d'ouvrir le fichier $file");
|
||||
$fp=@fopen($file, 'w');
|
||||
while (!feof($bz)) {
|
||||
@fwrite($fp, bzread($bz, 4096));
|
||||
}
|
||||
bzclose($bz);
|
||||
} catch (SoapFault $fault) {}
|
||||
|
||||
try {
|
||||
$client = new Zend_Http_Client('http://78.31.45.206/csv/'.$nomFic.'.bz2');
|
||||
$client->setStream();
|
||||
$response = $client->request('GET');
|
||||
if ( copy($response->getStreamName(), $file.'.bz2') ) {
|
||||
$bz = bzopen($file.'.bz2', "r") or die("Impossible d'ouvrir le fichier $file");
|
||||
$fp=fopen($file, 'w');
|
||||
while (!feof($bz)) {
|
||||
fwrite($fp, bzread($bz, 4096));
|
||||
}
|
||||
bzclose($bz);
|
||||
}
|
||||
} catch (Zend_Http_Client_Exception $e) {}
|
||||
}
|
||||
|
||||
$tab = array();
|
||||
|
@ -24,8 +24,6 @@ class TelechargementController extends Zend_Controller_Action
|
||||
{
|
||||
if (!is_dir($this->path)) mkdir($this->path);
|
||||
|
||||
require_once 'common/curl.php';
|
||||
|
||||
// Recuperation du nom du fichier
|
||||
if ($filename===null) {
|
||||
$tableau = explode('/', $url);
|
||||
@ -48,29 +46,23 @@ class TelechargementController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
// Recuperation du fichier sur le serveur
|
||||
if (!file_exists($this->path.'/'.$file)) {
|
||||
if (file_exists($this->path.'/'.$file)) {
|
||||
return $file;
|
||||
} else {
|
||||
// On check si le fichier est present sur l'url
|
||||
Zend_Registry::get('firebug')->info('URL : '.$url);
|
||||
$url_tab = getUrl($url, '', '', '', false);
|
||||
if ($url_tab['code'] == 408 ||
|
||||
$url_tab['code'] == 400 ||
|
||||
$url_tab['code'] == 404) {
|
||||
// Fichier non disponible
|
||||
Zend_Registry::get('firebug')->info('Fichier non disponible !');
|
||||
return false;
|
||||
} else {
|
||||
// Ecriture du fichier sur le serveur en local
|
||||
$body = $url_tab['body'];
|
||||
Zend_Registry::get('firebug')->info('Taille fichier '.strlen($body));
|
||||
if ( strlen($body) ) {
|
||||
$fp = fopen($this->path.'/'.$file, 'w');
|
||||
fwrite($fp, $body);
|
||||
fclose($fp);
|
||||
Zend_Registry::get('firebug')->info('Ecriture fichier : '.$this->path.'/'.$file);
|
||||
}
|
||||
}
|
||||
try {
|
||||
$client = new Zend_Http_Client($url);
|
||||
$client->setStream();
|
||||
$response = $client->request('GET');
|
||||
if ( $response->isSuccessful() && copy($response->getStreamName(), $this->path.'/'.$file) ) {
|
||||
return $file;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
} catch (Zend_Http_Client_Exception $e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return $file;
|
||||
}
|
||||
|
||||
public function init()
|
||||
|
@ -354,7 +354,7 @@ class UserController extends Zend_Controller_Action
|
||||
$pass = $form->getValue('pass');
|
||||
|
||||
$auth = Zend_Auth::getInstance();
|
||||
$authAdapter = new Scores_AuthAdapter($login, md5($login.'|'.$pass));
|
||||
$authAdapter = new Scores_Auth_Adapter_Ws($login, md5($login.'|'.$pass));
|
||||
$result = $auth->authenticate($authAdapter);
|
||||
|
||||
//Auth is valid
|
||||
@ -614,7 +614,7 @@ class UserController extends Zend_Controller_Action
|
||||
$mailbody .= "<tr bgcolor='#eeeeee'><td><strong>Prénom:</strong></td><td>".$params['prenom']."</td></tr>";
|
||||
$mailbody .= "<tr><td><strong>Fonction:</strong></td><td>".$params['fonction']."</td></tr>";
|
||||
$mailbody .= "<tr bgcolor='#eeeeee'><td><strong>Service:</strong></td><td>".$params['service']."</td></tr>";
|
||||
$mailbody .= "<tr><td><strong>Raison Sociale:</strong></td><td>".$params['rsociale']."</td></tr></table>";
|
||||
$mailbody .= "<tr><td><strong>Dénomination Sociale:</strong></td><td>".$params['rsociale']."</td></tr></table>";
|
||||
$mailbody .= "<p>Si les informations fournies ne permettent pas d'identifier correctement l'utilisateur, ";
|
||||
$mailbody .= "merci d'émettre un message sur le mail communiquer en précisant que \"Les éléments confiés ne permettent pas d'identifier l'utilisateur ";
|
||||
$mailbody .= "et par conséquence de vous délivrer les codes d'accès demandés\".<br />";
|
||||
@ -637,7 +637,6 @@ class UserController extends Zend_Controller_Action
|
||||
|
||||
}
|
||||
$this->view->assign('message', $message);
|
||||
}
|
||||
$this->view->assign('params', $params);
|
||||
}
|
||||
}
|
||||
}
|
@ -6,7 +6,6 @@ class WorldcheckController extends Zend_Controller_Action
|
||||
public function init()
|
||||
{
|
||||
require_once 'WorldCheck/WsWorldCheck.php';
|
||||
require_once 'WorldCheck/SessionWorldcheck.php';
|
||||
require_once 'Scores/Cache.php';
|
||||
|
||||
$configWC = new Zend_Config_Ini(APPLICATION_PATH . '/../library/WorldCheck/applicationWC.ini');
|
||||
@ -14,7 +13,7 @@ class WorldcheckController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Get nameIdentifier and set all data into the session
|
||||
*/
|
||||
public function indexAction()
|
||||
{
|
||||
@ -24,27 +23,62 @@ class WorldcheckController extends Zend_Controller_Action
|
||||
$param->dirNom = ($dirNom)?$dirNom:$request->getParam('dirSociete');
|
||||
$param->dirPrenom = $request->getParam('dirPrenom');
|
||||
$param->dirType = $request->getParam('dirType');
|
||||
$param->Siren = $request->getParam('siren');
|
||||
|
||||
$entityId = $request->getParam('entityId', null);
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
$session = new SessionWorldcheck();
|
||||
$wc = new WsWorldCheck();
|
||||
$wcLocal = new Application_Model_Worldcheck();
|
||||
|
||||
//check worldcheck data correctness in the session
|
||||
if (!$session->getName() || $session->getName()!=$param->dirNom || substr($session->getNameIdentifier(),0,3)!='so_' || $session->getNameType()!=$param->dirType)
|
||||
{
|
||||
$param->idClient = $user->getIdClient();
|
||||
$param->login = $user->getLogin();
|
||||
$localDBParams = $wcLocal->getScreenerId($param);
|
||||
$param->matchCount = $localDBParams->matchCount;
|
||||
$param->nameIdentifier = $localDBParams->nameIdentifier;
|
||||
$session->setSession($param);
|
||||
$param->idClient = $user->getIdClient();
|
||||
$param->login = $user->getLogin();
|
||||
$localDBParams = $wcLocal->getScreenerId($param);
|
||||
$param->matchCount = $localDBParams->matchCount;
|
||||
$param->nameIdentifier = $localDBParams->nameIdentifier;
|
||||
|
||||
if ($entityId===null) {
|
||||
//$this->_redirect('/worldcheck/list');
|
||||
$params = array(
|
||||
'nameIdentifier' => $param->nameIdentifier,
|
||||
'matchCount' => $param->matchCount
|
||||
);
|
||||
$this->forward('list', null, null, $params);
|
||||
} else {
|
||||
$id = $request->getParam('id', null);
|
||||
|
||||
$data = new stdClass();
|
||||
$data->nameIdentifier = $param->nameIdentifier;
|
||||
$data->matchType = 'WATCHLIST';
|
||||
$matchArr = $wc->getMatchesArrName($data);
|
||||
|
||||
$paramAssoc = new stdClass();
|
||||
$paramAssoc->matchIdentifier = $matchArr[$entityId];
|
||||
$paramAssoc->nameType = $param->dirType;
|
||||
|
||||
$nodeParam = $wc->getAssociates($paramAssoc);
|
||||
$wcLocal->setTree($nodeParam);
|
||||
|
||||
$this->redirect('/worldcheck/orgchildren/entityid/'.$entityId.'/id/'.$id);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* List results of WorldCheck search
|
||||
*/
|
||||
public function listAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
|
||||
$nameIdentifier = $session->getNameIdentifier();
|
||||
$matchCount = $session->getMatchCount();
|
||||
|
||||
$wc = new WsWorldCheck();
|
||||
$param = new stdClass();
|
||||
|
||||
$nameIdentifier = $request->getParam('nameIdentifier');
|
||||
$matchCount = $request->getParam('matchCount');
|
||||
$dirNom = $request->getParam('dirNom');
|
||||
$param->dirNom = ($dirNom)?$dirNom:$request->getParam('dirSociete');
|
||||
$param->dirPrenom = $request->getParam('dirPrenom');
|
||||
$param->dirType = $request->getParam('dirType');
|
||||
print_r($param);
|
||||
if ($matchCount!==0)
|
||||
{
|
||||
$summary = new stdClass();
|
||||
@ -126,6 +160,15 @@ class WorldcheckController extends Zend_Controller_Action
|
||||
if ($request->getParam('dirNom')) $data->Nom = $request->getParam('dirNom');
|
||||
if ($request->getParam('dirPrenom')) $data->Prenom = $request->getParam('dirPrenom');
|
||||
if ($request->getParam('dirSociete')) $data->Societe = $request->getParam('dirSociete');
|
||||
|
||||
$data->Soc = new stdClass();
|
||||
if ($request->getParam('dirSocNom2')) $data->Soc->Nom2 = $request->getParam('dirSocNom2');
|
||||
if ($request->getParam('dirSocNomLong')) $data->Soc->NomLong = $request->getParam('dirSocNomLong');
|
||||
if ($request->getParam('dirSocCommercial')) $data->Soc->NomCommercial = $request->getParam('dirSocCommercial');
|
||||
if ($request->getParam('dirSocSigle')) $data->Soc->Sigle = $request->getParam('dirSocSigle');
|
||||
if ($request->getParam('dirSocSigleLong')) $data->Soc->SigleLong = $request->getParam('dirSocSigleLong');
|
||||
if ($request->getParam('dirSocEnseigne')) $data->Soc->Enseigne = $request->getParam('dirSocEnseigne');
|
||||
if ($request->getParam('dirSocEnseigneLong')) $data->Soc->EnseigneLong = $request->getParam('dirSocEnseigneLong');
|
||||
|
||||
$wcLocal = new Application_Model_Worldcheck();
|
||||
$this->view->assign('occurrence', $wcLocal->getCount($data));
|
||||
@ -139,20 +182,147 @@ class WorldcheckController extends Zend_Controller_Action
|
||||
public function matchcontentAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$session = new SessionWorldcheck();
|
||||
|
||||
$param = new stdClass();
|
||||
$param->matchIdentifier = $request->getParam('matchIdentifier');
|
||||
$param->nameType = $session->getNameType();
|
||||
$param->nameType = $request->getParam('nameType');
|
||||
|
||||
$wc = new WsWorldCheck();
|
||||
$nodeParam = $wc->getAssociates($param);
|
||||
|
||||
$db = new Application_Model_Worldcheck();
|
||||
$db->setTree($nodeParam);
|
||||
|
||||
$cache = new Cache();
|
||||
$content = $cache->wcCache($this->wcConfig['cachedir'], $wc, "getDetailsContent", $param, $param->matchIdentifier);
|
||||
|
||||
$this->view->assign('matchIdentifier', $param->matchIdentifier);
|
||||
$this->view->assign('content', $content);
|
||||
$this->view->assign('content', $content[0]);
|
||||
$this->view->assign('nameType', $param->nameType);
|
||||
$this->view->assign('exportObjet', $content);
|
||||
$this->view->assign('exportObjet', $content[0]);
|
||||
}
|
||||
|
||||
/**
|
||||
* le Parent de l'organigramme des associés
|
||||
*/
|
||||
public function organigrammeAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$wc = new WsWorldCheck();
|
||||
|
||||
$request = $this->getRequest();
|
||||
$entityId = $request->getParam('entityid', null);
|
||||
|
||||
$wcLocal = new Application_Model_Worldcheck();
|
||||
$currentBranch = $wcLocal->getTree($entityId);
|
||||
|
||||
$primary = $currentBranch['primary'];
|
||||
|
||||
$parent = array();
|
||||
|
||||
$data = new stdClass();
|
||||
$data->title = $primary['fullName'];
|
||||
$data->icon = "/themes/default/images/worldcheck/".strtolower($primary['nameType']).".png";
|
||||
|
||||
$attr = new stdClass();
|
||||
$attr->id = uniqid('wc_');
|
||||
$attr->entityId = $primary['entityId'];
|
||||
$attr->nameType = $primary['nameType'];
|
||||
$attr->lastName = $primary['lastName'];
|
||||
$attr->givenName = $primary['givenName'];
|
||||
|
||||
$parent[] = array(
|
||||
"data" => $data,
|
||||
"attr" => $attr,
|
||||
"state" => "closed",
|
||||
"parent" => "#"
|
||||
);
|
||||
|
||||
$jData = json_encode($parent);
|
||||
$this->view->assign('data', $jData);
|
||||
}
|
||||
|
||||
/**
|
||||
* les associés du parent de l'organigramme
|
||||
*/
|
||||
public function orgchildrenAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$wc = new WsWorldCheck();
|
||||
|
||||
$request = $this->getRequest();
|
||||
$entityId = $request->getParam('entityid', null);
|
||||
$id = $request->getParam('id', null);
|
||||
|
||||
$wcLocal = new Application_Model_Worldcheck();
|
||||
$currentBranch = $wcLocal->getTree($entityId);
|
||||
|
||||
$associates = $currentBranch['associates'];
|
||||
|
||||
$children = array();
|
||||
|
||||
foreach ($associates as $associate) {
|
||||
|
||||
$data = new stdClass();
|
||||
$data->title = $associate['fullName'];
|
||||
$data->icon = "/themes/default/images/worldcheck/".strtolower($associate['nameType']).".png";
|
||||
|
||||
$attr = new stdClass();
|
||||
$attr->id = uniqid('wc_');
|
||||
$attr->entityId = $associate['entityId'];
|
||||
$attr->nameType = $associate['nameType'];
|
||||
$attr->lastName = $associate['lastName'];
|
||||
$attr->givenName = $associate['givenName'];
|
||||
|
||||
$children[] = array(
|
||||
"data" => $data,
|
||||
"attr" => $attr,
|
||||
"state" => "closed",
|
||||
"parent" => $id,
|
||||
);
|
||||
}
|
||||
|
||||
$jData = json_encode($children);
|
||||
$this->view->assign('data', $jData);
|
||||
}
|
||||
|
||||
/**
|
||||
* Affichage de l'information courte de chaque node dans le popup
|
||||
*/
|
||||
public function popupAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$request = $this->getRequest();
|
||||
$entityId = $request->getParam('entityId', null);
|
||||
$entityIdP = $request->getParam('entityIdP', null);
|
||||
|
||||
$wc = new WsWorldCheck();
|
||||
$user = new Scores_Utilisateur();
|
||||
|
||||
$paramP = new stdClass();
|
||||
$paramP->idClient = $user->getIdClient();
|
||||
$paramP->dirNom = $request->getParam('dirNomP');
|
||||
$paramP->dirPrenom = $request->getParam('dirPrenomP');
|
||||
$paramP->dirType = $request->getParam('dirTypeP');
|
||||
|
||||
$wcLocal = new Application_Model_Worldcheck();
|
||||
$result = $wcLocal->getScreenerId($paramP);
|
||||
|
||||
$data = new stdClass();
|
||||
$data->nameIdentifier = $result->nameIdentifier;
|
||||
$data->matchType = "WATCHLIST";
|
||||
$matches = $wc->getMatchesArrName($data);
|
||||
|
||||
$param = new stdClass();
|
||||
$param->matchIdentifier = $matches[$entityIdP];
|
||||
$param->nameType = $paramP->dirType;
|
||||
$associates = $wc->getAssociates($param);
|
||||
|
||||
foreach($associates['associates'] as $assoc)
|
||||
{
|
||||
if ($assoc['entityId']==$entityId)
|
||||
break;
|
||||
}
|
||||
|
||||
$this->view->assign('data', $assoc);
|
||||
}
|
||||
}
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -1,31 +1,4 @@
|
||||
<?php
|
||||
//General
|
||||
$this->translate('Scores & Decisions');
|
||||
$this->translate('Page');
|
||||
$this->translate('Dernière mise à jour le');
|
||||
$this->translate('Oui');
|
||||
$this->translate('Non');
|
||||
$this->translate('Edition');
|
||||
$this->translate('Mettre sous surveillance');
|
||||
$this->translate('Néant');
|
||||
$this->translate('Aucune information');
|
||||
$this->translate('Mois');
|
||||
|
||||
//Bouttons
|
||||
$this->translate('Recherche');
|
||||
$this->translate('Effacer');
|
||||
$this->translate('Ok');
|
||||
$this->translate('Sauver');
|
||||
$this->translate('ici');
|
||||
$this->translate('Modifier le client');
|
||||
$this->translate('Valider');
|
||||
|
||||
//Header
|
||||
|
||||
//Footer
|
||||
$this->translate('Mentions légales');
|
||||
$this->translate('Scores & Decisions SAS - Tous droits réservés - ');
|
||||
|
||||
//Menu
|
||||
$this->translate('RECHERCHES');
|
||||
$this->translate('Rechercher une entreprise');
|
||||
@ -92,868 +65,4 @@ $this->translate('GESTION S&D');
|
||||
$this->translate('Gestion');
|
||||
$this->translate('Saisie / Edition');
|
||||
$this->translate('Saisie Fiche Etrangère');
|
||||
|
||||
//Rechercher une entreprise
|
||||
$this->translate('RECHERCHE ENTREPRISE');
|
||||
$this->translate('SIREN');
|
||||
$this->translate('RAISON SOCIALE / ENSEIGNE / SIGLE');
|
||||
$this->translate('N° & Voie');
|
||||
$this->translate('CP OU DÉP. / VILLE');
|
||||
$this->translate('TÉL / FAX');
|
||||
$this->translate('NAF');
|
||||
$this->translate('Forme Juridique');
|
||||
$this->translate('Pays');
|
||||
$this->translate('Recherche par SIREN, SIRET, N° TVA intracommunautaire, N° RC, R.N.A., ISIN');
|
||||
$this->translate('Accès direct à la fiche identité (Racourci clavier : Maintenir CTRL puis ENTREE)');
|
||||
$this->translate('France');
|
||||
$this->translate('Belgique');
|
||||
$this->translate('Espagne');
|
||||
$this->translate('Royaume-Uni');
|
||||
$this->translate('Pays-Bas');
|
||||
|
||||
//Rechercher par dirigeant
|
||||
$this->translate('RECHERCHE DIRIGEANT');
|
||||
$this->translate('PRENOM');
|
||||
$this->translate('NOM');
|
||||
$this->translate('DATE NAISSANCE');
|
||||
$this->translate('CP OU DEP. / VILLE DE NAISSANCE');
|
||||
|
||||
//Rechercher une annonce
|
||||
$this->translate('Rechercher une annonce');
|
||||
$this->translate('Source');
|
||||
$this->translate('Bodacc');
|
||||
$this->translate('Historique jusqu\'à');
|
||||
$this->translate('Année ou Date de parution');
|
||||
$this->translate('Numéro de parution');
|
||||
$this->translate('Page');
|
||||
$this->translate('Numéro d\'annonce');
|
||||
$this->translate('BODACC / BORC');
|
||||
$this->translate('JO Association');
|
||||
$this->translate('BALO');
|
||||
$this->translate('Désélection');
|
||||
|
||||
//Rechercher par actionnaire
|
||||
$this->translate('RECHERCHE PAR ACTIONNAIRE');
|
||||
$this->translate('SIREN');
|
||||
$this->translate('RAISON SOCIAL / NOM');
|
||||
$this->translate('CP OU DEP./VILLE');
|
||||
$this->translate('PAYS');
|
||||
$this->translate('PAR ACTION, DE');
|
||||
$this->translate('A');
|
||||
|
||||
//Dernière recherche
|
||||
$this->translate('réponses avec les critères');
|
||||
$this->translate('résultats affichés.');
|
||||
$this->translate('Exporter les résultats de la recherche en CSV.');
|
||||
$this->translate('Si aucun résultat ne correspond à votre recherche.');
|
||||
$this->translate('Cliquez-ici.');
|
||||
$this->translate('Afficher tous les résultats');
|
||||
$this->translate('Afficher uniquement les actifs');
|
||||
$this->translate('Afficher uniquement les inactifs');
|
||||
|
||||
//Liste des dernières recherches
|
||||
$this->translate('LISTE DE VOS DERNIÈRES RECHERCHE');
|
||||
$this->translate('RECHERCHE ENTREPRISE');
|
||||
$this->translate('Lancer la recherche');
|
||||
$this->translate('Afficher le formulaire');
|
||||
|
||||
//Fiche d'identité
|
||||
$this->translate('FICHE D\'IDENTITÉ');
|
||||
$this->translate('Numéro identifiant Siret');
|
||||
$this->translate('Numéro de TVA Intracom.');
|
||||
$this->translate('Numéro R.C.');
|
||||
$this->translate('Etablissement actif');
|
||||
$this->translate('Situation au répertoire SIRENE');
|
||||
$this->translate('Situation juridique Actif au RCS');
|
||||
$this->translate('Raison sociale & Coordonnées');
|
||||
$this->translate('Raison Sociale');
|
||||
$this->translate('Forme juridique');
|
||||
$this->translate('Date d\'immatriculation');
|
||||
$this->translate('Création de l\'entreprise');
|
||||
$this->translate('Création de l\'établissement');
|
||||
$this->translate('Adresse');
|
||||
$this->translate('Téléphone');
|
||||
$this->translate('Fax');
|
||||
$this->translate('Site Internet');
|
||||
$this->translate('Courriel');
|
||||
$this->translate('Activité(s) & Chiffre d\'affaires');
|
||||
$this->translate('Activité de l\'entreprise');
|
||||
$this->translate('Activité de l\'établissement');
|
||||
$this->translate('Anciens codes NAF');
|
||||
$this->translate('Codes NACE');
|
||||
$this->translate('Type d\'exploitation');
|
||||
$this->translate('Nombre d\'établissements actifs');
|
||||
$this->translate('Capital');
|
||||
$this->translate('Chiffre d\'affaires estimé');
|
||||
$this->translate('Principaux Dirigeants');
|
||||
$this->translate('Effectif de l\'entreprise');
|
||||
$this->translate('Localisation géographique');
|
||||
$this->translate('Information géographique :');
|
||||
$this->translate('Latitude :');
|
||||
$this->translate('Longitude :');
|
||||
$this->translate('Afficher l\'adresse sur Google Map');
|
||||
$this->translate('Code commune / Rivoli :');
|
||||
$this->translate('Iris :');
|
||||
$this->translate('Code :');
|
||||
$this->translate('Libellé :');
|
||||
$this->translate('Information presse (Source Google News ©)');
|
||||
$this->translate('La consultation ou la réception de documents n\'entraîne aucun transfert de droit de propriété intellectuelle en faveur du Client. Ce dernier s\'engage à ne pas rediffuser ou reproduire les données fournies autrement que pour son usage dans le cadre de la relation contractuelle établie entre Scores & Decisions SAS et "le Client".');
|
||||
|
||||
//Fiche Procédure Collective
|
||||
$this->translate('FICHE PROCÉDURE COLLECTIVES');
|
||||
$this->translate('Numéro identifiant Siret');
|
||||
$this->translate('Numéro de TVA Intracom.');
|
||||
$this->translate('Code ISIN');
|
||||
$this->translate('Capitalisation');
|
||||
$this->translate('Numéro R.C.');
|
||||
$this->translate('Etablissement actif');
|
||||
$this->translate('Raison sociale & Coordonnées');
|
||||
$this->translate('Raison Sociale');
|
||||
$this->translate('Forme juridique');
|
||||
$this->translate('Composition et répartition du capital social');
|
||||
$this->translate('Information à vérifier dans les derniers statuts');
|
||||
$this->translate('Diminution de capital');
|
||||
$this->translate('Augmentation de capital');
|
||||
$this->translate('publié au');
|
||||
$this->translate('Organes de la procédure');
|
||||
$this->translate('Types de procédure');
|
||||
$this->translate('Potentiel de récupération et réalisation d\'actifs');
|
||||
$this->translate('Dépôt des comptes annuels et des comptes consolidés');
|
||||
$this->translate('Dépôt des comptes annuels');
|
||||
$this->translate('Dépôt des comptes consolidés');
|
||||
$this->translate('Jugements de clôture');
|
||||
$this->translate('Autres événements');
|
||||
$this->translate('Procédure d\'insolvabilité européene');
|
||||
|
||||
//Liste des établissements
|
||||
$this->translate('LISTE DES ÉTABLISSEMNTS');
|
||||
$this->translate('Actif/Inactif');
|
||||
$this->translate('Tous');
|
||||
$this->translate('Actif');
|
||||
$this->translate('Inactif');
|
||||
$this->translate('Établissements');
|
||||
$this->translate('siège actif');
|
||||
$this->translate('établ. inactif');
|
||||
$this->translate('L\'entreprise à 1 établissements actifs et 1 établissements radiés');
|
||||
|
||||
//Liens inter-entreprises
|
||||
$this->translate('LIENS INTER-ENTREPRISES');
|
||||
$this->translate('Organigramme du groupe');
|
||||
$this->translate('Documents');
|
||||
$this->translate('Aucun document');
|
||||
$this->translate('Lier un document');
|
||||
$this->translate('organigramme du groupe');
|
||||
$this->translate('Editer la fiche');
|
||||
$this->translate('Actionnariat');
|
||||
$this->translate('Ajouter un actionnaire');
|
||||
$this->translate('PUBLIC / BOURSE');
|
||||
$this->translate('FFP');
|
||||
$this->translate('ETABLISSEMENTS %s FRERES');
|
||||
$this->translate('FAMILLE %s');
|
||||
$this->translate('Participations');
|
||||
$this->translate('Ajouter une participation');
|
||||
$this->translate('Fonctions de directions');
|
||||
$this->translate('Administrateur');
|
||||
$this->translate('Chargement...');
|
||||
$this->translate('Les données transmises sont indicatives et traitées en conformité avec les usages en vigueur. Scores & Decisions SAS agrège et fournit l\'information en l\'état et ne saurait accorder une garantie quelconque notamment pour la fiabilité, l\'actualité, l\'exhaustivité des données. La responsabilité de Scores & Decisions SAS ne pourra être engagée pour tout dommage indirect et notamment pour manque à gagner, préjudice commercial ou financier, recours de tiers, cette liste n’étant pas limitative. "Le Client" recherche, sélectionne et interprète les données sous sa propre responsabilité');
|
||||
|
||||
//Informations Groupe
|
||||
$this->translate('Informations Groupe');
|
||||
$this->translate('Siren');
|
||||
$this->translate('TVA');
|
||||
$this->translate('RCS PARIS');
|
||||
$this->translate('ISIN');
|
||||
$this->translate('Nom du groupe');
|
||||
$this->translate('Sigle');
|
||||
$this->translate('Adresse');
|
||||
$this->translate('Code Commune');
|
||||
$this->translate('Tél.');
|
||||
$this->translate('Fax');
|
||||
$this->translate('Site Web');
|
||||
$this->translate('Année de création');
|
||||
$this->translate('Grand Groupe Français');
|
||||
$this->translate('Nombre d\'entreprises Française du groupe');
|
||||
$this->translate('Effectif salarié du groupe en France');
|
||||
$this->translate('CA France');
|
||||
$this->translate('CA Export');
|
||||
$this->translate('Organigramme du groupe');
|
||||
$this->translate('Secteurs');
|
||||
$this->translate('Nb Entrep.');
|
||||
$this->translate('CA');
|
||||
$this->translate('Effectif');
|
||||
|
||||
//Modifications INSEE
|
||||
$this->translate('LISTE DES ÉVÉNEMENTS');
|
||||
$this->translate('Mettre sous surveillance Insee');
|
||||
$this->translate('Événements INSEE');
|
||||
|
||||
//Liste des dirigeants
|
||||
$this->translate('DIRIGEANTS');
|
||||
$this->translate('Mettre sous surveillance Dirigeants');
|
||||
$this->translate('Consulter la liste des dirigeants opérationnels');
|
||||
$this->translate('Président du conseil de surveillance');
|
||||
$this->translate('Président du directoire');
|
||||
$this->translate('Commissaire aux comptes suppléant');
|
||||
$this->translate('Commissaire aux comptes titulaire');
|
||||
$this->translate('Liste des dirigeants actifs');
|
||||
|
||||
//Historique des dirigeants
|
||||
$this->translate('Historique des dirigeants');
|
||||
$this->translate('Président du directoire');
|
||||
$this->translate('Membre du directoire');
|
||||
$this->translate('Membre du conseil de surveillance');
|
||||
$this->translate('Commissaire aux comptes suppléant');
|
||||
$this->translate('Commissaire aux comptes titulaire');
|
||||
|
||||
//Synthèse
|
||||
|
||||
//Bilans, Compte de résultat
|
||||
|
||||
//Ratios
|
||||
|
||||
//Flux de trésorerie
|
||||
$this->translate('Flux de Trésorerie');
|
||||
$this->translate('Type de bilans');
|
||||
$this->translate('Réel normal ou Simplifié');
|
||||
$this->translate('Consolidé');
|
||||
$this->translate('mois');
|
||||
$this->translate('ACTIVITE');
|
||||
$this->translate('INVESTISSEMENT');
|
||||
$this->translate('FINANCEMENT');
|
||||
$this->translate('VARIATION DE TRESORERIE D\'ACTIF');
|
||||
$this->translate('Chiffre d\'affaires HT & autres produits d\'exploitation');
|
||||
$this->translate('Variation des creances clients & autres creances d\'exploitation');
|
||||
$this->translate('Recettes d\'exploitation');
|
||||
$this->translate('Achats & autres charges d\'exploitation');
|
||||
$this->translate('Variation des dettes fournisseurs & autres dettes d\'exploitation');
|
||||
$this->translate('Depenses d\'exploitation');
|
||||
$this->translate('Excedent de Tresorerie d\'Exploitation');
|
||||
$this->translate('Flux lies aux operations hors exploitation');
|
||||
$this->translate('Interets bancaires');
|
||||
$this->translate('Impots sur les benefices');
|
||||
$this->translate('Flux affectes a la participation des salaries');
|
||||
$this->translate('Dividendes verses');
|
||||
$this->translate('Flux de tresorerie interne');
|
||||
$this->translate('Investissements d\'exploitation hors production immobilisee');
|
||||
$this->translate('Acquisition de participations & autres titres immobilises');
|
||||
$this->translate('Variation des autres actifs immobilises hors charges a repartir');
|
||||
$this->translate('Subventions d\'investissement recues');
|
||||
$this->translate('Variation des dettes sur immobilisations');
|
||||
$this->translate('Encaissements sur cessions d\'immobilisations');
|
||||
$this->translate('Flux d\'investissement');
|
||||
$this->translate('Augmentation-Reduction de capital');
|
||||
$this->translate('Variation des creances sur capital appele non verse');
|
||||
$this->translate('Flux du capital');
|
||||
$this->translate('Variation des emprunts');
|
||||
$this->translate('Variation de la tresorerie du passif');
|
||||
$this->translate('Flux du financement');
|
||||
$this->translate('Variation du disponible');
|
||||
$this->translate('Variation des valeurs mobilieres de placement');
|
||||
$this->translate('Variation de la tresorerie d\'actif');
|
||||
|
||||
//Liasse fiscale
|
||||
$this->translate('Valeurs exprimées en');
|
||||
$this->translate('Millesime');
|
||||
$this->translate('Corriger le bilan sélectionné');
|
||||
$this->translate('ou Saisir une nouvelle liasse au format');
|
||||
$this->translate('Normal');
|
||||
$this->translate('Consolidé');
|
||||
$this->translate('Simplifié');
|
||||
$this->translate('Exporter en fichier Excel.');
|
||||
$this->translate('Vous possèdez un bilan plus récent');
|
||||
$this->translate('Mettre sous surveillance Bilans');
|
||||
$this->translate('Actif');
|
||||
$this->translate('Passif');
|
||||
$this->translate('Compte de résultat');
|
||||
$this->translate('Valeurs exprimées en K€');
|
||||
$this->translate('Capital souscrit non appelé');
|
||||
$this->translate('Frais d\'établissement');
|
||||
$this->translate('Frais de rech. et dév.');
|
||||
$this->translate('Immobilisations incorporelles');
|
||||
$this->translate('Concessions, brevets, ...');
|
||||
$this->translate('Fond commercial');
|
||||
$this->translate('Autres immo. incorporelles');
|
||||
$this->translate('Avances et acomptes sur immo. incorp.');
|
||||
$this->translate('Terrains');
|
||||
$this->translate('Constructions');
|
||||
$this->translate('Instal. techniques, ...');
|
||||
$this->translate('Autres immo. corp.');
|
||||
$this->translate('Immobilisations corporelles');
|
||||
$this->translate('Immo. en cours');
|
||||
$this->translate('Avances et acomptes');
|
||||
$this->translate('Participations évaluées selon la méthode de mise en équivalence');
|
||||
$this->translate('Autres participations');
|
||||
$this->translate('Créances rattachées à des participations');
|
||||
$this->translate('Autres titres immobilisés');
|
||||
$this->translate('Immobilisations financières');
|
||||
$this->translate('Prêts');
|
||||
$this->translate('Autres immo. financières');
|
||||
$this->translate('Matières 1ère, approvisionnements');
|
||||
$this->translate('En cours de production de biens');
|
||||
$this->translate('En cours de production de services');
|
||||
$this->translate('Stocks');
|
||||
$this->translate('ACTIF CIRCULANT');
|
||||
$this->translate('Produits intermédiaires et finis');
|
||||
$this->translate('Marchandises');
|
||||
$this->translate('Avances et accomp. versés sur command.');
|
||||
$this->translate('Clients et comptes rattachés');
|
||||
$this->translate('Autres créances');
|
||||
$this->translate('Créances');
|
||||
$this->translate('Capital souscrit et appelé, non versé');
|
||||
$this->translate('Valeurs mobilières de placement (dont actions propres)');
|
||||
$this->translate('Disponibilités');
|
||||
$this->translate('Divers');
|
||||
$this->translate('REGULARISATIONS Charges constatées d\'avance');
|
||||
$this->translate('TOTAL');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
|
||||
//Bourse & Cotations
|
||||
$this->translate('INFORMATIONS BOURSIÈRES');
|
||||
$this->translate('Code Mnémo');
|
||||
$this->translate('Code Bloomberg');
|
||||
$this->translate('Code Datastream');
|
||||
$this->translate('Code Ric');
|
||||
$this->translate('Place de cotation');
|
||||
$this->translate('Marché');
|
||||
$this->translate('Nombre de titres');
|
||||
$this->translate('Éligible SRD / PEA');
|
||||
$this->translate('Logo');
|
||||
$this->translate('Coordonnées');
|
||||
$this->translate('Adresse');
|
||||
$this->translate('Date d\'introduction en bourse');
|
||||
$this->translate('Date dernière assemblée générale');
|
||||
$this->translate('Téléphone');
|
||||
$this->translate('Fax');
|
||||
$this->translate('Site Internet');
|
||||
$this->translate('Courriel');
|
||||
$this->translate('Activité(s)');
|
||||
$this->translate('Activité');
|
||||
$this->translate('Secteur');
|
||||
$this->translate('Dernier cours');
|
||||
$this->translate('Dernière cotation connue');
|
||||
$this->translate('Clôture');
|
||||
$this->translate('Ouverture');
|
||||
$this->translate('Plus haut');
|
||||
$this->translate('Plus Bas');
|
||||
$this->translate('Volume échangé');
|
||||
$this->translate('Capitalisation');
|
||||
$this->translate('Minimum historique');
|
||||
$this->translate('Maximum historique');
|
||||
$this->translate('Cours moyen');
|
||||
|
||||
//Relations bancaires
|
||||
$this->translate('RELATIONS BANCAIRES');
|
||||
$this->translate('Liste des relations bancaires');
|
||||
|
||||
//Annonces Légales
|
||||
|
||||
//Information Réglementée
|
||||
|
||||
//Compétences Territoriales
|
||||
$this->translate('Tribunaux');
|
||||
$this->translate('Administrateurs & Mandataires judiciaires');
|
||||
$this->translate('Huissiers de justice');
|
||||
$this->translate('Préfectures & Sous-préfectures');
|
||||
$this->translate('Centres de formalités des Entreprises (CCI, Greffes, Métiers, Artisanat, Agriculture, URSSAF, Impôts, etc...)');
|
||||
$this->translate('Journaux d\'Annonces Légales');
|
||||
|
||||
//Marques déposées
|
||||
$this->translate('PROPRIÉTÉ INTELLECTUELLE');
|
||||
$this->translate('Marque(s) déposée(s)');
|
||||
$this->translate('Dépôt');
|
||||
|
||||
//IndiScore
|
||||
$this->translate('INDISCORE');
|
||||
$this->translate('Définir un Cut-off');
|
||||
$this->translate('Mettre sous surveillance IndiScore');
|
||||
$this->translate('Saisir votre demande d\'avis credit personnalisé');
|
||||
$this->translate('Évaluation');
|
||||
$this->translate('L\'évaluation indiScore© est en partie basée sur les points notables suivants');
|
||||
$this->translate('Conformité légale :');
|
||||
$this->translate('L\'analyse de la conformité est correcte.');
|
||||
$this->translate('Dirigeance :');
|
||||
$this->translate('L\'étude de la dirigeance ne relève aucun problème.');
|
||||
$this->translate('Solvabilité :');
|
||||
$this->translate('L\'analyse de la solvabilité est Bonne');
|
||||
$this->translate('La situation financière de l\'entreprise ne peut être évaluée en détail car le dernier bilan disponible date de 2010.');
|
||||
$this->translate('Paiements');
|
||||
$this->translate('Depuis Mars 2013 : Aucune difficulté significative ne nous a été signalée Paiements à 30 jours maximum');
|
||||
$this->translate('Conclusion');
|
||||
$this->translate('Compte tenu des informations disponibles auprès des sources officielles Scores et Décisions présente la conclusion suivante :');
|
||||
$this->translate('LE SCORE EST DE 17 SUR 20 POINTS');
|
||||
$this->translate('La tendance de la note est Stable');
|
||||
$this->translate('L\'ENCOURS MAXIMUM CONSEILLÉ EST DE 500 K€');
|
||||
|
||||
//Rapport de synthèse
|
||||
$this->translate('RAPPORT DE SYNTHESE');
|
||||
$this->translate('Numéro R.C.');
|
||||
$this->translate('Etablissement actif');
|
||||
$this->translate('Situation au répertoire SIRENE');
|
||||
$this->translate('Raison sociale & Coordonnées');
|
||||
$this->translate('Forme juridique');
|
||||
$this->translate('Date d\'immatriculation');
|
||||
$this->translate('Création de l\'établissement');
|
||||
$this->translate('Activité(s) & Chiffre d\'affaires');
|
||||
$this->translate('Activité de l\'entreprise');
|
||||
$this->translate('Anciens codes NAF');
|
||||
$this->translate('Origine du fonds');
|
||||
$this->translate('Type d\'exploitation');
|
||||
$this->translate('Capital');
|
||||
$this->translate('Chiffre d\'affaires');
|
||||
$this->translate('Liste des dirigeants actifs');
|
||||
$this->translate('Actionnariat');
|
||||
$this->translate('Ajouter un actionnaire');
|
||||
$this->translate('Ajouter une participation');
|
||||
$this->translate('Fonctions de directions');
|
||||
$this->translate('Eléments financiers');
|
||||
$this->translate('Paiement');
|
||||
$this->translate('Depuis');
|
||||
$this->translate('Aucune difficulté significative ne nous a été signalée Paiements à %s jours maximum');
|
||||
$this->translate('Procédures collectives');
|
||||
$this->translate('Situation juridique');
|
||||
$this->translate('Aucune procédure enregistrée à ce jour par nos services.');
|
||||
$this->translate('Scores et encours');
|
||||
$this->translate('Score Afdcc 2');
|
||||
$this->translate('Score Z');
|
||||
$this->translate('IndiScore');
|
||||
$this->translate('Encours conseillé');
|
||||
$this->translate('Stable');
|
||||
|
||||
//Rapport complet
|
||||
|
||||
//Valorisation
|
||||
$this->translate('VALORISATION');
|
||||
$this->translate('SOCIÉTÉ');
|
||||
$this->translate('COMMENTAIRES');
|
||||
$this->translate('BILAN');
|
||||
$this->translate('Situation financière');
|
||||
$this->translate('Compte de Résultat');
|
||||
$this->translate('CONCLUSION');
|
||||
$this->translate('estimation haute');
|
||||
$this->translate('estimation basse');
|
||||
$this->translate('Réserves');
|
||||
$this->translate('L\'estimation finale devrait intégrer l\'ensemble des dettes à court, moyen et long termes exigibles au moment de la cession.');
|
||||
|
||||
//Enquête commerciale
|
||||
$this->translate('ENQUÊTE COMMERCIALE');
|
||||
$this->translate('Nos enquêtes commerciales sont réalisées par des analystes financiers.');
|
||||
$this->translate('Entreprise concernée');
|
||||
$this->translate('Téléphone / Fax');
|
||||
$this->translate('Autre téléphone');
|
||||
$this->translate('E-mail');
|
||||
$this->translate('Autre e-mail');
|
||||
$this->translate('Domiciliation bancaire');
|
||||
$this->translate('Encours demandé');
|
||||
$this->translate('Nombre d\'échéances');
|
||||
$this->translate('Avis de l\'assureur crédit');
|
||||
$this->translate('Favorable');
|
||||
$this->translate('Défavorable');
|
||||
$this->translate('Demandeur');
|
||||
$this->translate('Votre profil');
|
||||
$this->translate('Votre Identité');
|
||||
$this->translate('Votre Téléphone');
|
||||
$this->translate('Votre Fax');
|
||||
$this->translate('Votre E-mail');
|
||||
$this->translate('Votre Référence');
|
||||
$this->translate('Service Achats');
|
||||
$this->translate('Commerce');
|
||||
$this->translate('Recouvrement');
|
||||
$this->translate('Contentieux');
|
||||
$this->translate('Autre');
|
||||
$this->translate('Enquête');
|
||||
$this->translate('Type d\'enquête');
|
||||
$this->translate('Délais de livraison');
|
||||
$this->translate('Précisions sur la demande');
|
||||
$this->translate('Ancienneté de la relation');
|
||||
$this->translate('Impayées');
|
||||
$this->translate('Retard de paiement');
|
||||
$this->translate('Litiges techniques ou commerciaux');
|
||||
$this->translate('Observations ou questions spéciales');
|
||||
$this->translate('Envoyez');
|
||||
$this->translate('EXPRESS');
|
||||
$this->translate('DECISION');
|
||||
$this->translate('SECTEUR BTP');
|
||||
$this->translate('encours inférieur à');
|
||||
$this->translate('encours supérieur à');
|
||||
$this->translate('Choisissez...');
|
||||
$this->translate('Enquête sur un client (contrôl crédit)');
|
||||
$this->translate('Enquête sur un prospect (ouverture de compte)');
|
||||
$this->translate('Enquête sur un fournisseur stratégique');
|
||||
$this->translate('Enquête sur un fournisseur non stratégique');
|
||||
$this->translate('Autre type d\'enquête (Précisez...)');
|
||||
$this->translate('%s jours ou +');
|
||||
|
||||
//Commande de Pièces
|
||||
$this->translate('COMMANDES DE PIÈCES');
|
||||
$this->translate('EXTRAIT KBIS');
|
||||
$this->translate('Visualiser/Télécharger le kbis');
|
||||
$this->translate('Recevoir le kbis par email');
|
||||
$this->translate('Recevoir le kbis original par courrier');
|
||||
$this->translate('PRIVILÉGES & NANTISSEMENTS');
|
||||
$this->translate('Privilèges de la sécurité sociale et des régimes complémentaires et Trésor Public
|
||||
(avec surveillance, retour sous 48 à 72h)');
|
||||
$this->translate('Privilèges de la sécurité sociale et des régimes complémentaires (mail sous 12h ouvrées)');
|
||||
$this->translate('Privilèges du Trésor Public (mail sous 12h ouvrées)');
|
||||
$this->translate('Nantissements du fonds de commerce ou du fonds artisanal (conventionnels et judiciaires)');
|
||||
$this->translate('Privilèges du vendeur de fonds de commerce et d\'action résolutoire');
|
||||
$this->translate('Déclarations de créances');
|
||||
|
||||
//Comptes annuels
|
||||
$this->translate('PIÈCES OFFICIELLES');
|
||||
$this->translate('Mettre sous surveillance Actes');
|
||||
$this->translate('Compte annuels');
|
||||
$this->translate('Date de clôture');
|
||||
$this->translate('Décisions');
|
||||
$this->translate('Comptes millésime');
|
||||
|
||||
//Actes & Status
|
||||
$this->translate('Actes & Status');
|
||||
$this->translate('EXTRAIT DE PROCES-VERBAL');
|
||||
$this->translate('Créer une commande factice');
|
||||
$this->translate('Acte modificatif');
|
||||
$this->translate('Nomination/démission des organes de gestion');
|
||||
$this->translate('Procuration');
|
||||
$this->translate('PROCES-VERBAL D\'ASSEMBLEE GENERALE ORDINAIRE ET EXTRAORDINAIRE');
|
||||
$this->translate('Augmentation de Capital');
|
||||
$this->translate('CERTIFICAT');
|
||||
$this->translate('STATUTS MIS A JOUR');
|
||||
$this->translate('DU CONSEIL DE SURVEILLANCE');
|
||||
|
||||
//Suivi Privilèges
|
||||
$this->translate('Synthèse des inscriptions d\'endettement');
|
||||
$this->translate('Mettre sous surveillance Privilèges');
|
||||
$this->translate('Privilèges de la sécurité sociale et des régimes complémentaires');
|
||||
$this->translate('Privilèges du trésor public');
|
||||
|
||||
//Nouveautés
|
||||
$this->translate('Nouveautés');
|
||||
$this->translate('Liste par date');
|
||||
$this->translate('Intitulé');
|
||||
$this->translate('Catégorie');
|
||||
|
||||
//Mes options
|
||||
$this->translate('PROFIL UTILISATEUR');
|
||||
$this->translate('Identifiant utilisateur');
|
||||
$this->translate('Identité (NOM/Prénom)');
|
||||
$this->translate('Réf. facturation (service, etc...)');
|
||||
$this->translate('Adresse e-mail');
|
||||
$this->translate('Numéros de téléphone (Fixe, Fax, Mobile)');
|
||||
$this->translate('Mot de passe');
|
||||
$this->translate('Relevé de consommation');
|
||||
$this->translate('Modifier le mot de passe.');
|
||||
$this->translate('Relevé de consommation');
|
||||
$this->translate('Détails');
|
||||
$this->translate('Mois/Année');
|
||||
$this->translate('Ok');
|
||||
$this->translate('Langue de l\'interface par défaut');
|
||||
$this->translate('Informations');
|
||||
$this->translate('Type d\'appareil actuel');
|
||||
$this->translate('Résolution d\'écran actuel');
|
||||
$this->translate('Navigateur actuel');
|
||||
$this->translate('Poste de travail');
|
||||
$this->translate('Moteur de recherche');
|
||||
$this->translate('Résultats par page');
|
||||
$this->translate('Inclure');
|
||||
$this->translate('Surveillance');
|
||||
$this->translate('Supports pour les alertes');
|
||||
$this->translate('Gestion des droits');
|
||||
$this->translate('Type de profil');
|
||||
$this->translate('Droits d\'accès');
|
||||
$this->translate('Préférences');
|
||||
$this->translate('les associations');
|
||||
$this->translate('les actifs');
|
||||
$this->translate('les radiés');
|
||||
$this->translate('les établissements secondaires');
|
||||
$this->translate('SMS');
|
||||
$this->translate('Fax');
|
||||
$this->translate('Mail');
|
||||
$this->translate('Utilisateur');
|
||||
$this->translate('Administrateur');
|
||||
$this->translate('SuperAdministrateur');
|
||||
|
||||
//Mes surveillances
|
||||
$this->translate('SURVEILLANCE');
|
||||
$this->translate('Nombre d\'entités affichées');
|
||||
$this->translate('Nombre de surveillances');
|
||||
$this->translate('Extraction des surveillances');
|
||||
$this->translate('Extraire uniquement les surveillances de type');
|
||||
$this->translate('toutes');
|
||||
$this->translate('Anonces');
|
||||
$this->translate('Insee');
|
||||
$this->translate('Bilans');
|
||||
$this->translate('Indiscore');
|
||||
$this->translate('Actes');
|
||||
$this->translate('Dirigeants');
|
||||
$this->translate('Privilèges');
|
||||
$this->translate('Paiements');
|
||||
$this->translate('Liens');
|
||||
$this->translate('Options de recherche');
|
||||
$this->translate('Afficher uniquement les suveillances de type');
|
||||
$this->translate('Tri');
|
||||
$this->translate('croissant');
|
||||
$this->translate('décroissant');
|
||||
$this->translate('par');
|
||||
$this->translate('Siren');
|
||||
$this->translate('Référence');
|
||||
$this->translate('Date d\'ajoute');
|
||||
$this->translate('Date d\'envoi');
|
||||
$this->translate('Liste des surveillances');
|
||||
$this->translate('Ajout le');
|
||||
$this->translate('Envoyé le');
|
||||
|
||||
//Mon portefeuille
|
||||
$this->translate('PORTEFEUILLE');
|
||||
$this->translate('Nombre d\'entités affichées');
|
||||
$this->translate('Nombre de surveillances');
|
||||
$this->translate('Exportation de votre portefeuille');
|
||||
$this->translate('Exporter votre portefeuille au format CSV');
|
||||
$this->translate('Options de recherche');
|
||||
$this->translate('Tri par');
|
||||
$this->translate('Surveillance Score');
|
||||
$this->translate('Aucune surveillance Score.');
|
||||
|
||||
//Administration
|
||||
$this->translate('ADMINISTRATION');
|
||||
$this->translate('Relevé de consommation complet');
|
||||
$this->translate('Tous les utilisateurs');
|
||||
$this->translate('Détails');
|
||||
$this->translate('Liste des profils utilisateurs');
|
||||
$this->translate('Login');
|
||||
$this->translate('Actions');
|
||||
$this->translate('Créer un profil utilisateur');
|
||||
$this->translate('Mode spéciaux');
|
||||
$this->translate('Mode Edition');
|
||||
|
||||
//Se déconnecter
|
||||
$this->translate('Vous avez été déconnecté.');
|
||||
$this->translate('Si cette page ne disparait pas au bout de 5 seconde(s), veuillez cliquer');
|
||||
|
||||
//Gestion
|
||||
$this->translate('Gestion Système');
|
||||
$this->translate('Gestion des clients');
|
||||
$this->translate('Gestion des commandes');
|
||||
$this->translate('Gestion des fichiers nouveautés');
|
||||
$this->translate('Statistiques');
|
||||
|
||||
//Saisie / Edition
|
||||
$this->translate('IDENTITE DE L\'ENTREPRISE');
|
||||
$this->translate('Numéro identifiant Siret');
|
||||
$this->translate('Numéro identifiant Siret du siège');
|
||||
$this->translate('Raison Sociale');
|
||||
$this->translate('Adresse');
|
||||
$this->translate('Établissement');
|
||||
$this->translate('Activité(s) et Chiffres d\'Affaires');
|
||||
$this->translate('Code ISIN');
|
||||
$this->translate('Activité déclarée de l\'entreprise');
|
||||
$this->translate('Capital Montant');
|
||||
$this->translate('Capital Devise');
|
||||
$this->translate('BODACC');
|
||||
$this->translate('Source');
|
||||
$this->translate('Date évènement / jugement');
|
||||
$this->translate('Tribunal');
|
||||
$this->translate('Évènement / Jugement');
|
||||
$this->translate('Informations diverses');
|
||||
$this->translate('Autre siren (doublon)');
|
||||
$this->translate('Refus d’inscription au Registre du Commerce et des Sociétés');
|
||||
$this->translate('Identifiant R.N.A.');
|
||||
$this->translate('Entreprise de domiciliation');
|
||||
$this->translate('Entreprise ayant exercée son droit d\'opposition en');
|
||||
$this->translate('Sans objet');
|
||||
|
||||
//Saisie Fiche Entrangère
|
||||
$this->translate('Adresse complément');
|
||||
$this->translate('CP');
|
||||
$this->translate('Ville');
|
||||
$this->translate('Pays');
|
||||
$this->translate('Selectionner un pays pour afficher les identifiants locaux');
|
||||
$this->translate('Téléphone');
|
||||
$this->translate('au capital de');
|
||||
$this->translate('en date du');
|
||||
$this->translate('découpé en');
|
||||
$this->translate('action(s)');
|
||||
$this->translate('(JJ/MM/AAAA)');
|
||||
|
||||
//Gestion des clients
|
||||
$this->translate('GESTION DES CLIENTS');
|
||||
$this->translate('Créer un client');
|
||||
$this->translate('Liste des clients');
|
||||
$this->translate('Actions');
|
||||
$this->translate('Nom');
|
||||
$this->translate('Editer');
|
||||
$this->translate('Prestations fichier');
|
||||
$this->translate('Tarification');
|
||||
$this->translate('Services');
|
||||
$this->translate('Utilisateurs');
|
||||
$this->translate('EDITION CLIENT');
|
||||
$this->translate('Identification');
|
||||
$this->translate('Facturation');
|
||||
$this->translate('Livraison : Informations sur le destinataire de la livraison');
|
||||
$this->translate('Paramétrage');
|
||||
$this->translate('Divers');
|
||||
$this->translate('Obtention Raison sociale');
|
||||
$this->translate('Nic du siège');
|
||||
$this->translate('Siren');
|
||||
$this->translate('Racine des identifiants');
|
||||
$this->translate('Test');
|
||||
$this->translate('Date de signature');
|
||||
$this->translate('(AAAA-MM-YY)');
|
||||
$this->translate('Type de contrat');
|
||||
$this->translate('Commercial S&D');
|
||||
$this->translate('Contrat');
|
||||
$this->translate('Marché');
|
||||
$this->translate('Nom de l\'apporteur d\'affaire');
|
||||
$this->translate('Type d\'accès Remarques / Observations');
|
||||
$this->translate('userPassword');
|
||||
$this->translate('userPasswordIP');
|
||||
$this->translate('IP');
|
||||
$this->translate('N° de TVA');
|
||||
$this->translate('Compte client rattaché');
|
||||
$this->translate('Editer la facture automatiquement');
|
||||
$this->translate('Editer le détail de la facture');
|
||||
$this->translate('Nom du destinataire de la facture');
|
||||
$this->translate('Adresse1');
|
||||
$this->translate('Adresse2');
|
||||
$this->translate('Adresse3');
|
||||
$this->translate('RIB joint à la facture');
|
||||
$this->translate('BPOSTALE');
|
||||
$this->translate('CCOOP');
|
||||
$this->translate('CDNORD');
|
||||
$this->translate('Liste des adresses IP');
|
||||
$this->translate('Aucune IPs.');
|
||||
$this->translate('Ajouter une adresse IP');
|
||||
$this->translate('Listes des Droits');
|
||||
$this->translate('Recherche');
|
||||
$this->translate('Timeout');
|
||||
$this->translate('forfaitExtranetPeriode');
|
||||
$this->translate('forfaitExtranetMontant');
|
||||
$this->translate('reconductionAuto');
|
||||
$this->translate('Mensuel');
|
||||
$this->translate('Trimestriel');
|
||||
$this->translate('Semestriel');
|
||||
$this->translate('Nombre de pièces officielles inclues dans le forfait client');
|
||||
$this->translate('Montant du forfait des pièces officielles');
|
||||
$this->translate('Tarif unitaire en cas de dépassement');
|
||||
$this->translate('Nombre d\'investigations inclues dans le forfait client');
|
||||
$this->translate('Montant du forfait des investigations');
|
||||
$this->translate('Tarif unitaire pour les indiscore');
|
||||
$this->translate('Accès Webservice');
|
||||
$this->translate('Intersud - Login');
|
||||
$this->translate('Intersud - Mot de passe');
|
||||
$this->translate('Export des résultats de la recherche');
|
||||
$this->translate('Investigation par l\'image IparI');
|
||||
$this->translate('Historique des annonces bodacc');
|
||||
$this->translate('Investigation');
|
||||
$this->translate('Recherche Entreprise');
|
||||
$this->translate('Recherche Dirigeant');
|
||||
$this->translate('Recherche Actionnaire');
|
||||
$this->translate('Fiche d\'identité');
|
||||
$this->translate('Fiche procédure collective');
|
||||
$this->translate('Liens inter-entreprise');
|
||||
$this->translate('Liste des établissements');
|
||||
$this->translate('Informations et organigramme du groupe');
|
||||
$this->translate('Évènements INSEE');
|
||||
$this->translate('Avis de situation INSEE');
|
||||
$this->translate('Liste des dirigeants');
|
||||
$this->translate('Liste des dirigeants opérationnels');
|
||||
$this->translate('Synthèse');
|
||||
$this->translate('Ratios');
|
||||
$this->translate('Flux de trésorerie');
|
||||
$this->translate('Liasse fiscale');
|
||||
$this->translate('Export des Liasses au format XLS');
|
||||
$this->translate('Saisie de bilan');
|
||||
$this->translate('Bourse & cotations');
|
||||
$this->translate('Relations bancaires');
|
||||
$this->translate('Annonces légales');
|
||||
$this->translate('Informations réglementée');
|
||||
$this->translate('Compétences territoriales');
|
||||
$this->translate('Conventions collectives');
|
||||
$this->translate('Marques déposées');
|
||||
$this->translate('indiScore');
|
||||
$this->translate('Rapport synthetique');
|
||||
$this->translate('Rapport complet');
|
||||
$this->translate('Enquête commerciale');
|
||||
$this->translate('Avis de crédit personnalisé');
|
||||
$this->translate('Extrait RCS');
|
||||
$this->translate('Pièces officielles');
|
||||
$this->translate('Privilèges');
|
||||
$this->translate('Surveillance des annonces légales');
|
||||
$this->translate('Surveillance des événements INSEE');
|
||||
$this->translate('Surveillance des bilans');
|
||||
$this->translate('Surveillance des événements sur le score');
|
||||
$this->translate('Surveillance des actes');
|
||||
$this->translate('Surveillance des dirigeants');
|
||||
$this->translate('Surveillance des paiements');
|
||||
$this->translate('Surveillance des liens financiers');
|
||||
$this->translate('Surveillance des privilèges');
|
||||
$this->translate('Mon profil');
|
||||
$this->translate('Liste des surveillances');
|
||||
$this->translate('Portefeuille');
|
||||
$this->translate('Mode Edition');
|
||||
$this->translate('Recherche Internationale');
|
||||
$this->translate('Banque de France');
|
||||
$this->translate('Gestion des commandes kbis');
|
||||
$this->translate('Gestion des commandes greffes');
|
||||
$this->translate('Gestion des commandes KBIS');
|
||||
$this->translate('Gestion des commandes');
|
||||
$this->translate('Rechercher une commande');
|
||||
$this->translate('N° de commande ou siren');
|
||||
$this->translate('Etat');
|
||||
$this->translate('Mode');
|
||||
$this->translate('courrier S&D');
|
||||
$this->translate('e-mail');
|
||||
$this->translate('Liste des commandes');
|
||||
$this->translate('Aucunes commandes.');
|
||||
$this->translate('Gestion des nouveautés');
|
||||
$this->translate('Catégorie');
|
||||
$this->translate('Intitulé');
|
||||
$this->translate('Fichier PDF');
|
||||
$this->translate('Format AAAA-MM-JJ');
|
||||
$this->translate('Toutes les statistiques');
|
||||
$this->translate('Navigateur');
|
||||
$this->translate('Résolution d\'écran');
|
||||
$this->translate('Type d\'appareil');
|
||||
$this->translate('Ordinateur');
|
||||
$this->translate('Mobile');
|
||||
|
||||
$this->translate('Dernière mise à jour le');
|
||||
$this->translate('Capitalisation');
|
||||
$this->translate('Forme juridique à l\'INSEE: Autre SA à directoire (5699)');
|
||||
$this->translate('France');
|
||||
$this->translate('Belgium');
|
||||
$this->translate('United Kingdom');
|
||||
$this->translate('Spain');
|
||||
$this->translate('The Netherlands');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
$this->translate('');
|
||||
|
||||
//Dashboard controller
|
||||
$this->translate('Ordinateur');
|
||||
$this->translate('Mobile');
|
||||
$this->translate('Navigateur');
|
||||
$this->translate('Résolution d\'écran');
|
||||
$this->translate('Type d\'appareil');
|
||||
?>
|
5
application/models/City.php
Normal file
5
application/models/City.php
Normal file
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
class Application_Model_City extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'tabVilles';
|
||||
}
|
@ -2,6 +2,8 @@
|
||||
class Application_Model_Worldcheck extends Zend_Db_Table_Abstract
|
||||
{
|
||||
protected $_name = 'worldcheck';
|
||||
protected $tbList = 'worldcheck_list';
|
||||
protected $tbAssoc = 'worldcheck_a';
|
||||
|
||||
/**
|
||||
* Return nameIdentifier and matchCount from local DB if found.
|
||||
@ -70,4 +72,73 @@ class Application_Model_Worldcheck extends Zend_Db_Table_Abstract
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set WorldCheck associates tree data into DB
|
||||
* @param array $nodeParams
|
||||
* @param string $nodeType, value must be 'p'[parent] or 'a'[associate]
|
||||
*/
|
||||
public function setTree($nodeParams)
|
||||
{
|
||||
$primary = array(
|
||||
'entityId'=>'',
|
||||
'nameType'=>'',
|
||||
'fullName'=>'',
|
||||
'givenName'=>'',
|
||||
'lastName'=>'');
|
||||
|
||||
$assoc = array(
|
||||
'entityIdP'=>'',
|
||||
'entityId'=>'',
|
||||
'nameType'=>'',
|
||||
'fullName'=>'',
|
||||
'givenName'=>'',
|
||||
'lastName'=>'');
|
||||
|
||||
$primary = array_intersect_key($nodeParams['primary'], $primary);
|
||||
|
||||
$sql = $this->getAdapter()->select()
|
||||
->from($this->tbList, 'entityId')
|
||||
->where('entityId=?', $primary['entityId']);
|
||||
if (!$this->getAdapter()->fetchRow($sql)) {
|
||||
$this->getAdapter()->insert($this->tbList, $primary);
|
||||
}
|
||||
|
||||
$associates = $nodeParams['associates'];
|
||||
|
||||
foreach($associates as $associate) {
|
||||
$associate = array_intersect_key($associate, $assoc);
|
||||
$associate['entityIdP'] = $primary['entityId'];
|
||||
|
||||
$sql = $this->getAdapter()->select()
|
||||
->from($this->tbAssoc, array('entityId', 'entityIdP'))
|
||||
->where('entityId=?', $associate['entityId'])
|
||||
->where('entityIdP=?', $primary['entityId']);
|
||||
if (!$this->getAdapter()->fetchRow($sql)) {
|
||||
$this->getAdapter()->insert($this->tbAssoc, $associate);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get WorldCheck associates tree data from DB
|
||||
* @param string $entityId
|
||||
* @return Ambigous <multitype:, multitype:mixed Ambigous <string, boolean, mixed> >
|
||||
*/
|
||||
public function getTree($entityId)
|
||||
{
|
||||
$sql = $this->getAdapter()->select()
|
||||
->from(array('a' => $this->tbAssoc), array('a.entityId', 'a.fullName', 'a.givenName', 'a.lastName', 'a.nameType'))
|
||||
->join(array('l' => $this->tbList), 'a.entityIdP = l.entityId', array())
|
||||
->where('a.entityIdP=?', $entityId);
|
||||
$associates = $this->getAdapter()->fetchAll($sql);
|
||||
|
||||
$sql = $this->getAdapter()->select()
|
||||
->from(array('l' => $this->tbList), array('l.entityId', 'l.fullName', 'l.givenName', 'l.lastName', 'l.nameType'))
|
||||
->where('l.entityId=?', $entityId);
|
||||
$primary = $this->getAdapter()->fetchRow($sql);
|
||||
|
||||
$output = array('primary' => $primary, 'associates' => $associates);
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
|
@ -118,7 +118,7 @@ $(document).ready(function(){
|
||||
<label>Siren</label>
|
||||
<div class="field">
|
||||
<input name="siren" type="text" value="<?php echo isset($this->InfosClient) ? $this->InfosClient->siren : '';?>" />
|
||||
<a href="#">Obtention Raison sociale</a>
|
||||
<a href="#">Obtention Dénomination sociale</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -81,7 +81,7 @@ $compteur++;
|
||||
'controller' => 'dashboard',
|
||||
'action' => 'rs',
|
||||
'siren' => $item->siren,
|
||||
), null, true)?>" class="rs">Raison sociale</a>
|
||||
), null, true)?>" class="rs">Dénomination sociale</a>
|
||||
</b>
|
||||
</td>
|
||||
<td width="40%">
|
||||
|
@ -1,15 +1,15 @@
|
||||
<div id="center">
|
||||
<h1>DIRIGEANTS</h1>
|
||||
<h1><?=$this->translate("DIRIGEANTS")?></h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->translate("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">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->translate("Dénomination Sociale")?></td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<?php if ($this->surveillance) {?>
|
||||
@ -26,7 +26,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Historique des dirigeants</h2>
|
||||
<h2><?=$this->translate("Historique des dirigeants")?></h2>
|
||||
<div class="paragraph">
|
||||
|
||||
<?php if (count($this->dirigeants) > 0) {?>
|
||||
@ -37,7 +37,7 @@
|
||||
<td class="StyleInfoData" width="200"><?=$dir->Societe.' '.$dir->Nom.' '.$dir->Prenom?></td>
|
||||
<td class="StyleInfoData" width="200">
|
||||
<?php if ($dir->DateFct != '') { ?>
|
||||
Modification le
|
||||
<?=$this->translate("Modification le")?>
|
||||
<?php
|
||||
if (strpos($dir->DateFct, '/') != false) {
|
||||
echo $dir->DateFct.' ';
|
||||
@ -55,7 +55,7 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td class="StyleInfoData" width="550">
|
||||
Aucune donnée n'est présente dans notre base
|
||||
<?=$this->translate("Aucune donnée n'est présente dans notre base")?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -1,19 +1,19 @@
|
||||
<?php if (empty($this->AutrePage)):?>
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<div id="center">
|
||||
<?php endif;?>
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)):?>
|
||||
<h1>DIRIGEANTS</h1>
|
||||
<?php if (empty($this->AutrePage)){?>
|
||||
<h1><?=$this->translate("DIRIGEANTS")?></h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->translate("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">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->translate("Dénomination Sociale")?></td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<?php if ($this->surveillance) {?>
|
||||
@ -31,15 +31,15 @@
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" width="550" class="StyleInfoData">
|
||||
<a href="<?=$this->dirigeantsop?>">Consulter la liste des dirigeants opérationnels</a>
|
||||
<a href="<?=$this->dirigeantsop?>"><?=$this->translate("Consulter la liste des dirigeants opérationnels")?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<?php }?>
|
||||
|
||||
<h2>Liste des dirigeants actifs</h2>
|
||||
<h2><?=$this->translate("Liste des dirigeants actifs")?></h2>
|
||||
<div class="paragraph">
|
||||
<?php if ( count($this->dirigeants)>0 ) { ?>
|
||||
<table class="data">
|
||||
@ -47,13 +47,15 @@
|
||||
<tr>
|
||||
<td class="StyleInfoData" width="200"><?=$dir->Titre?></td>
|
||||
<td class="StyleInfoData" width="320">
|
||||
|
||||
<?php if ($dir->Societe != '') { ?>
|
||||
<a href="<?=$this->url(array('controller' => 'recherche', 'action' => 'liste', 'type' => 'ent','raisonSociale' => $dir->Societe), null, true)?>"
|
||||
title="Recherche à partir de la raison sociale">
|
||||
title="<?=$this->translate("Recherche à partir de la dénomination sociale")?>">
|
||||
<?=$dir->Societe?>
|
||||
</a>
|
||||
<br/>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($dir->Nom != '') { ?>
|
||||
<a href="<?=$this->url(array(
|
||||
'controller' => 'recherche',
|
||||
@ -65,49 +67,47 @@
|
||||
'dirDateNaissMM' => substr($dir->NaissDate,3,2),
|
||||
'dirDateNaissAAAA' => substr($dir->NaissDate,6,4),
|
||||
'dirCpVille' => $dir->NaissVille,
|
||||
), null, true)?>" title="Recherche à partir du nom du dirigeant">
|
||||
), null, true)?>" title="<?=$this->translate("Recherche à partir du nom du dirigeant")?>">
|
||||
<?=$dir->Nom.' '.$dir->Prenom?>
|
||||
</a>
|
||||
<?php
|
||||
if (trim($dir->NaissDate) != '' && trim($dir->NaissVille.' '.$dir->NaissDepPays) != '') { ?>
|
||||
<br/>né(e) le <?=$dir->NaissDate?> à <?=$dir->NaissVille?>
|
||||
<?php if (trim($dir->NaissDepPays) != '') { ?>
|
||||
(<?=$dir->NaissDepPays?>)
|
||||
<?php }
|
||||
} else if (trim($dir->NaissDate) != '') {
|
||||
?>
|
||||
<?php if (trim($dir->NaissDepPays) != '') { ?> (<?=$dir->NaissDepPays?>)<?php }?>
|
||||
<?php } else if (trim($dir->NaissDate) != '') { ?>
|
||||
né(e) le <?=$dir->NaissDate?>
|
||||
<?php
|
||||
} else if (trim($dir->NaissVille.' '.$dir->NaissDepPays) != '') {
|
||||
?>
|
||||
<?php } else if (trim($dir->NaissVille.' '.$dir->NaissDepPays) != '') { ?>
|
||||
né(e) à <?=$dir->NaissVille?> (<?=$dir->NaissDepPays?>)
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
</td>
|
||||
<td class="StyleInfoData" width="100" valign="top">
|
||||
<?php if ($dir->Siren!='') {?>
|
||||
<a title="Consulter la fiche identité" href="<?=$this->url(array('controller'=>'identite', 'action'=>'fiche', 'siret'=>$dir->Siren))?>">
|
||||
<a title="<?=$this->translate("Consulter la fiche identité")?>" href="<?=$this->url(array('controller'=>'identite', 'action'=>'fiche', 'siret'=>$dir->Siren), null, true)?>">
|
||||
<?=$this->SirenTexte($dir->Siren)?></a>
|
||||
|
||||
<?php if (empty($this->AutrePage) && $this->edition) {?>
|
||||
<div style="line-height:16px;">
|
||||
<a class="dialog" title="Ajouter un actionnaire" href="<?=$this->url(array('controller'=>'saisie','action'=>'lien','type'=>'actionnaire','mode'=>'add','siren'=>$this->siren,'createfiche'=>$dir->Siren),null,true)?>">
|
||||
<a class="dialog" title="<?=$this->translate("Ajouter un actionnaire")?>" href="<?=$this->url(array('controller'=>'saisie','action'=>'lien','type'=>'actionnaire','mode'=>'add','siren'=>$this->siren,'createfiche'=>$dir->Siren),null,true)?>">
|
||||
<img style="vertical-align:middle;" src="/themes/default/images/interfaces/ajouter.png" /></a>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</td>
|
||||
<?php if (empty($this->AutrePage)) { ?>
|
||||
<?php if( $this->accessWorldCheck ) { ?>
|
||||
<?php if (empty($this->AutrePage) && $this->accessWorldCheck) {?>
|
||||
<td>
|
||||
<?php if ($dir->Societe != '') { ?>
|
||||
<img class="wcheck" id="<?='/dirType/ORGANISATION/dirSociete/'.$dir->Societe;?>" src='/themes/default/images/worldcheck/wc.png'/>
|
||||
<?php }
|
||||
if ($dir->Nom != '') { ?>
|
||||
<img class="wcheck" id="<?='/dirType/INDIVIDUAL/dirNom/'.$dir->Nom.'/dirPrenom/'.$dir->Prenom;?>" src='/themes/default/images/worldcheck/wc.png'/>
|
||||
<img style="cursor:pointer;" class="wcheck" data-url="<?=$this->url(array(
|
||||
'controller'=>'worldcheck','action'=>'occurence','siren'=>substr($this->siret,0,9),
|
||||
'dirType'=>'ORGANISATION','dirSociete'=>$dir->Societe),null,true);?>" src="/themes/default/images/worldcheck/wc.png"/>
|
||||
<?php }?>
|
||||
<?php if ($dir->Nom != '') { ?>
|
||||
<img style="cursor:pointer;" class="wcheck" data-url="<?=$this->url(array(
|
||||
'controller'=>'worldcheck','action'=>'occurence','siren'=>substr($this->siret,0,9),
|
||||
'dirType'=>'INDIVIDUAL','dirNom'=>$dir->Nom,'dirPrenom'=>$dir->Prenom),null,true);?>" src="/themes/default/images/worldcheck/wc.png"/>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<?php } ?>
|
||||
<?php }?>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
@ -116,7 +116,7 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td class="StyleInfoData" width="550">
|
||||
Aucune donnée n'est présente dans notre base
|
||||
<?=$this->translate("Aucune donnée n'est présente dans notre base")?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -156,14 +156,21 @@ $('a.dialog').on('click', function(){
|
||||
return false;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage) && $this->accessWorldCheck) {?>
|
||||
<script>
|
||||
$('img.wcheck').each(function(){
|
||||
$(this).qtip({
|
||||
hide: { event: 'unfocus' },
|
||||
show: { solo: true, delay: 1000 },
|
||||
content: { title: {button: true}, text: "Chargement...",
|
||||
ajax: { url: '<?=$this->url(array('controller'=>'worldcheck','action'=>'occurence','siren'=>substr($this->siret, 0, 9)),null,true);?>'+$(this).attr('id') } },
|
||||
position: { my: "bottom left", at: "top center" }
|
||||
show: { solo: true, delay: 500 },
|
||||
content: {
|
||||
button: true,
|
||||
title: 'WorlCheck',
|
||||
text: "Chargement...",
|
||||
ajax: { url: $(this).data('url') } },
|
||||
position: { my: 'right center', at: 'left center' }
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
@ -1,23 +1,19 @@
|
||||
<?php if (empty($this->AutrePage)):?>
|
||||
<?php if (empty($this->AutrePage)){?>
|
||||
<div id="center">
|
||||
<?php endif;?>
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)):?>
|
||||
<h1>DIRIGEANTS OPÉRATIONNELS</h1>
|
||||
<?php if (empty($this->AutrePage)){?>
|
||||
<h1><?=$this->translate("DIRIGEANTS OPÉRATIONNELS")?></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>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->translate("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">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->translate("Dénomination Sociale")?></td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<?php if ($this->surveillance) {?>
|
||||
@ -33,9 +29,9 @@
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<?php }?>
|
||||
|
||||
<h2>Liste des dirigeants actifs</h2>
|
||||
<h2><?=$this->translate("Liste des dirigeants actifs")?></h2>
|
||||
<div class="paragraph">
|
||||
|
||||
<?php if ( count($this->dirigeants)>0 ) {?>
|
||||
@ -51,7 +47,7 @@
|
||||
'type' => 'ent',
|
||||
'raisonSociale' => $dir->Societe
|
||||
), null, true)?>"
|
||||
title="Recherche à partir de la raison sociale">
|
||||
title="<?=$this->translate("Recherche à partir de la Dénomination sociale")?>">
|
||||
<?=$dir->Societe?>
|
||||
</a>
|
||||
|
||||
@ -63,24 +59,21 @@
|
||||
'type' => 'dir',
|
||||
'dirNom' => $dir->Nom,
|
||||
'dirPrenom' => $dir->Prenom,
|
||||
), null, true)?>" title="Recherche à partir du nom du dirigeant">
|
||||
), null, true)?>" title="<?=$this->translate("Recherche à partir du nom du dirigeant")?>">
|
||||
<?=$dir->Nom.' '.$dir->Prenom?>
|
||||
</a>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td class="StyleInfoData" width="230">
|
||||
<?php if (trim($dir->NaissDate) != '' && trim($dir->NaissVille.' '.$dir->NaissDepPays) != '') { ?>
|
||||
né(e) le <?=$dir->NaissDate?> à <?=$dir->NaissVille?>
|
||||
<?=$this->translate("né(e) le")?> <?=$dir->NaissDate?> à <?=$dir->NaissVille?>
|
||||
<?php if (trim($dir->NaissDepPays) != '') { ?>
|
||||
(<?=$dir->NaissDepPays?>)
|
||||
<?php }
|
||||
} else if (trim($dir->NaissDate) != '') {
|
||||
?>
|
||||
né(e) le <?=$dir->NaissDate?>
|
||||
<?php
|
||||
} else if (trim($dir->NaissVille.' '.$dir->NaissDepPays) != '') {
|
||||
?>
|
||||
né(e) à <?=$dir->NaissVille?> (<?=$dir->NaissDepPays?>)
|
||||
<?php }?>
|
||||
<?php } else if (trim($dir->NaissDate) != '') {?>
|
||||
<?=$this->translate("né(e) le")?> <?=$dir->NaissDate?>
|
||||
<?php } else if (trim($dir->NaissVille.' '.$dir->NaissDepPays) != '') { ?>
|
||||
<?=$this->translate("né(e) à")?> <?=$dir->NaissVille?> (<?=$dir->NaissDepPays?>)
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
@ -90,14 +83,14 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td class="StyleInfoData" width="550">
|
||||
Aucune donnée n'est présente dans notre base
|
||||
<?=$this->translate("Aucune donnée n'est présente dans notre base")?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<?php if (empty($this->AutrePage)):?>
|
||||
<?php if (empty($this->AutrePage)){?>
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<?php }?>
|
@ -51,7 +51,7 @@ if($this->commande == false){
|
||||
<div class="infoTitle StyleInfoLib">Numéro de TVA Intracom.</div>
|
||||
<div class="infoData"><?=substr($this->Etab->TvaNumero,0,2).' '.substr($this->Etab->TvaNumero,2,2).' '.substr($this->Etab->TvaNumero,-9)?></div>
|
||||
|
||||
<div class="infoTitle StyleInfoLib">Raison Sociale</div>
|
||||
<div class="infoTitle StyleInfoLib">Dénomination Sociale</div>
|
||||
<div class="infoData"><?=$this->Etab->Nom?></div>
|
||||
|
||||
<div class="infoTitle StyleInfoLib">Adresse</div>
|
||||
|
@ -61,7 +61,7 @@ if($this->commandeEnquete == false){
|
||||
<div class="infoTitle StyleInfoLib">Numéro de TVA Intracom.</div>
|
||||
<div class="infoData"><?=substr($this->Etab->TvaNumero,0,2).' '.substr($this->Etab->TvaNumero,2,2).' '.substr($this->Etab->TvaNumero,-9)?></div>
|
||||
|
||||
<div class="infoTitle StyleInfoLib">Raison Sociale</div>
|
||||
<div class="infoTitle StyleInfoLib">Dénomination Sociale</div>
|
||||
<div class="infoData"><?=$this->Etab->Nom?></div>
|
||||
|
||||
<div class="infoTitle StyleInfoLib">Adresse</div>
|
||||
|
@ -37,12 +37,12 @@
|
||||
</div>
|
||||
<?php endif;?>
|
||||
|
||||
<h2>Raison sociale & coordonnées</h2>
|
||||
<h2>Dénomination sociale & coordonnées</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?php
|
||||
echo $this->indiscore->Nom;
|
||||
|
@ -11,7 +11,7 @@ echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Actif']);
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Raison sociale & Coordonnées</h2>
|
||||
<h2>Dénomination sociale & Coordonnées</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<?php
|
||||
|
@ -8,7 +8,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?php echo $this->raisonSociale?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -1,92 +1,51 @@
|
||||
<style type="text/css">
|
||||
ul.relation {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
ul.relation li {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.banque {
|
||||
text-decoration: underline;
|
||||
width: 35%;
|
||||
float: left;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.adresse {
|
||||
width: 30%;
|
||||
float: left;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.codeBanque {
|
||||
width: 10%;
|
||||
float: left
|
||||
}
|
||||
|
||||
.codeGuichet {
|
||||
width: 10%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.clearfix:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
}
|
||||
</style>
|
||||
<div id="center">
|
||||
<h1 class="titre">RELATIONS BANCAIRES</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<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">Raison Sociale</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>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Liste des relations bancaires</h2>
|
||||
<div class="paragraph">
|
||||
<?php
|
||||
if(count($this->banques)>0)
|
||||
{
|
||||
?>
|
||||
<ul class="relation clearfix">
|
||||
<?php
|
||||
foreach($this->banques as $relation)
|
||||
{
|
||||
?>
|
||||
<li>
|
||||
<div class="banque"><?=$relation->libBanque?></div>
|
||||
<div class="adresse"><?php if($relation->adresse1!='') {?>
|
||||
<?=$relation->adresse1?><br />
|
||||
<?php } ?> <?php if($relation->adresse2!='') {?>
|
||||
<?=$relation->adresse2?><br />
|
||||
<?php } ?> <?=$relation->cp?> <?=$relation->ville?></div>
|
||||
<div class="codeBanque"><?php if( $relation->codeBanque*1!=0 ){ echo $relation->codeBanque; } ?></div>
|
||||
<div class="codeGuichet"><?php if( $relation->codeGuichet*1!=0 ){ echo $relation->codeGuichet; }?></div>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<?php if(count($this->banques)>0) { ?>
|
||||
<table class="data">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nom de la Banque</th>
|
||||
<th>Adresse</th>
|
||||
<th>Code Banque</th>
|
||||
<th>Code Guichet</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($this->banques as $relation) { ?>
|
||||
<tr>
|
||||
<td valign="top" style="text-decoration:underline;"><?=$relation->libBanque?></td>
|
||||
<td>
|
||||
<?php if($relation->adresse1!='') {?>
|
||||
<?=$relation->adresse1?><br />
|
||||
<?php } ?>
|
||||
<?php if($relation->adresse2!='') {?>
|
||||
<?=$relation->adresse2?><br />
|
||||
<?php } ?> <?=$relation->cp?> <?=$relation->ville?>
|
||||
</td>
|
||||
<td align="center"><?php if( $relation->codeBanque*1!=0 ){ echo $relation->codeBanque; } ?></td>
|
||||
<td align="center"><?php if( $relation->codeGuichet*1!=0 ){ echo $relation->codeGuichet; }?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php } else { ?>
|
||||
<p>Aucune information.</p>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
@ -17,7 +17,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?php echo $this->raisonSociale;?></td>
|
||||
</tr>
|
||||
<?php if (isset($this->tabResultActif) && isset($this->tabResultPassif) && isset($this->tabResultSig)){?>
|
||||
|
@ -13,7 +13,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -123,7 +123,7 @@ if ($this->urlImg!='') {
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=empty($this->InfosBourse->RaisonSociale) ? $this->raisonSociale : $this->InfosBourse->RaisonSociale;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -9,7 +9,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="340" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<?php if ($this->nbBilanN > 0 || $this->nbBilanC > 0) { ?>
|
||||
|
@ -9,7 +9,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
</td>
|
||||
<td colspan="2"><b>Brut</b></td>
|
||||
<td colspan="2"><b>Amortissement, provisions</b></td>
|
||||
<td><b><?php echo $this->dateCloture.'<br/>'.$this->dureesMois?> Mois</b></td>
|
||||
<td><b><?php echo $this->dateCloturePre.'<br/>'.$this->dureesMoisPre;?> Mois</b></td>
|
||||
<td><b><?=$this->dateCloture?></b><br/><?php if($this->dureesMois!='') {?><b><?=$this->dureesMois?> Mois</b><?php }?></td>
|
||||
<td><b><?=$this->dateCloturePre?></b><br/><?php if($this->dureesMoisPre!='') {?><b><?=$this->dureesMoisPre?> Mois</b><?php }?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="19">A<br/>C<br/>T<br/>I<br/>F<br/></td>
|
||||
|
@ -13,7 +13,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td class="StyleInfoLib" width="200">Raison Sociale</td>
|
||||
<td class="StyleInfoLib" width="200">Dénomination Sociale</td>
|
||||
<td class="StyleInfoData" width="340"><?=$this->raisonSociale;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
67
application/views/default/scripts/finance/subvention.phtml
Normal file
67
application/views/default/scripts/finance/subvention.phtml
Normal file
@ -0,0 +1,67 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">SUBVENTIONS</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>Détail de la subvention</h2>
|
||||
<div class="paragraph">
|
||||
<table class="data">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Année</td>
|
||||
<td><?=$this->Millesime?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Subvention versée à</td>
|
||||
<td><?=$this->AssoNom?> (<?=$this->SirenTexte($this->AssoSiren)?>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Budget</td>
|
||||
<td><?=$this->Budget?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Subvention reçue de </td>
|
||||
<td><a href="<?=$this->url(array('controller'=>'identite', 'action'=>'fiche', 'siret'=>$this->OrigineSiren), null, true)?>">
|
||||
<?=$this->SirenTexte($this->OrigineSiren)?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Origine de la subvention</td>
|
||||
<td><?=$this->OrigineLib?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Imputation / Programme</td>
|
||||
<td><?=$this->Programme?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Montant</td>
|
||||
<td nowrap><?=number_format($this->Montant, 2, ',', ' ')?> €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Objet</td>
|
||||
<td><?=$this->SubventionObjet?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Evaluation</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mission</td>
|
||||
<td><?=$this->Mission?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
75
application/views/default/scripts/finance/subventions.phtml
Normal file
75
application/views/default/scripts/finance/subventions.phtml
Normal file
@ -0,0 +1,75 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">SUBVENTIONS</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>Liste des subventions</h2>
|
||||
<div class="paragraph">
|
||||
<?php if ($this->msg) {?>
|
||||
<?=$this->msg?>
|
||||
<?php } else { ?>
|
||||
|
||||
<?php if (count($this->subventions)>0) {?>
|
||||
<table class="data">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Année</th>
|
||||
<th>Type</th>
|
||||
<th>Origine</th>
|
||||
<th>Entité subventionnée</th>
|
||||
<th>Programme</th>
|
||||
<th>Montant</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ( $this->subventions as $item ) {?>
|
||||
<tr>
|
||||
<td><?=$item->Millesime?></td>
|
||||
<td>
|
||||
<?php if ($item->Type=='IN') {?>
|
||||
Reçue
|
||||
<?php } else { ?>
|
||||
Versée
|
||||
<?php }?>
|
||||
</td>
|
||||
<td><?=$item->OrigineLib?></td>
|
||||
<td><?=$item->AssoNom?> (<?=$this->SirenTexte($item->AssoSiren)?>)</td>
|
||||
<td><a href="<?=$this->url(array('controller'=>'finance', 'action'=>'subvention', 'subventionId'=>$item->Id, 'siret'=>$this->siret, 'id'=>$this->id), null, true)?>" title="Détail de la subvention">
|
||||
<?=$item->Programme?></a></td>
|
||||
<td nowrap><?=number_format($item->Montant, 2, ',', ' ')?> €</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php } else {?>
|
||||
Aucune subvention.
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<div class="paragraph">
|
||||
<?php if ($this->lienPagePrecedente) { ?>
|
||||
<a href="<?=$this->lienPagePrecedente?>" title="Page précédente..."><<</a>
|
||||
<?php }?>
|
||||
<?php if ($this->nbPages>1) { ?>
|
||||
<span>Page <?=$this->p?>/<?=$this->nbPages?></span>
|
||||
<?php } ?>
|
||||
<?php if ($this->lienPageSuivante) {?>
|
||||
<a href="<?=$this->lienPageSuivante?>" title="Page suivante...">>></a>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
</div>
|
@ -17,7 +17,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale;?></td>
|
||||
</tr>
|
||||
<?php if (isset($this->tabResult)){?>
|
||||
|
@ -10,9 +10,9 @@ pour en savoir plus cliquez-ici</a></span>
|
||||
</div>
|
||||
<![endif]-->
|
||||
<p>© 2006-<?php echo date('Y')?> Scores & Décisions SAS -
|
||||
Tous droits réservés -
|
||||
<?=$this->translate("Tous droits réservés")?> -
|
||||
<a href="http://www.scores-decisions.com/mentions.php" target="_blank">
|
||||
Mentions légales</a> -
|
||||
<?=$this->translate("Mentions légales")?></a> -
|
||||
<img class='flag' id='fr' src="/themes/default/images/drapeaux/fr.png"/>
|
||||
<img class='flag' id='en' src="/themes/default/images/drapeaux/en.png"/>
|
||||
</p>
|
@ -1,7 +1,7 @@
|
||||
<div id="center">
|
||||
<h2>1. Informations d'entreprise générales</h2>
|
||||
<div id="break">
|
||||
<?php echo $this->partial('giant/partials/rapports/InformationEntreprise.phtml', null, array('report' => $this->report, 'carte' => $this->carte, 'dateFunction' => $this->dateFunction)); ?>
|
||||
<?php echo $this->partial('giant/partials/rapports/InformationEntreprise.phtml', null, array('report' => $this->report, 'carte' => $this->carte)); ?>
|
||||
</div>
|
||||
<h2>2. Avis de crédit</h2>
|
||||
<div id="break">
|
||||
@ -13,6 +13,6 @@
|
||||
</div>
|
||||
<h2>7. Dirigeants</h2>
|
||||
<div id="break">
|
||||
<?php echo $this->partial('giant/partials/rapports/Dirigeant.phtml', null, array('report' => $this->report, 'dateFunction' => $this->dateFunction)); ?>
|
||||
<?php echo $this->partial('giant/partials/rapports/Dirigeant.phtml', null, array('report' => $this->report)); ?>
|
||||
</div>
|
||||
</div>
|
@ -1,7 +1,7 @@
|
||||
<div id="center">
|
||||
<h2>1. Informations d'entreprise générales</h2>
|
||||
<div id="break">
|
||||
<?php echo $this->partial('giant/partials/rapports/InformationEntreprise.phtml', null, array('report' => $this->report, 'dateFunction' => $this->dateFunction)); ?>
|
||||
<?php echo $this->partial('giant/partials/rapports/InformationEntreprise.phtml', null, array('report' => $this->report)); ?>
|
||||
</div>
|
||||
<a name="6"></a>
|
||||
<h2>2. Avis de crédit</h2>
|
||||
@ -10,7 +10,7 @@
|
||||
</div>
|
||||
<h2>3. Compte Annuels</h2>
|
||||
<div id="break">
|
||||
<?php echo $this->partial('giant/partials/rapports/ComptesAnnuels.phtml', null, array('report' => $this->report, 'Type' => $this->Type, 'dateFunction' => $this->dateFunction)); ?>
|
||||
<?php echo $this->partial('giant/partials/rapports/ComptesAnnuels.phtml', null, array('report' => $this->report, 'Type' => $this->Type)); ?>
|
||||
</div>
|
||||
<h2>4. Position financiére</h2>
|
||||
<div id="break">
|
||||
@ -18,7 +18,7 @@
|
||||
</div>
|
||||
<h2>5. Comportement de paiement</h2>
|
||||
<div id="break">
|
||||
<?php echo $this->partial('giant/partials/rapports/ComportementDePaiement.phtml', null, array('report' => $this->report, 'Type' => $this->Type, 'dateFunction' => $this->dateFunction)); ?>
|
||||
<?php echo $this->partial('giant/partials/rapports/ComportementDePaiement.phtml', null, array('report' => $this->report, 'Type' => $this->Type)); ?>
|
||||
</div>
|
||||
<h2>6. Structure de l'entreprise</h2>
|
||||
<div id="break">
|
||||
@ -26,7 +26,7 @@
|
||||
</div>
|
||||
<h2>7. Dirigeants</h2>
|
||||
<div id="break">
|
||||
<?php echo $this->partial('giant/partials/rapports/Dirigeant.phtml', null, array('report' => $this->report, 'dateFunction' => $this->dateFunction)); ?>
|
||||
<?php echo $this->partial('giant/partials/rapports/Dirigeant.phtml', null, array('report' => $this->report)); ?>
|
||||
</div>
|
||||
<h2>8. Comparaison avec valeurs similaires</h2>
|
||||
<div id="break">
|
||||
|
@ -1,10 +1,5 @@
|
||||
<div id="center">
|
||||
<span style="float:right;margin-right:16px;">
|
||||
<a style="color:#9C093A;cursor:help;" class="tooltip" title="<?php echo htmlentities($this->listeCommandes);?>">Total commande : <?php echo $this->total; ?> euros</a>
|
||||
</span>
|
||||
<!-- <span style="color:#9C093A;margin-right:5px;float: right;">
|
||||
<a style="cursor:help;" class="tooltip" title="<?php echo htmlentities($this->modification);?>">Dernières modifications au <?php echo date('d/m/Y'); ?></a>
|
||||
</span> -->
|
||||
|
||||
<h1>Identite</h1>
|
||||
<div class="paragraph">
|
||||
<div id="identite">
|
||||
@ -122,33 +117,5 @@
|
||||
</div>
|
||||
<?php endif;?>
|
||||
|
||||
<?php //if(!empty($this->modification)): ?>
|
||||
<!--<h1>Liste des monitoring<img style="margin-top:4px;float:right" src="/themes/default/images/giant/expanded.gif" ></h1>
|
||||
<div class='monitor_but'>
|
||||
<a class="dial" title="Start Monitoring" href='/giant/startmonitoring/CompanyId/<?=$this->CompanyId?>/Pays/<?=$this->Pays?>/lang/<?=serialize($this->listeRapport->MonitoringOptions->MonitoringOption[0]->LanguageCodes->LanguageCode)?>/CompanyName/<?=str_replace(' ', '+', $this->raisonSociale)?>'>Start monitoring</a>
|
||||
<a class="dial" title="Stop Monitoring" href='/giant/stopmonitoring/CompanyId/<?=$this->CompanyId?>/Pays/<?=$this->Pays?>/CompanyName/<?=str_replace(' ', '+', $this->raisonSociale)?>'>Stop monitoring</a>
|
||||
<a class="dial" title="Update Monitoring" href='/giant/updatemonitoring/CompanyId/<?=$this->CompanyId?>/Pays/<?=$this->Pays?>/lang/<?=serialize($this->listeRapport->MonitoringOptions->MonitoringOption[0]->LanguageCodes->LanguageCode)?>/CompanyName/<?=str_replace(' ', '+', $this->raisonSociale)?>'>Update monitoring</a>
|
||||
<a class="retr" title="Retrive Monitoring" href='/giant/retrivemonitoring/CompanyId/<?=$this->CompanyId?>/Pays/<?=$this->Pays?>/CompanyName/<?=str_replace(' ', '+', $this->raisonSociale)?>'>Retrive monitoring</a>
|
||||
</div>
|
||||
<br><br><br><br>
|
||||
|
||||
<div class="dialog-form" title="Create new user">
|
||||
<form>
|
||||
<fieldset>
|
||||
<strong>Monitoring Type For: </strong><br />
|
||||
<select name="EventType" class="mon_type">
|
||||
<option value='Customer'>Customer</option>
|
||||
<option value='Consumer'>Consumer</option>
|
||||
<option value='Order'>Order</option>
|
||||
</select><br /><br />
|
||||
<strong>StartFrom: </strong><br />
|
||||
<input type="text" name="StartFrom" value="" /><br /><br />
|
||||
<div class='int_order'><strong>InternalOrderId: </strong><br />
|
||||
<input type="text" name="InternalOrderId" value="32768032781"/> <br /><br /></div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div> -->
|
||||
<?php// echo'<pre>';print_r($this->modification); ?>
|
||||
|
||||
<?php //endif;?>
|
||||
|
||||
</div>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<tr>
|
||||
<th class="date">Jours</th>
|
||||
<?php foreach(current($this->report->ComportementPaiement) as $dates => $valeurs):?>
|
||||
<? if($dates=='000030'){$dates='1000030';}else if($dates=='900000'){$dates='+90';}else if($dates=='1510000'){$dates='+151';}?>
|
||||
<? if($dates=='000030'){$dates='1000030';}else if($dates=='900000'){$dates='+90';}else if($dates=='910000'){$dates='+91';}else if($dates=='1510000'){$dates='+151';}?>
|
||||
<?$dates = str_replace('0000', ' - ', $dates)?>
|
||||
<th align="right" class="date"><?=$dates?></th>
|
||||
<?php endforeach; ?>
|
||||
@ -18,9 +18,10 @@
|
||||
<?php foreach($this->report->ComportementPaiement as $dates => $valeurs):?>
|
||||
<?(strlen($dates)==12)?$len=6:$len=8;preg_match('/(\d{'.$len.'})(\d{'.$len.'})/', $dates,$matches);$s = $matches[1];$e = $matches[2];?>
|
||||
<?php $date = explode(':', $dates);?>
|
||||
<?php $date1 = new Zend_Date($s,yyyymmdd);$date2 = new Zend_Date($e,yyyymmdd);?>
|
||||
<tr>
|
||||
<td class="head">
|
||||
<a><?php echo $this->dateFunction->dateT('Ymd', 'd/m/Y', $s);?> - <?php echo $this->dateFunction->dateT('Ymd', 'd/m/Y', $e);?></a>
|
||||
<a><?php echo $date1->toString('dd/mm/yyyy');?> - <?php echo $date2->toString('dd/mm/yyyy');?></a>
|
||||
</td>
|
||||
<?php $i=0;foreach($valeurs as $valeur): $i++; ?>
|
||||
<td class="right"><?php echo $valeur;?> %</td>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<a class="tooltip tooltipFont">Date de clôture</a>
|
||||
</td>
|
||||
<?php foreach($this->report->AnnualAccounts as $AnnualAccounts):$i++?>
|
||||
<td class="right"><?php echo (empty($AnnualAccounts->AccountsDate->_))?'NC':$this->dateFunction->dateT('Ymd', 'd/m/Y', $AnnualAccounts->AccountsDate->_);?></td>
|
||||
<td class="right"><?php if(empty($AnnualAccounts->AccountsDate->_))echo'NC';else {$date = new Zend_Date($AnnualAccounts->AccountsDate->_,yyyymmdd);echo $date->toString('dd/mm/yyyy');}?></td>
|
||||
<?php endforeach; ?>
|
||||
</tr>
|
||||
<tr >
|
||||
@ -39,7 +39,8 @@
|
||||
<th align="center">
|
||||
</th>
|
||||
<?php $i=0; foreach($this->report->AnnualAccounts as $AnnualAccounts): $i++?>
|
||||
<th align="right" class="date"><?php echo $this->dateFunction->dateT('Ymd', 'd/m/Y', $AnnualAccounts->AccountsDate->_); ?></th>
|
||||
<?php $date = new Zend_Date($AnnualAccounts->AccountsDate->_,yyyymmdd);?>
|
||||
<th align="right" class="date"><?php echo $date->toString('dd/mm/yyyy'); ?></th>
|
||||
<?php endforeach; ?>
|
||||
<th> </th>
|
||||
</tr>
|
||||
@ -83,7 +84,8 @@
|
||||
<th align="center">
|
||||
</th>
|
||||
<?php $i=0; foreach($this->report->AnnualAccounts as $AnnualAccounts): $i++?>
|
||||
<th align="right" class="date"><?php echo $this->dateFunction->dateT('Ymd', 'd/m/Y', $AnnualAccounts->AccountsDate->_); ?></th>
|
||||
<?php $date = new Zend_Date($AnnualAccounts->AccountsDate->_,yyyymmdd);?>
|
||||
<th align="right" class="date"><?php echo $date->toString('dd/mm/yyyy'); ?></th>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<th> </th>
|
||||
@ -128,7 +130,8 @@
|
||||
<th align="center">
|
||||
</th>
|
||||
<?php $i=0; foreach($this->report->AnnualAccounts as $AnnualAccounts): $i++?>
|
||||
<th align="right" class="date"><?php echo $this->dateFunction->dateT('Ymd', 'd/m/Y', $AnnualAccounts->AccountsDate->_); ?></th>
|
||||
<?php $date = new Zend_Date($AnnualAccounts->AccountsDate->_,yyyymmdd);?>
|
||||
<th align="right" class="date"><?php echo $date->toString('dd/mm/yyyy'); ?></th>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<th> </th>
|
||||
@ -174,7 +177,8 @@
|
||||
<th align="center">
|
||||
</th>
|
||||
<?php $i=0; foreach($this->report->AnnualAccounts as $AnnualAccounts): $i++?>
|
||||
<th align="right" class="date"><?php echo $this->dateFunction->dateT('Ymd', 'd/m/Y', $AnnualAccounts->AccountsDate->_); ?></th>
|
||||
<?php $date = new Zend_Date($AnnualAccounts->AccountsDate->_,yyyymmdd);?>
|
||||
<th align="right" class="date"><?php echo $date->toString('dd/mm/yyyy'); ?></th>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<th> </th>
|
||||
|
@ -6,15 +6,18 @@
|
||||
<?php foreach($this->report->Dirigeant as $Dirigeants):?>
|
||||
<?php foreach($Dirigeants as $date => $Dirigeant):?>
|
||||
<tr>
|
||||
<td style="padding:2px;color:#2599E7"><b><?php if(!empty($Dirigeant[0]->date[0]) || !empty($Dirigeant[0]->date[1])){echo(!empty($Dirigeant[0]->date[0]))?$this->dateFunction->dateT('Ymd', 'd/m/Y', $Dirigeant[0]->date[0]):'NC';echo' - ';
|
||||
echo(!empty($Dirigeant[0]->date[1]))?$this->dateFunction->dateT('Ymd', 'd/m/Y', $Dirigeant[0]->date[1]):'NC';}else{echo 'NC';}?></b></td>
|
||||
<td style="padding:2px;color:#2599E7"><b><?php if(!empty($Dirigeant[0]->date[0]) || !empty($Dirigeant[0]->date[1])){
|
||||
$date1 = new Zend_Date($Dirigeant[0]->date[0],yyyymmdd);$date2 = new Zend_Date($Dirigeant[0]->date[1],yyyymmdd);
|
||||
echo(!empty($Dirigeant[0]->date[0]))?$date1->toString('dd/mm/yyyy'):'NC';echo' - ';
|
||||
echo(!empty($Dirigeant[0]->date[1]))?$date2->toString('dd/mm/yyyy'):'NC';}else{echo 'NC';}?></b></td>
|
||||
</tr>
|
||||
<?php $i=0;?>
|
||||
<?php foreach($Dirigeant as $dir):$i++;?>
|
||||
<tr>
|
||||
<td class="line" style="font-size:12px;padding:5px;">
|
||||
<?php echo $dir->FirstName.' '.$dir->LastName.'
|
||||
<br /><b>Né(e) le:</b> '.((!empty($dir->DateOfBirth->_))?$this->dateFunction->dateT('Ymd', 'd/m/Y', $dir->DateOfBirth->_):'NC').
|
||||
<?php $date3 = new Zend_Date($dir->DateOfBirth->_,yyyymmdd);
|
||||
echo $dir->FirstName.' '.$dir->LastName.'
|
||||
<br /><b>Né(e) le:</b> '.((!empty($dir->DateOfBirth->_))?$date3->toString('dd/mm/yyyy'):'NC').
|
||||
' <br /><b>Domicilié(e) à :</b>'.(($dir->PersonalAddress->HouseNumber!=0)?$dir->PersonalAddress->HouseNumber:'').
|
||||
' '.$dir->PersonalAddress->Street.
|
||||
' '.(($dir->PersonalAddress->PostCode!=0)?$dir->PersonalAddress->PostCode:'NC').
|
||||
|
@ -122,7 +122,7 @@
|
||||
<tr>
|
||||
<?php foreach($this->report->Employees as $year => $employees): ?>
|
||||
<tr class="<?php echo ($val)? 'red':'green'; ?>">
|
||||
<td class="left"><?php if(strlen($year)==4)echo $year; else echo $this->dateFunction->dateT('Ymd', 'd/m/Y', $year);?></td>
|
||||
<td class="left"><?php if(strlen($year)==4)echo $year;elseif(empty($year))echo 'NC'; else {$date = new Zend_Date($year,yyyymmdd); echo $date->toString('dd/mm/yyyy');}?></td>
|
||||
<td class="right"><?php echo $employees['TotalStaffEmployed'];?></td>
|
||||
<td class="right"><?php echo $employees['FulltimeEquivalent'];?></td>
|
||||
</tr>
|
||||
|
@ -1,6 +1,5 @@
|
||||
<div class="paragraph">
|
||||
<?php if(isset($this->report->FinancialSummary)):?>
|
||||
<? $dateFunction = new WDate();?>
|
||||
<a name="11"></a>
|
||||
<span class="title">Informations Capital</span><br />
|
||||
<?php if(isset($this->report->PositionFinanciere)):?>
|
||||
@ -10,7 +9,8 @@
|
||||
<th align="center">
|
||||
</th>
|
||||
<?php $i = 0; foreach($this->report->PositionFinanciereDate as $date => $val):$i++?>
|
||||
<th align="right" class="date"><?php echo $dateFunction->dateT('Ymd', 'd/m/Y', $date);?></th>
|
||||
<?$date1 = new Zend_Date($date,yyyymmdd);?>
|
||||
<th align="right" class="date"><?php echo $date1->toString('dd/mm/yyyy');?></th>
|
||||
<?php endforeach; ?>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -1,5 +1,4 @@
|
||||
<?function emp_check($val){echo (empty($val))?'NC':$val;}
|
||||
$wdate = new WDate();?>
|
||||
<?function emp_check($val){echo (empty($val))?'NC':$val;}?>
|
||||
<div id="center">
|
||||
<div class='acord'>
|
||||
|
||||
@ -84,8 +83,8 @@ $wdate = new WDate();?>
|
||||
<div><div class="left_div"><b>LastName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Person->LastName)?></div></div>
|
||||
<div><div class="left_div"><b>Initials </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Person->Initials)?></div></div>
|
||||
<div><div class="left_div"><b>Title </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Person->Title)?></div></div>
|
||||
<div><div class="left_div"><b>Position StartDate </b></div> <div class="right_div"><?emp_check($wdate->dateT('Ymd', 'd/m/Y', $report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Period->StartDate->_))?></div></div>
|
||||
<div><div class="left_div"><b>Position EndDate </b></div> <div class="right_div"><?emp_check($wdate->dateT('Ymd', 'd/m/Y', $report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Period->EndDate->_))?></div></div>
|
||||
<div><div class="left_div"><b>Position StartDate </b></div> <div class="right_div"><?$date = new Zend_Date($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Period->StartDate->_,yyyymmdd);?><?emp_check($date->toString('dd/mm/yyyy'))?></div></div>
|
||||
<div><div class="left_div"><b>Position EndDate </b></div> <div class="right_div"><?$date = new Zend_Date($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Period->EndDate->_,yyyymmdd);?><?emp_check($date->toString('dd/mm/yyyy'))?></div></div>
|
||||
<div><div class="left_div"><b>PositionChangeReason </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->PositionChangeReason)?></div></div>
|
||||
<div><div class="left_div"><b>PositionTitle </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->PositionTitle->_)?></div></div>
|
||||
<div><div class="left_div"><b>Type </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Type)?></div></div>
|
||||
@ -96,8 +95,8 @@ $wdate = new WDate();?>
|
||||
<div><div class="left_div"><b>LastName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Person->LastName)?></div></div>
|
||||
<div><div class="left_div"><b>Initials </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Person->Initials)?></div></div>
|
||||
<div><div class="left_div"><b>Title </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Person->Title)?></div></div>
|
||||
<div><div class="left_div"><b>Position StartDate </b></div> <div class="right_div"><?emp_check($wdate->dateT('Ymd', 'd/m/Y', $report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Period->StartDate->_))?></div></div>
|
||||
<div><div class="left_div"><b>Position EndDate </b></div> <div class="right_div"><?emp_check($wdate->dateT('Ymd', 'd/m/Y', $report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Period->EndDate->_))?></div></div>
|
||||
<div><div class="left_div"><b>Position StartDate </b></div> <div class="right_div"><?$date = new Zend_Date($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Period->StartDate->_,yyyymmdd);?><?emp_check($date->toString('dd/mm/yyyy'))?></div></div>
|
||||
<div><div class="left_div"><b>Position EndDate </b></div> <div class="right_div"><?$date = new Zend_Date($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Period->EndDate->_,yyyymmdd);?><?emp_check($date->toString('dd/mm/yyyy'))?></div></div>
|
||||
<div><div class="left_div"><b>PositionChangeReason </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->PositionChangeReason)?></div></div>
|
||||
<div><div class="left_div"><b>PositionTitle </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->PositionTitle->_)?></div></div>
|
||||
<div><div class="left_div"><b>Type </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Type)?></div></div>
|
||||
|
@ -42,7 +42,7 @@ if ( empty($this->source) ){
|
||||
<table class="tablesorter" id="surveillance" width="570">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="75">Raison Sociale (Siret)</th>
|
||||
<th width="75">Dénomination Sociale (Siret)</th>
|
||||
<th width="110">Start Monitoring</th>
|
||||
<th width="110">End Monitoring</th>
|
||||
<th width="75">Lang</th>
|
||||
|
@ -1,545 +0,0 @@
|
||||
<?function emp_check($val){echo (empty($val))?'NC':$val;}
|
||||
$wdate = new WDate();?>
|
||||
<div id="center">
|
||||
<div class='acord'>
|
||||
<div id="accordion">
|
||||
<h3>GENERAL.ADDRESS_CHANGE</h3>
|
||||
<div>
|
||||
<?php if(isset($this->val['GENERAL.ADDRESS_CHANGE'])):?>
|
||||
<?foreach ($this->val['GENERAL.ADDRESS_CHANGE'] as $report):?>
|
||||
|
||||
<h2 class="radius">Données officielles</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>InternalEventId</b></div> <div class="right_div"><?emp_check($report->InternalEventId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->CompanyName[0]->_)?></div></div>
|
||||
<div><div class="left_div"><b>EventCode </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->EventCode)?></div></div>
|
||||
<div><div class="left_div"><b>Source </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Source->_)?></div></div>
|
||||
<div><div class="left_div"><b>Description </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Description->_)?></div></div>
|
||||
<div><div class="left_div"><b>FreeText </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->FreeText->_)?></div></div>
|
||||
</div>
|
||||
<br /><br />
|
||||
<h2 class="radius">Données officielles</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>OldCompanyName</b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyName[0]->_)?></div></div>
|
||||
<div><div class="left_div"><b>NewCompanyName</b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->CompanyName[0]->_)?></div></div>
|
||||
</div><br /><br />
|
||||
<h2 class="radius">Old Address</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>Street</b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyAddress[0]->Street)?></div></div>
|
||||
<div><div class="left_div"><b>HouseNumber</b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyAddress[0]->HouseNumber)?></div></div>
|
||||
<div><div class="left_div"><b>PostCode </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyAddress[0]->PostCode)?></div></div>
|
||||
<div><div class="left_div"><b>City </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyAddress[0]->City)?></div></div>
|
||||
<div><div class="left_div"><b>Country </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyAddress[0]->Country)?></div></div>
|
||||
</div><br /><br />
|
||||
<h2 class="radius">New Address</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>Street</b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->CompanyAddress[0]->Street)?></div></div>
|
||||
<div><div class="left_div"><b>HouseNumber</b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->CompanyAddress[0]->HouseNumber)?></div></div>
|
||||
<div><div class="left_div"><b>PostCode </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->CompanyAddress[0]->PostCode)?></div></div>
|
||||
<div><div class="left_div"><b>City </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->CompanyAddress[0]->City)?></div></div>
|
||||
<div><div class="left_div"><b>Country </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->CompanyAddress[0]->Country)?></div></div>
|
||||
</div>
|
||||
<hr style="border:1px dotted silver" />
|
||||
|
||||
<?endforeach;?>
|
||||
<? else :?>
|
||||
<div class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun GENERAL.ADDRESS_CHANGE
|
||||
</p>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
|
||||
</div>
|
||||
<h3>GENERAL.COMPANY_NAME_CHANGE</h3>
|
||||
<div>
|
||||
<?php if(isset($this->val['GENERAL.COMPANY_NAME_CHANGE'])):?>
|
||||
<?foreach ($this->val['GENERAL.COMPANY_NAME_CHANGE'] as $report):?>
|
||||
<h2 class="radius">Données officielles</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>InternalEventId</b></div> <div class="right_div"><?emp_check($report->InternalEventId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->CompanyName[0]->_)?></div></div>
|
||||
<div><div class="left_div"><b>EventCode </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->EventCode)?></div></div>
|
||||
<div><div class="left_div"><b>Source </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Source->_)?></div></div>
|
||||
<div><div class="left_div"><b>Description </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Description->_)?></div></div>
|
||||
<div><div class="left_div"><b>FreeText </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->FreeText->_)?></div></div>
|
||||
</div>
|
||||
<br /><br />
|
||||
<h2 class="radius">Old Values</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyName[0]->_)?></div></div>
|
||||
</div><br /><br />
|
||||
<h2 class="radius">New Values</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->CompanyName[0]->_)?></div></div>
|
||||
</div>
|
||||
<hr style="border:1px dotted silver" />
|
||||
|
||||
<?endforeach;?>
|
||||
<? else :?>
|
||||
<div class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun GENERAL.COMPANY_NAME_CHANGE
|
||||
</p>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<h3>GENERAL.LEGALFORM_CHANGE</h3>
|
||||
<div>
|
||||
<?php if(isset($this->val['GENERAL.LEGALFORM_CHANGE'])):?>
|
||||
<?foreach ($this->val['GENERAL.LEGALFORM_CHANGE'] as $report):?>
|
||||
<h2 class="radius">Données officielles</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>InternalEventId</b></div> <div class="right_div"><?emp_check($report->InternalEventId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->CompanyName[0]->_)?></div></div>
|
||||
<div><div class="left_div"><b>EventCode </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->EventCode)?></div></div>
|
||||
<div><div class="left_div"><b>Source </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Source->_)?></div></div>
|
||||
<div><div class="left_div"><b>Description </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Description->_)?></div></div>
|
||||
<div><div class="left_div"><b>FreeText </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->FreeText->_)?></div></div>
|
||||
</div>
|
||||
<br /><br />
|
||||
<h2 class="radius">Old Values</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyName[0]->_)?></div></div>
|
||||
</div><br /><br />
|
||||
<h2 class="radius">New Values</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->CompanyName[0]->_)?></div></div>
|
||||
</div><br /><br />
|
||||
<h2 class="radius">Old LegalForm</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>CountryLegalForm </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->LegalForm[0]->CountryLegalForm->_)?></div></div>
|
||||
<div><div class="left_div"><b>UnifiedLegalForm </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->LegalForm[0]->UnifiedLegalForm)?></div></div>
|
||||
<div><div class="left_div"><b>FoundedAsLegalForm </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->LegalForm[0]->FoundedAsLegalForm->_)?></div></div>
|
||||
<div><div class="left_div"><b>AddressLine </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyAddress[0]->FlexibleAddress->AddressLine[0])?></div></div>
|
||||
<div><div class="left_div"><b>Country </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->LegalForm[0]->Country)?></div></div>
|
||||
<div><div class="left_div"><b>IsSocial </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->LegalForm[0]->IsSocial)?></div></div>
|
||||
<div><div class="left_div"><b>IsCivil </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->LegalForm[0]->IsCivil)?></div></div>
|
||||
</div><br /><br />
|
||||
<h2 class="radius">New LegalForm</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>CountryLegalForm </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->LegalForm[0]->CountryLegalForm->_)?></div></div>
|
||||
<div><div class="left_div"><b>UnifiedLegalForm </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->LegalForm[0]->UnifiedLegalForm)?></div></div>
|
||||
<div><div class="left_div"><b>FoundedAsLegalForm </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->LegalForm[0]->FoundedAsLegalForm->_)?></div></div>
|
||||
<div><div class="left_div"><b>AddressLine </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->CompanyAddress[0]->FlexibleAddress->AddressLine[0])?></div></div>
|
||||
<div><div class="left_div"><b>Country </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->LegalForm[0]->Country)?></div></div>
|
||||
<div><div class="left_div"><b>IsSocial </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->LegalForm[0]->IsSocial)?></div></div>
|
||||
<div><div class="left_div"><b>IsCivil </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->LegalForm[0]->IsCivil)?></div></div>
|
||||
</div>
|
||||
<hr style="border:1px dotted silver" />
|
||||
<?endforeach;?>
|
||||
<? else :?>
|
||||
<div class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun GENERAL.LEGALFORM_CHANGE
|
||||
</p>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
|
||||
</div>
|
||||
<h3>GENERAL.POSITION_CHANGE</h3>
|
||||
<div>
|
||||
<?php if(isset($this->val['GENERAL.POSITION_CHANGE'])):?>
|
||||
<?foreach ($this->val['GENERAL.POSITION_CHANGE'] as $report):?>
|
||||
<h2 class="radius">Données officielles</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>InternalEventId</b></div> <div class="right_div"><?emp_check($report->InternalEventId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->CompanyName[0]->_)?></div></div>
|
||||
<div><div class="left_div"><b>EventCode </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->EventCode)?></div></div>
|
||||
<div><div class="left_div"><b>Source </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Source->_)?></div></div>
|
||||
<div><div class="left_div"><b>Description </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Description->_)?></div></div>
|
||||
<div><div class="left_div"><b>FreeText </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->FreeText->_)?></div></div>
|
||||
</div>
|
||||
<br /><br />
|
||||
<h2 class="radius">Old Values</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyName[0]->_)?></div></div>
|
||||
</div><br /><br />
|
||||
<h2 class="radius">New Values</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->CompanyName[0]->_)?></div></div>
|
||||
</div><br /><br />
|
||||
<h2 class="radius">Old Position</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>FirstName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Person->FirstName)?></div></div>
|
||||
<div><div class="left_div"><b>LastName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Person->LastName)?></div></div>
|
||||
<div><div class="left_div"><b>Initials </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Person->Initials)?></div></div>
|
||||
<div><div class="left_div"><b>Title </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Person->Title)?></div></div>
|
||||
<div><div class="left_div"><b>Position StartDate </b></div> <div class="right_div"><?emp_check($wdate->dateT('Ymd', 'd/m/Y', $report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Period->StartDate->_))?></div></div>
|
||||
<div><div class="left_div"><b>Position EndDate </b></div> <div class="right_div"><?emp_check($wdate->dateT('Ymd', 'd/m/Y', $report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Period->EndDate->_))?></div></div>
|
||||
<div><div class="left_div"><b>PositionChangeReason </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->PositionChangeReason)?></div></div>
|
||||
<div><div class="left_div"><b>PositionTitle </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->PositionTitle->_)?></div></div>
|
||||
<div><div class="left_div"><b>Type </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->Position[0]->Type)?></div></div>
|
||||
</div><br /><br />
|
||||
<h2 class="radius">New Position</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>FirstName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Person->FirstName)?></div></div>
|
||||
<div><div class="left_div"><b>LastName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Person->LastName)?></div></div>
|
||||
<div><div class="left_div"><b>Initials </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Person->Initials)?></div></div>
|
||||
<div><div class="left_div"><b>Title </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Person->Title)?></div></div>
|
||||
<div><div class="left_div"><b>Position StartDate </b></div> <div class="right_div"><?emp_check($wdate->dateT('Ymd', 'd/m/Y', $report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Period->StartDate->_))?></div></div>
|
||||
<div><div class="left_div"><b>Position EndDate </b></div> <div class="right_div"><?emp_check($wdate->dateT('Ymd', 'd/m/Y', $report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Period->EndDate->_))?></div></div>
|
||||
<div><div class="left_div"><b>PositionChangeReason </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->PositionChangeReason)?></div></div>
|
||||
<div><div class="left_div"><b>PositionTitle </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->PositionTitle->_)?></div></div>
|
||||
<div><div class="left_div"><b>Type </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->Position[0]->Type)?></div></div>
|
||||
</div><br /><br />
|
||||
<hr style="border:1px dotted silver" />
|
||||
<?endforeach;?>
|
||||
<? else :?>
|
||||
<div class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun GENERAL.POSITION_CHANGE
|
||||
</p>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<h3>GENERAL.NEWS</h3>
|
||||
<div>
|
||||
<?php if(isset($this->val['GENERAL.NEWS'])):?>
|
||||
<?foreach ($this->val['GENERAL.NEWS'] as $report):?>
|
||||
<h2 class="radius">Données officielles</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>InternalEventId</b></div> <div class="right_div"><?emp_check($report->InternalEventId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->CompanyName[0]->_)?></div></div>
|
||||
<div><div class="left_div"><b>EventCode </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->EventCode)?></div></div>
|
||||
<div><div class="left_div"><b>Source </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Source->_)?></div></div>
|
||||
<div><div class="left_div"><b>Description </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Description->_)?></div></div>
|
||||
<div><div class="left_div"><b>FreeText </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->FreeText->_)?></div></div>
|
||||
</div>
|
||||
<br /><br />
|
||||
<hr style="border:1px dotted silver" />
|
||||
<?endforeach;?>
|
||||
<? else :?>
|
||||
<div class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun GENERAL.NEWS
|
||||
</p>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<h3>GENERAL.MERGER</h3>
|
||||
<div>
|
||||
<?php if(isset($this->val['GENERAL.MERGER'])):?>
|
||||
<?foreach ($this->val['GENERAL.MERGER'] as $report):?>
|
||||
<div>
|
||||
<h2 class="radius">Données officielles</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>InternalEventId</b></div> <div class="right_div"><?emp_check($report->InternalEventId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->CompanyName[0]->_)?></div></div>
|
||||
<div><div class="left_div"><b>EventCode </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->EventCode)?></div></div>
|
||||
<div><div class="left_div"><b>Source </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Source->_)?></div></div>
|
||||
<div><div class="left_div"><b>Description </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Description->_)?></div></div>
|
||||
<div><div class="left_div"><b>FreeText </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->FreeText->_)?></div></div>
|
||||
</div>
|
||||
<br /><br />
|
||||
<h2 class="radius">Parameterized Description</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>DescriptionElement </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->ParameterizedDescription->DescriptionElement->_)?></div></div>
|
||||
<?foreach ($report->Company->Event[0]->ParameterizedDescription->Parameter as $Parameter):?>
|
||||
<div><div class="left_div"><b>Parameter <?emp_check($Parameter->paramname)?></b></div> <div class="right_div"><?emp_check($Parameter->_)?></div></div>
|
||||
<?endforeach;?>
|
||||
</div>
|
||||
<br /><br />
|
||||
<h2 class="radius">Values</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyName[0]->_)?></div></div>
|
||||
</div><br /><br />
|
||||
<h2 class="radius">LegalForm</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>CountryLegalForm </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->LegalForm[0]->CountryLegalForm->_)?></div></div>
|
||||
<div><div class="left_div"><b>UnifiedLegalForm </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->LegalForm[0]->UnifiedLegalForm)?></div></div>
|
||||
<div><div class="left_div"><b>HouseNumber</b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyAddress[0]->HouseNumber)?></div></div>
|
||||
<div><div class="left_div"><b>Street</b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyAddress[0]->Street)?></div></div>
|
||||
<div><div class="left_div"><b>Country </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->LegalForm[0]->Country)?></div></div>
|
||||
</div><br /><br />
|
||||
<hr style="border:1px dotted silver" />
|
||||
</div>
|
||||
<?endforeach;?>
|
||||
<? else :?>
|
||||
<div class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun GENERAL.MERGER
|
||||
</p>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<h3>GENERAL.SPLIT_UP</h3>
|
||||
<div>
|
||||
<?php if(isset($this->val['GENERAL.SPLIT_UP'])):?>
|
||||
<?foreach ($this->val['GENERAL.SPLIT_UP'] as $report):?>
|
||||
<h2 class="radius">Données officielles</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>InternalEventId</b></div> <div class="right_div"><?emp_check($report->InternalEventId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->CompanyName[0]->_)?></div></div>
|
||||
<div><div class="left_div"><b>EventCode </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->EventCode)?></div></div>
|
||||
<div><div class="left_div"><b>Source </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Source->_)?></div></div>
|
||||
<div><div class="left_div"><b>Description </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Description->_)?></div></div>
|
||||
<div><div class="left_div"><b>FreeText </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->FreeText->_)?></div></div>
|
||||
</div>
|
||||
<br /><br />
|
||||
<h2 class="radius">Parameterized Description</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>DescriptionElement </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->ParameterizedDescription->DescriptionElement->_)?></div></div>
|
||||
<?foreach ($report->Company->Event[0]->ParameterizedDescription->Parameter as $Parameter):?>
|
||||
<div><div class="left_div"><b>Parameter <?emp_check($Parameter->paramname)?></b></div> <div class="right_div"><?emp_check($Parameter->_)?></div></div>
|
||||
<?endforeach;?>
|
||||
</div>
|
||||
<br /><br />
|
||||
<h2 class="radius">Old Values</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyName[0]->_)?></div></div>
|
||||
</div><br /><br />
|
||||
<h2 class="radius">Old LegalForm</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>CountryLegalForm </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->LegalForm[0]->CountryLegalForm->_)?></div></div>
|
||||
<div><div class="left_div"><b>UnifiedLegalForm </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->LegalForm[0]->UnifiedLegalForm)?></div></div>
|
||||
<div><div class="left_div"><b>HouseNumber</b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyAddress[0]->HouseNumber)?></div></div>
|
||||
<div><div class="left_div"><b>Street</b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CompanyAddress[0]->Street)?></div></div>
|
||||
<div><div class="left_div"><b>Country </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->LegalForm[0]->Country)?></div></div>
|
||||
</div><br /><br />
|
||||
<?foreach ($report->Company->Event[0]->Value[1]->Company as $Company):?>
|
||||
<h2 class="radius">Values</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($Company->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($Company->CompanyName[0]->_)?></div></div>
|
||||
</div><br /><br />
|
||||
<h2 class="radius">LegalForm</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>CountryLegalForm </b></div> <div class="right_div"><?emp_check($Company->LegalForm[0]->CountryLegalForm->_)?></div></div>
|
||||
<div><div class="left_div"><b>UnifiedLegalForm </b></div> <div class="right_div"><?emp_check($Company->LegalForm[0]->UnifiedLegalForm)?></div></div>
|
||||
<div><div class="left_div"><b>HouseNumber</b></div> <div class="right_div"><?emp_check($Company->CompanyAddress[0]->HouseNumber)?></div></div>
|
||||
<div><div class="left_div"><b>Street</b></div> <div class="right_div"><?emp_check($Company->CompanyAddress[0]->Street)?></div></div>
|
||||
<div><div class="left_div"><b>Country </b></div> <div class="right_div"><?emp_check($Company->LegalForm[0]->Country)?></div></div>
|
||||
</div><br /><br />
|
||||
<?endforeach;?>
|
||||
<hr style="border:1px dotted silver" />
|
||||
<?endforeach;?>
|
||||
<? else :?>
|
||||
<div class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun GENERAL.SPLIT_UP
|
||||
</p>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<h3>FINANCIAL.ANNUAL_ACCOUNT_AVAILABLE</h3>
|
||||
<div>
|
||||
<?php if(isset($this->val['FINANCIAL.ANNUAL_ACCOUNT_AVAILABLE'])):?>
|
||||
<?foreach ($this->val['FINANCIAL.ANNUAL_ACCOUNT_AVAILABLE'] as $report):?>
|
||||
<h2 class="radius">Données officielles</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>InternalEventId</b></div> <div class="right_div"><?emp_check($report->InternalEventId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->CompanyName[0]->_)?></div></div>
|
||||
<div><div class="left_div"><b>EventCode </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->EventCode)?></div></div>
|
||||
<div><div class="left_div"><b>Source </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Source->_)?></div></div>
|
||||
<div><div class="left_div"><b>Description </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Description->_)?></div></div>
|
||||
<div><div class="left_div"><b>FreeText </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->FreeText->_)?></div></div>
|
||||
</div>
|
||||
<br /><br />
|
||||
<h2 class="radius">Parameterized Description</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>DescriptionElement </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->ParameterizedDescription->DescriptionElement->_)?></div></div>
|
||||
<?foreach ($report->Company->Event[0]->ParameterizedDescription->Parameter as $Parameter):?>
|
||||
<div><div class="left_div"><b>Parameter</b></div> <div class="right_div"><?emp_check($Parameter->_)?></div></div>
|
||||
<?endforeach;?>
|
||||
</div>
|
||||
<br /><br />
|
||||
<hr style="border:1px dotted silver" />
|
||||
<?endforeach;?>
|
||||
<? else :?>
|
||||
<div class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun FINANCIAL.ANNUAL_ACCOUNT_AVAILABLE
|
||||
</p>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<h3>FINANCIAL.ANNUAL_ACCOUNT_FILED</h3>
|
||||
<div>
|
||||
<?php if(isset($this->val['FINANCIAL.ANNUAL_ACCOUNT_FILED'])):?>
|
||||
<?foreach ($this->val['FINANCIAL.ANNUAL_ACCOUNT_FILED'] as $report):?>
|
||||
<h2 class="radius">Données officielles</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>InternalEventId</b></div> <div class="right_div"><?emp_check($report->InternalEventId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->CompanyName[0]->_)?></div></div>
|
||||
<div><div class="left_div"><b>EventCode </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->EventCode)?></div></div>
|
||||
<div><div class="left_div"><b>Source </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Source->_)?></div></div>
|
||||
<div><div class="left_div"><b>Description </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Description->_)?></div></div>
|
||||
<div><div class="left_div"><b>FreeText </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->FreeText->_)?></div></div>
|
||||
</div>
|
||||
<br /><br />
|
||||
<h2 class="radius">Parameterized Description</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>DescriptionElement </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->ParameterizedDescription->DescriptionElement->_)?></div></div>
|
||||
<?foreach ($report->Company->Event[0]->ParameterizedDescription->Parameter as $Parameter):?>
|
||||
<div><div class="left_div"><b>Parameter</b></div> <div class="right_div"><?emp_check($Parameter->_)?></div></div>
|
||||
<?endforeach;?>
|
||||
</div>
|
||||
<br /><br />
|
||||
<hr style="border:1px dotted silver" /><br />
|
||||
<?endforeach;?>
|
||||
<? else :?>
|
||||
<div class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun FINANCIAL.ANNUAL_ACCOUNT_FILED
|
||||
</p>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<h3>FINANCIAL.CAPITAL_CHANGE</h3>
|
||||
<div>
|
||||
<?php if(isset($this->val['FINANCIAL.CAPITAL_CHANGE'])):?>
|
||||
<?foreach ($this->val['FINANCIAL.CAPITAL_CHANGE'] as $report):?>
|
||||
<h2 class="radius">Données officielles</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>InternalEventId</b></div> <div class="right_div"><?emp_check($report->InternalEventId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->CompanyName[0]->_)?></div></div>
|
||||
<div><div class="left_div"><b>EventCode </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->EventCode)?></div></div>
|
||||
<div><div class="left_div"><b>Source </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Source->_)?></div></div>
|
||||
<div><div class="left_div"><b>Description </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Description->_)?></div></div>
|
||||
<div><div class="left_div"><b>FreeText </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->FreeText->_)?></div></div>
|
||||
</div>
|
||||
<br /><br />
|
||||
<h2 class="radius">Parameterized Description</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>DescriptionElement </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->ParameterizedDescription->DescriptionElement->_)?></div></div>
|
||||
<?foreach ($report->Company->Event[0]->ParameterizedDescription->Parameter as $Parameter):?>
|
||||
<div><div class="left_div"><b>Parameter</b></div> <div class="right_div"><?emp_check($Parameter->_)?></div></div>
|
||||
<?endforeach;?>
|
||||
</div>
|
||||
<br /><br />
|
||||
<h2 class="radius">Old ShareCapital</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>AuthorizedCapital </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->ShareCapital->AuthorizedCapital->_)?></div></div>
|
||||
<div><div class="left_div"><b>Currency </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->ShareCapital->AuthorizedCapital->currency)?></div></div>
|
||||
</div><br /><br />
|
||||
<h2 class="radius">New ShareCapital</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>AuthorizedCapital </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->ShareCapital->AuthorizedCapital->_)?></div></div>
|
||||
<div><div class="left_div"><b>Currency </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->ShareCapital->AuthorizedCapital->currency)?></div></div>
|
||||
</div><br /><br />
|
||||
<hr style="border:1px dotted silver" /><br />
|
||||
<?endforeach;?>
|
||||
<? else :?>
|
||||
<div class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun FINANCIAL.CAPITAL_CHANGE
|
||||
</p>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<h3>FINANCIAL.CREDIT_RECOMMENDATION_CHANGE</h3>
|
||||
<div>
|
||||
<?php if(isset($this->val['FINANCIAL.CREDIT_RECOMMENDATION_CHANGE'])):?>
|
||||
<?foreach ($this->val['FINANCIAL.CREDIT_RECOMMENDATION_CHANGE'] as $report):?>
|
||||
<h2 class="radius">Données officielles</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>ProviderEventId</b></div> <div class="right_div"><?emp_check($report->ProviderEventId)?></div></div>
|
||||
<div><div class="left_div"><b>InternalEventId</b></div> <div class="right_div"><?emp_check($report->InternalEventId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyId </b></div> <div class="right_div"><?emp_check($report->Company->CompanyId)?></div></div>
|
||||
<div><div class="left_div"><b>CompanyName </b></div> <div class="right_div"><?emp_check($report->Company->CompanyName[0]->_)?></div></div>
|
||||
<div><div class="left_div"><b>EventCode </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->EventCode)?></div></div>
|
||||
<div><div class="left_div"><b>Source </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Source->_)?></div></div>
|
||||
<div><div class="left_div"><b>Description </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Description->_)?></div></div>
|
||||
<div><div class="left_div"><b>FreeText </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->FreeText->_)?></div></div>
|
||||
</div>
|
||||
<br /><br />
|
||||
<h2 class="radius">Old CreditRecommendation</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>RatingName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CreditRecommendation[0]->RiskClasses->CommonRiskClass->RatingName->_)?></div></div>
|
||||
<div><div class="left_div"><b>RatingValue </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[0]->Company[0]->CreditRecommendation[0]->RiskClasses->CommonRiskClass->RatingValue)?></div></div>
|
||||
</div><br /><br />
|
||||
<h2 class="radius">New CreditRecommendation</h2><br /><br />
|
||||
<div class="gen_div">
|
||||
<div><div class="left_div"><b>RatingName </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->CreditRecommendation[0]->RiskClasses->CommonRiskClass->RatingName->_)?></div></div>
|
||||
<div><div class="left_div"><b>RatingValue </b></div> <div class="right_div"><?emp_check($report->Company->Event[0]->Value[1]->Company[0]->CreditRecommendation[0]->RiskClasses->CommonRiskClass->RatingValue)?></div></div>
|
||||
</div><br /><br />
|
||||
<hr style="border:1px dotted silver" /><br />
|
||||
<?endforeach;?>
|
||||
<? else :?>
|
||||
<div class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun FINANCIAL.CREDIT_RECOMMENDATION_CHANGE
|
||||
</p>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<h3>EXCEPTION.BANKRUPTCY_OR_LIQUIDATION</h3>
|
||||
<div>
|
||||
<?php if(isset($this->val['EXCEPTION.BANKRUPTCY_OR_LIQUIDATION'])):?>
|
||||
<?foreach ($this->val['EXCEPTION.BANKRUPTCY_OR_LIQUIDATION'] as $report):?>
|
||||
<pre><?print_r($report);?></pre>
|
||||
<?endforeach;?>
|
||||
<? else :?>
|
||||
<div class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun EXCEPTION.BANKRUPTCY_OR_LIQUIDATION
|
||||
</p>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<h3>EXCEPTION.DEBT_RESTRUCTURING</h3>
|
||||
<div>
|
||||
<?php if(isset($this->val['EXCEPTION.DEBT_RESTRUCTURING'])):?>
|
||||
<?foreach ($this->val['EXCEPTION.DEBT_RESTRUCTURING'] as $report):?>
|
||||
<pre><?print_r($report);?></pre>
|
||||
<?endforeach;?>
|
||||
<? else :?>
|
||||
<div class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun EXCEPTION.DEBT_RESTRUCTURING
|
||||
</p>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<h3>EXCEPTION.PROTEST_OR_NONPAYMENT</h3>
|
||||
<div>
|
||||
<?php if(isset($this->val['EXCEPTION.PROTEST_OR_NONPAYMENT'])):?>
|
||||
<?foreach ($this->val['EXCEPTION.PROTEST_OR_NONPAYMENT'] as $report):?>
|
||||
<pre><?print_r($report);?></pre>
|
||||
<?endforeach;?>
|
||||
<? else :?>
|
||||
<div class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun EXCEPTION.PROTEST_OR_NONPAYMENT
|
||||
</p>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
@ -7,7 +7,7 @@
|
||||
<?php echo number_format($this->resultats->NumberOfHits, 0, ',', ' ')?>
|
||||
réponses avec les critères <a href="<?php echo $this->lienReferer;?>">"<?php echo $this->referer; ?>"</a>.
|
||||
<?php echo ($this->resultats->NumberOfHits>$this->userMaxResult)?$this->userMaxResult:$this->resultats->NumberOfHits?> résultats affichés.
|
||||
Page <?php echo $this->page + 1 .'/'. $this->resultats->NumberOfHits?>.</b>
|
||||
Page <?php echo $this->page + 1 .'/'.round($this->resultats->NumberOfHits/$this->userMaxResult)?></b>
|
||||
</p>
|
||||
<ol start="<?php echo ($this->userMaxResult * $this->page) + 1; ?>">
|
||||
<?php foreach ($this->resultats->Results->Company as $resultat) :?>
|
||||
|
@ -7,25 +7,25 @@
|
||||
<div class="icones">
|
||||
<?php if ($this->print) {?>
|
||||
<a target="_blank" title="Impression" href="/editer/ecran/<?=$this->print.'.html'?>">
|
||||
<img alt="Impression" src="/themes/default/images/interfaces/printer.png">
|
||||
<img alt="<?=$this->translate("Impression")?>" src="/themes/default/images/interfaces/printer.png">
|
||||
</a>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($this->pdf) {?>
|
||||
<a target="_blank" title="Impression PDF" href="/editer/pdf/<?=$this->pdf.'.pdf'?>">
|
||||
<img alt="Impression" src="/themes/default/images/interfaces/pdf.png">
|
||||
<img alt="<?=$this->translate("Impression en PDF")?>" src="/themes/default/images/interfaces/pdf.png">
|
||||
</a>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($this->xml) {?>
|
||||
<a target="_blank" title="Export XML" href="/editer/xml/<?=$this->xml.'.xml'?>">
|
||||
<img alt="Export en XML" src="/themes/default/images/interfaces/xml.png">
|
||||
<img alt="<?=$this->translate("Export en XML")?>" src="/themes/default/images/interfaces/xml.png">
|
||||
</a>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($this->aide) {?>
|
||||
<a id="aideLigne" title="Aide en ligne" href="#">
|
||||
<img alt="Export en XML" src="/themes/default/images/interfaces/aideligne.png">
|
||||
<img alt="<?=$this->translate("Activer l'aide en ligne")?>" src="/themes/default/images/interfaces/aideligne.png">
|
||||
</a>
|
||||
<?php }?>
|
||||
|
||||
|
164
application/views/default/scripts/identite/contacts.phtml
Normal file
164
application/views/default/scripts/identite/contacts.phtml
Normal file
@ -0,0 +1,164 @@
|
||||
<div id="center">
|
||||
|
||||
<h1 class="titre">DONNEES DE CONTACTS</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>Historique des données de contact</h2>
|
||||
<div class="paragraph clearfix">
|
||||
<?php if ($this->all) {?>
|
||||
<?php
|
||||
$url = $this->url(array('controller'=>'identite', 'action'=>'contacts','siret'=>$this->siret), null, true);
|
||||
?>
|
||||
<div style="float:left;">
|
||||
<a href="<?=$url?>">Uniquement les contacts de l'établissement</a>
|
||||
</div>
|
||||
<?php } else {?>
|
||||
<?php
|
||||
$url = $this->url(array(
|
||||
'controller'=>'identite', 'action'=>'contacts',
|
||||
'siret'=>$this->siret, 'get'=> 'all'
|
||||
), null, true);
|
||||
?>
|
||||
<div style="float:left;">
|
||||
<a href="<?=$url?>">Tous les contacts de l'entreprise</a>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<div id="radioset" style="float:right;">
|
||||
Filtre :
|
||||
<input type="radio" name="filtre" id="tel"><label <?php if($this->filter=='tel') { echo ' class="ui-state-active"'; }?>data-url="<?=$url?>" for="tel">Téléphone</label>
|
||||
<input type="radio" name="filtre" id="fax"><label <?php if($this->filter=='fax') { echo ' class="ui-state-active"'; }?>data-url="<?=$url?>" for="fax">Fax</label>
|
||||
<input type="radio" name="filtre" id="mail"><label <?php if($this->filter=='mail') { echo ' class="ui-state-active"'; }?>data-url="<?=$url?>" for="mail">e-Mail</label>
|
||||
<input type="radio" name="filtre" id="web"><label <?php if($this->filter=='web') { echo ' class="ui-state-active"'; }?>data-url="<?=$url?>" for="web">Web</label>
|
||||
<input type="radio" name="filtre" id="remove"><label data-url="<?=$url?>" for="remove">Sans filtres</label>
|
||||
</div>
|
||||
<script>
|
||||
$('#radioset').buttonset();
|
||||
$('input[name=filtre]').click(function(e){
|
||||
e.preventDefault();
|
||||
var label = $(this).attr('id');
|
||||
if (label=='remove') {
|
||||
window.location.href = $('label[for='+label+']').data('url');
|
||||
} else if ( $('label[for='+label+']').hasClass('ui-state-active') ) {
|
||||
window.location.href = $('label[for='+label+']').data('url')+'/filter/'+label;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<div class="paragraph clearfix">
|
||||
|
||||
<?php if ( $this->edition ) {?>
|
||||
<div style="line-height:16px;">
|
||||
<a class="dialog" title="Ajouter un contact" href="<?=$this->url(array('controller'=>'saisie','action'=>'contact','mode'=>'add','siret'=>$this->siret), null, true)?>">
|
||||
<img style="vertical-align:middle;" src="/themes/default/images/interfaces/ajouter.png" /> Ajouter un contact</a>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if ( count($this->contacts) == 0 ){?>
|
||||
Aucun contacts.
|
||||
<?php } else {?>
|
||||
|
||||
<table class="data">
|
||||
<tr>
|
||||
<th>SIREN / SIRET</th>
|
||||
<th>Type</th>
|
||||
<th>Contact</th>
|
||||
<th>Description</th>
|
||||
<th>Mise à jour</th>
|
||||
</tr>
|
||||
<?php foreach($this->contacts as $item) {?>
|
||||
<?php
|
||||
$class = '';
|
||||
if ($item->deleted) {
|
||||
$class = ' class="deleted"';
|
||||
}
|
||||
?>
|
||||
<tr<?=$class?>>
|
||||
<td><?=$this->SiretTexte($item->siren.$item->nic)?></td>
|
||||
<td>
|
||||
<?php
|
||||
switch($item->type) {
|
||||
case 'fax': echo "Fax"; break;
|
||||
case 'mail': echo "E-mail"; break;
|
||||
case 'tel': echo "Téléphone"; break;
|
||||
case 'web': echo "Site Web"; break;
|
||||
case 'mob': echo "Tel. Mobile"; break;
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td>
|
||||
<?php if ($item->type=='fax' || $item->type=='tel' || $item->type=='mob') {?>
|
||||
<?=substr(chunk_split($item->value, 2, '.'), 0, -1)?>
|
||||
<?php } else if ($item->type=='web') {?>
|
||||
<a href="<?=$item->value?>" target="_blank"><?=$item->value?></a>
|
||||
<?php } else if ($item->type=='mail') {?>
|
||||
<a href="mailto:<?=$item->value?>" target="_blank"><?=$item->value?></a>
|
||||
<?php } else {?>
|
||||
<?=$item->value?>
|
||||
<?php }?>
|
||||
|
||||
<?php if( $this->edition ) {?>
|
||||
<div style="float:right;">
|
||||
<a class="dialog" title="Modifier le contact" href="<?=$this->url(array('controller'=>'saisie','action'=>'contact','mode'=>'edit','id'=>$item->id), null, true)?>"><img src="/themes/default/images/interfaces/editer.png" /></a>
|
||||
<a class="dialog" title="Supprimer le contact" href="<?=$this->url(array('controller'=>'saisie','action'=>'contact','mode'=>'delete','id'=>$item->id), null, true)?>"><img src="/themes/default/images/interfaces/supprimer.png" /></a>
|
||||
</div>
|
||||
<?php }?>
|
||||
</td>
|
||||
<td><?=$item->description?></td>
|
||||
<td>
|
||||
<?php
|
||||
if (intval($item->date)>0) {
|
||||
$date = new Zend_Date($item->date, 'yyyyMMdd');
|
||||
echo $date->toString('dd/MM/yyyy');
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php if ($this->edition) {?>
|
||||
<script>
|
||||
$('a.dialog').on('click', function(){
|
||||
var href = $(this).attr('href');
|
||||
if (href!='#') {
|
||||
var title = $(this).attr('title');
|
||||
var dialogOpts = {
|
||||
bgiframe: true,
|
||||
title: title,
|
||||
width: 600,
|
||||
height: 300,
|
||||
modal: true,
|
||||
open: function(event, ui) {
|
||||
$(this).html('Chargement...').load(href);
|
||||
},
|
||||
buttons: {
|
||||
Quitter: function() { $(this).dialog('close'); }
|
||||
},
|
||||
close: function() { $('#dialog').remove(); }
|
||||
};
|
||||
$('<div id="dialog"></div>').dialog(dialogOpts);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<?php }?>
|
@ -1,33 +1,29 @@
|
||||
<div id="center">
|
||||
<h1>LISTE DES ÉTABLISSEMNTS</h1>
|
||||
<h1><?=$this->translate("LISTE DES ÉTABLISSEMNTS")?></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>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->translate("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">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->translate("Dénomination Sociale")?></td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<?php if ($this->actif == -1 && is_array($this->etabs) && count($this->etabs)>0){ ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" class="StyleInfoData">
|
||||
L'entreprise à <?=$this->nbEtabActif?> établissement<?php if ($this->nbEtabActif>0) echo 's';?> actif<?php if ($this->nbEtabActif>0) echo 's';?>
|
||||
et <?=$this->nbEtabRadie?> établissement<?php if ($this->nbEtabRadie>0) echo 's';?> radié<?php if ($this->nbEtabRadie>0) echo 's';?>.
|
||||
<?=$this->translate($this->translate()->getTranslator()->plural("L'entreprise a %1\$s établissement actif", "L'entreprise a %1\$s établissements actifs", $this->nbEtabActif), $this->nbEtabActif);?>
|
||||
<?=$this->translate($this->translate()->getTranslator()->plural("et %1\$s établissement radié", "et %1\$s établissements radiés", $this->nbEtabRadie), $this->nbEtabRadie);?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php }?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Actif/Inactif</td>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->translate("Actif")?> / <?=$this->translate("Inactif")?></td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<form name="options" method="post" action="<?=$this->url(array(
|
||||
'action' => 'etablissements',
|
||||
@ -35,9 +31,9 @@
|
||||
'id' => $this->id,
|
||||
));?>">
|
||||
<select name="actif">
|
||||
<option value="-1"<?=($this->actif==-1)? ' selected' : '';?>>Tous</option>
|
||||
<option value="1"<?=($this->actif==1)? ' selected' : '';?>>Actif</option>
|
||||
<option value="0"<?=($this->actif==0)? ' selected' : '';?>>Inactif</option>
|
||||
<option value="-1"<?=($this->actif==-1)? ' selected' : '';?>><?=$this->translate("Tous")?></option>
|
||||
<option value="1"<?=($this->actif==1)? ' selected' : '';?>><?=$this->translate("Actif")?></option>
|
||||
<option value="0"<?=($this->actif==0)? ' selected' : '';?>><?=$this->translate("Inactif")?></option>
|
||||
</select>
|
||||
<input type="submit" name="selection" value="Ok">
|
||||
</form>
|
||||
@ -61,6 +57,7 @@
|
||||
{
|
||||
if ($etab->Siege==1) $type = 'siège ';
|
||||
else $type = 'établ. ';
|
||||
|
||||
if ($etab->Actif==1) $type.= 'actif';
|
||||
else $type.= 'inactif';
|
||||
|
||||
@ -75,7 +72,7 @@
|
||||
?>
|
||||
<tr>
|
||||
<td class="StyleInfoData" width="30">
|
||||
<b><a title="Voir la fiche d'identité" href="<?=$href?>"><?=$etab->Nic?></a></b>
|
||||
<b><a title="<?=$this->translate("Voir la fiche d'identité")?>" href="<?=$href?>"><?=$etab->Nic?></a></b>
|
||||
</td>
|
||||
<td class="StyleInfoData" width="80"><?=$type?></td>
|
||||
<td class="StyleInfoData" width="190">
|
||||
|
@ -2,39 +2,43 @@
|
||||
<h1>LISTE DES ÉVÉNEMENTS</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<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="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">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" width="550" class="StyleInfoData">
|
||||
<?=$this->action('infos','surveillance', null, array(
|
||||
'source' => 'insee',
|
||||
'siret' => $this->siret
|
||||
))?>
|
||||
</td>
|
||||
</tr>
|
||||
<?=$this->action('infos','surveillance',null,array('source' => 'insee','siret'=>$this->siret))?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Événements INSEE</h2>
|
||||
|
||||
<?php if ( count($this->evens)==0 ) { ?>
|
||||
<div class="paragraph">
|
||||
<table class="data">
|
||||
<tr>
|
||||
<td class="StyleInfoData" width="580">
|
||||
|
||||
Aucun évènement n'est présent dans notre base
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<div class="paragraph">
|
||||
<table class="data">
|
||||
<?php
|
||||
if (count($this->evens)>0) {
|
||||
foreach ($this->evens as $i=>$even)
|
||||
{
|
||||
foreach ($this->evens as $i=>$even) {
|
||||
if ($even->Siege==1) $type='siège';
|
||||
else $type='établissement';
|
||||
$lien = '<a title="Voir la fiche d\'identité" href="'.$this->url(array(
|
||||
@ -51,11 +55,13 @@ if (count($this->evens)>0) {
|
||||
?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="80" valign="top">
|
||||
<?=WDate::dateT('Ymd','d/m/Y',$even->DateInfo)?>
|
||||
<?php $date = new Zend_Date($even->DateInfo, 'yyyyMMdd')?>
|
||||
<?=$date->toString('dd/MM/yyyy')?>
|
||||
</td>
|
||||
<td class="StyleInfoData" width="580">
|
||||
<?php $date = new Zend_Date($even->EvenDate, 'yyyyMMdd')?>
|
||||
<b><?=$even->EvenLib?></b> <i> - NIC <?=$lien.$even->Nic.'</a>'?>
|
||||
le <?=WDate::dateT('Ymd','d/m/Y',$even->EvenDate)?></i>
|
||||
le <?=$date->toString('dd/MM/yyyy')?></i>
|
||||
<?php
|
||||
if (trim($even->EvenLibDet)<>'')
|
||||
echo '<br/>'.str_replace(', ','<br/>', $even->EvenLibDet);
|
||||
@ -66,20 +72,24 @@ if (count($this->evens)>0) {
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
} elseif ( count($evens)==0 ) {
|
||||
?>
|
||||
<tr>
|
||||
<td class="StyleInfoData" width="580">
|
||||
|
||||
Aucun évènement n'est présent dans notre base
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php if ($this->totPage>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->curPage-1))?>">‹</a>
|
||||
<span>Page <?=$this->curPage?>/<?=$this->totPage?></span>
|
||||
<a class="next" href="<?=$this->url(array('page'=>$this->curPage+1))?>">›</a>
|
||||
<a class="last" href="<?=$this->url(array('page'=>$this->totPage))?>">»</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
||||
|
@ -1,35 +0,0 @@
|
||||
<?php if ($this->source == 'google'):?>
|
||||
|
||||
<div id="infogeo_photo">
|
||||
<?=$this->action('streetview', 'identite', null, array(
|
||||
'lat' => $this->infos->GeoLat,
|
||||
'lon' => $this->infos->GeoLon,
|
||||
'siret' => $this->infos->Siret,
|
||||
));?>
|
||||
</div>
|
||||
|
||||
<?php elseif ($this->source == 'mappy'):?>
|
||||
<div><img id="pp-cb-thumb" width="300px" /></div>
|
||||
<script src="<?=$this->lienJs?>"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
var photoService = new Mappy.api.visiocity.PhotoService();
|
||||
var geo = new Mappy.api.geolocation.Geocoder();
|
||||
|
||||
var address = "<?=$this->adresse?>";
|
||||
geo.geocode(address, function(result) {
|
||||
photoService.search(result[0], "f", serviceHandler);
|
||||
}, function(error) {});
|
||||
|
||||
var serviceHandler = function(result) {
|
||||
if (result instanceof Mappy.api.visiocity.Frontage) {
|
||||
var current = result.getCurrent();
|
||||
var img = $('<img src="' + current.getURL(320, null) +
|
||||
'" alt="' + current.getDescription() +
|
||||
'" width="300px" />');
|
||||
$('#pp-cb-thumb').replaceWith(img);
|
||||
}
|
||||
};
|
||||
});
|
||||
</script>
|
||||
<?php endif;?>
|
@ -19,7 +19,7 @@
|
||||
<div class="paragraph" style="text-align:right;">
|
||||
<?php if (!empty($this->dateDerMaj)) { ?>
|
||||
<a class="datemaj" href="#">
|
||||
Dernière mise à jour<?=$this->dateDerMaj?>
|
||||
<?=$this->translate("Dernière mise à jour le")?> <?=$this->dateDerMaj?>
|
||||
<span><?=$this->datemajTexte?></span>
|
||||
</a>
|
||||
<?php }?>
|
||||
@ -34,7 +34,7 @@
|
||||
<?php }?>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<h1 class="titre">FICHE D'IDENTITÉ</h1>
|
||||
<h1 class="titre"><?=$this->translate("FICHE D'IDENTITÉ");?></h1>
|
||||
<?php }?>
|
||||
|
||||
<div class="paragraph">
|
||||
@ -56,27 +56,41 @@ echo $this->partial('identite/fiche-item.phtml', $this->dBlock['AutreSiren']);
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Raison sociale & Coordonnées</h2>
|
||||
<h2><?=$this->translate("Dénomination sociale & Coordonnées")?></h2>
|
||||
<div class="paragraph">
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<?php if($this->accessWorldCheck) { ?>
|
||||
<?php if ( empty($this->AutrePage) && $this->accessWorldCheck) { ?>
|
||||
<div style="float:right;">
|
||||
<img class="wcheck" src='/themes/default/images/worldcheck/wc.png'/>
|
||||
<img style="cursor:pointer;" class="wcheck" data-url="<?=$this->url(array(
|
||||
'controller'=>'worldcheck',
|
||||
'action'=>'occurence',
|
||||
'dirSociete'=>$this->infos->Nom,
|
||||
'dirSocNom2'=>$this->infos->Nom2,
|
||||
'dirSocNomLong'=>$this->infos->NomLong,
|
||||
'dirSocCommercial'=>$this->infos->NomCommercial,
|
||||
'dirSocSigle'=>$this->infos->Sigle,
|
||||
'dirSocSigleLong'=>$this->infos->SigleLong,
|
||||
'dirSocEnseigne'=>$this->infos->Enseigne,
|
||||
'dirSocEnseigneLong'=>$this->infos->EnseigneLong,
|
||||
'dirType' =>'ORGANISATION',
|
||||
'siren'=>substr($this->siret, 0, 9)
|
||||
), null, true)?>" src="/themes/default/images/worldcheck/wc.png"/>
|
||||
</div>
|
||||
<script>
|
||||
$('img.wcheck').each(function(){
|
||||
$(this).qtip({
|
||||
hide: { event: 'unfocus' },
|
||||
show: { solo: true, delay: 1000 },
|
||||
content: { title: {button: true}, text: "Chargement...",
|
||||
ajax: { url: '<?=$this->url(array('controller'=>'worldcheck','action'=>'occurence', 'dirSociete'=>$this->infos->Nom, 'dirType' =>'ORGANISATION', 'siren'=>substr($this->siret, 0, 9)),null,true);?>' } },
|
||||
position: { my: "bottom left", at: "top center" }
|
||||
show: { solo: true, delay: 500 },
|
||||
content: {
|
||||
button: true,
|
||||
title: 'WorlCheck',
|
||||
text: "Chargement...",
|
||||
ajax: { url: $(this).data('url') } },
|
||||
position: { my: 'right center', at: 'left center' }
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
|
||||
<table>
|
||||
<?php
|
||||
@ -97,7 +111,7 @@ echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Mail']);
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Activité(s) & Chiffre d'affaires</h2>
|
||||
<h2><?=$this->translate("Activité(s) & Chiffre d'affaires")?></h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<?php
|
||||
|
@ -2,7 +2,7 @@
|
||||
span.title { float:right; margin:0 10px; }
|
||||
</style>
|
||||
<div id="center">
|
||||
<h1>FICHE PROCÉDURE COLLECTIVES</h1>
|
||||
<h1>FICHE PROCÉDURES COLLECTIVES</h1>
|
||||
|
||||
<span class="title"><?=date('d/m/Y H:i')?></span>
|
||||
|
||||
@ -262,13 +262,13 @@ if(count($this->infos->Organes->item)>0) {
|
||||
<?php
|
||||
if(isset($this->infos->Identite->dateCessationPaiement) && !empty($this->infos->Identite->dateCessationPaiement) && $this->infos->Identite->dateCessationPaiement!='0000-00-00')
|
||||
{
|
||||
$date = WDate::dateT('Y-m-d', 'd/m/Y',$this->infos->Identite->dateCessationPaiement);
|
||||
$date = new Zend_Date($this->infos->Identite->dateCessationPaiement, 'yyyy-MM-dd');
|
||||
?>
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" valign="top" class="StyleInfoLib">Cessation des paiements, le</td>
|
||||
<td width="300" class="StyleInfoData"><?=$date?></td>
|
||||
<td width="300" class="StyleInfoData"><?=$date->toString('dd/MM/yyyy')?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
|
@ -17,7 +17,7 @@
|
||||
<?php
|
||||
if (count($this->infos->InfosIris)>0){
|
||||
$InfosIris = $this->infos->InfosIris;
|
||||
$codComIris = str_replace($InfosIris->codIris, '', $InfosIris->codComIris);
|
||||
$codComIris = str_replace($InfosIris->codIris, '', $InfosIris->codComIris);
|
||||
?>
|
||||
<br/><br/><b>Iris :</b>
|
||||
<?php if (intval($InfosIris->codIris) == 0){ ?>
|
||||
@ -27,11 +27,42 @@
|
||||
<br/>Libellé : <a title="Consulter le plan d'assemblage de la commune" href="<?=$this->url(array('controller'=>'identite', 'action'=>'iris', 'code'=>$codComIris), null, true)?>" target="_blank"><?=$InfosIris->libIris?></a>
|
||||
<img title="<?=$InfosIris->typIris?>" style="vertical-align:middle;" src="/themes/default/images/info.gif">
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<?php if($this->facade):?>
|
||||
<?=$this->action('facade', 'identite', null, array('infos' => $this->infos));?>
|
||||
<?php endif;?>
|
||||
<?php if ($this->source == 'google') {?>
|
||||
|
||||
<div id="infogeo_photo">
|
||||
<?=$this->action('streetview', 'identite', null, array(
|
||||
'infos' => $this->infos,
|
||||
));?>
|
||||
</div>
|
||||
|
||||
<?php } elseif ($this->source == 'mappy') {?>
|
||||
|
||||
<div><img id="pp-cb-thumb" width="300px" /></div>
|
||||
<script src="<?=$this->lienJs?>"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
var serviceHandler = function(result) {
|
||||
if (result instanceof Mappy.api.visiocity.Frontage) {
|
||||
var current = result.getCurrent();
|
||||
var img = $('<img src="' + current.getURL(320, null) +
|
||||
'" alt="' + current.getDescription() +
|
||||
'" width="300px" />');
|
||||
$('#pp-cb-thumb').replaceWith(img);
|
||||
}
|
||||
};
|
||||
var address = "<?=$this->adresse?>";
|
||||
var geo = new Mappy.api.geolocation.Geocoder();
|
||||
var photoService = new Mappy.api.visiocity.PhotoService();
|
||||
geo.geocode(address, function(result) {
|
||||
photoService.search(result[0], 'f', serviceHandler);
|
||||
}, function(error) {});
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php }?>
|
||||
|
||||
</div>
|
||||
</div>
|
@ -1,30 +1,54 @@
|
||||
<style>
|
||||
.jstree-default a.jstree-search { color: red; }
|
||||
</style>
|
||||
<style>.jstree-default a.jstree-search { color: red; }</style>
|
||||
<div>Tête de groupe
|
||||
<select name="isin">
|
||||
<option value="1" <?php if($this->isin==1) { echo ' selected'; }?>>coté, détention minimum à 50%</option>
|
||||
<option value="0" <?php if($this->isin==0) { echo ' selected'; }?>>détention minimum à 50%</option>
|
||||
</select>
|
||||
</div>
|
||||
<div>
|
||||
<?php if ( $this->edition ) {?>
|
||||
<span style="margin:0 5px;"><input type="radio" name="pctMin" value="0"<?php
|
||||
if ($this->pctMin == 0) echo ' checked';?>> Tout</span>
|
||||
Filiales, détention minimum
|
||||
<select name="pctMin">
|
||||
<?php if( $this->edition ) {?>
|
||||
<option value="0" <?php if($this->pctMin==0) { echo ' selected'; }?>>Tout</option>
|
||||
<?php }?>
|
||||
<span style="margin:0 5px;"><input type="radio" name="pctMin" value="33"<?php
|
||||
if ($this->pctMin == 33) echo ' checked';?>> 33%</span>
|
||||
<span style="margin:0 5px;"><input type="radio" name="pctMin" value="40"<?php
|
||||
if ($this->pctMin == 40) echo ' checked';?>> 40%</span>
|
||||
<span style="margin:0 5px;"><input type="radio" name="pctMin" value="50"<?php
|
||||
if ($this->pctMin == 50) echo ' checked';?>> 50%</span>
|
||||
<option value="33" <?php if($this->pctMin==33) { echo ' selected'; }?>>33%</option>
|
||||
<option value="40" <?php if($this->pctMin==40) { echo ' selected'; }?>>40%</option>
|
||||
<option value="50" <?php if($this->pctMin==50) { echo ' selected'; }?>>50%</option>
|
||||
</select>
|
||||
<input id="filter" type="button" value="Filtrer" style="float:right;">
|
||||
</div>
|
||||
<div>
|
||||
<div>
|
||||
<input id="text" type="text" value="">
|
||||
<input id="search" type="button" value="Recherche">
|
||||
<input id="search" type="button" value="Rechercher">
|
||||
<input id="clear_search" type="button" value="Initialiser">
|
||||
</div>
|
||||
<div id="groups" class="jstree jstree-default" style="overflow:auto;"></div>
|
||||
<script src="/libs/jstree/jstree.min.js"></script>
|
||||
<script>
|
||||
$('input[name=pctMin]').on('click', function(e){
|
||||
e.preventDefault();
|
||||
var pct = $(this).val();
|
||||
$('div#dialogarbo').load('<?=$this->url(array('controller'=>'identite','action'=>'groupesarbo','siret'=>$this->siret),null,true)?>/pctMin/'+pct);
|
||||
});
|
||||
$('#dialogarbo').dialog({ buttons: [
|
||||
{ text: "Imprimer", click: function() {
|
||||
var pct = $('select[name=pctMin] option:selected').val();
|
||||
var isin = $('select[name=isin] option:selected').val();
|
||||
window.open('<?=$this->url(array(
|
||||
'controller'=>'identite',
|
||||
'action'=>'groupesarboimg',
|
||||
'siret'=>$this->siret
|
||||
),null,true)?>/pctMin/'+pct+'/isin/'+isin);
|
||||
} },
|
||||
{ text: "Fermer", click: function() { $(this).dialog("close"); } }
|
||||
]});
|
||||
|
||||
$('#filter').on('click', function(e){
|
||||
e.preventDefault();
|
||||
var pct = $('select[name=pctMin] option:selected').val();
|
||||
var isin = $('select[name=isin] option:selected').val();
|
||||
$('div#dialogarbo').html('Chargement...').load('<?=$this->url(array(
|
||||
'controller'=>'identite',
|
||||
'action'=>'groupesarbo',
|
||||
'siret'=>$this->siret
|
||||
),null,true)?>/pctMin/'+pct+'/isin/'+isin);
|
||||
});
|
||||
|
||||
$("#groups").jstree({
|
||||
"core" : { "html_titles" : true },
|
||||
|
@ -0,0 +1,87 @@
|
||||
<style>
|
||||
div#menu {display:none;}
|
||||
.jstree-default li,
|
||||
.jstree-default ins { background-image:url("/libs/jstree/themes/default/d.png"); background-repeat:no-repeat; background-color:transparent; }
|
||||
.jstree-default li { background-position:-90px 0; background-repeat:repeat-y; }
|
||||
.jstree-default li.jstree-last { background:transparent; }
|
||||
.jstree-default .jstree-open > ins { background-position:-72px 0; }
|
||||
.jstree-default .jstree-closed > ins { background-position:-54px 0; }
|
||||
.jstree-default .jstree-leaf > ins { background-position:-36px 0; }
|
||||
|
||||
.jstree-default .jstree-hovered { background:#e7f4f9; border:1px solid #d8f0fa; padding:0 2px 0 1px; }
|
||||
.jstree-default .jstree-clicked { background:#beebff; border:1px solid #99defd; padding:0 2px 0 1px; }
|
||||
.jstree-default a .jstree-icon { background-position:-56px -19px; }
|
||||
.jstree-default a.jstree-loading .jstree-icon { background:url("/libs/jstree/themes/default/throbber.gif") center center no-repeat !important; }
|
||||
|
||||
.jstree-default.jstree-focused { background:#ffffee; }
|
||||
|
||||
.jstree-default .jstree-no-dots li,
|
||||
.jstree-default .jstree-no-dots .jstree-leaf > ins { background:transparent; }
|
||||
.jstree-default .jstree-no-dots .jstree-open > ins { background-position:-18px 0; }
|
||||
.jstree-default .jstree-no-dots .jstree-closed > ins { background-position:0 0; }
|
||||
|
||||
.jstree-default .jstree-no-icons a .jstree-icon { display:none; }
|
||||
|
||||
.jstree-default .jstree-search { font-style:italic; }
|
||||
|
||||
.jstree-default .jstree-no-icons .jstree-checkbox { display:inline-block; }
|
||||
.jstree-default .jstree-no-checkboxes .jstree-checkbox { display:none !important; }
|
||||
.jstree-default .jstree-checked > a > .jstree-checkbox { background-position:-38px -19px; }
|
||||
.jstree-default .jstree-unchecked > a > .jstree-checkbox { background-position:-2px -19px; }
|
||||
.jstree-default .jstree-undetermined > a > .jstree-checkbox { background-position:-20px -19px; }
|
||||
.jstree-default .jstree-checked > a > .jstree-checkbox:hover { background-position:-38px -37px; }
|
||||
.jstree-default .jstree-unchecked > a > .jstree-checkbox:hover { background-position:-2px -37px; }
|
||||
.jstree-default .jstree-undetermined > a > .jstree-checkbox:hover { background-position:-20px -37px; }
|
||||
|
||||
#jstree-marker.jstree-default { background:url("/libs/jstree/themes/default/d.png") -41px -57px no-repeat !important; text-indent:-100px; }
|
||||
|
||||
.jstree-default a.jstree-search { color:aqua; }
|
||||
.jstree-default .jstree-locked a { color:silver; cursor:default; }
|
||||
</style>
|
||||
<div id="center">
|
||||
<div class="paragraph">
|
||||
|
||||
<div id="groups" class="jstree jstree-default"></div>
|
||||
|
||||
<div>Tête de groupe
|
||||
<?php if($this->isin==1) { ?> coté, détention minimum à 50%.<?php }?>
|
||||
<?php if($this->isin==0) { ?> détention minimum à 50%.<?php }?>
|
||||
</div>
|
||||
<div>Filiales, détention minimum à
|
||||
<?php if($this->pctMin==0) {?> Tout<?php }?>
|
||||
<?php if($this->pctMin==33) {?> 33%<?php }?>
|
||||
<?php if($this->pctMin==40) {?> 40%<?php }?>
|
||||
<?php if($this->pctMin==50) {?> 50%<?php }?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/libs/jstree/jstree.min.js"></script>
|
||||
<script src="/libs/html2canvas.js"></script>
|
||||
<script>
|
||||
$("#groups").jstree({
|
||||
"core" : { "html_titles" : true },
|
||||
"plugins" : ["themes", "json_data", "search"],
|
||||
"json_data" : { "data" : [<?=$this->data?>] },
|
||||
"search" : { "show_only_matches" : true },
|
||||
"themes" : {
|
||||
"theme" : "default",
|
||||
"url" : "/libs/jstree/themes/default/style.css",
|
||||
"dots" : true,
|
||||
"icons" : false
|
||||
}
|
||||
});
|
||||
|
||||
$(document).ready(function(){
|
||||
var target = $('#groups');
|
||||
html2canvas(target, {
|
||||
onrendered: function(canvas) {
|
||||
target.html(canvas);
|
||||
},
|
||||
});
|
||||
|
||||
window.print(); window.close();
|
||||
});
|
||||
</script>
|
||||
|
@ -77,6 +77,11 @@ else
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if ($this->result->isin ) {?>
|
||||
<div><b>Isin:</b>
|
||||
<?=$this->result->isin;?>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if (count($this->result->identification->item)>0) {?>
|
||||
<div><b>Identifiants nationaux</b></div>
|
||||
<?php foreach ($this->result->identification->item as $id) {?>
|
||||
|
@ -31,7 +31,7 @@
|
||||
<?php }?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<?php if ($this->actif) {?>
|
||||
@ -86,13 +86,14 @@
|
||||
<?php
|
||||
if ($this->siren) {
|
||||
$href = $this->url(array('controller'=>'saisie', 'action'=>'lienfiche', 'siren'=>$this->siren),null,true);
|
||||
$hrefSuppr = $this->url(array('controller'=>'saisie', 'action'=>'liendelete', 'siren'=>$this->siren),null,true);
|
||||
} else {
|
||||
$href = $this->url(array('controller'=>'saisie', 'action'=>'lienfiche', 'idFiche'=>$this->lienref),null,true);
|
||||
$hrefSuppr = $this->url(array('controller'=>'saisie', 'action'=>'liendelete', 'idFiche'=>$this->lienref),null,true);
|
||||
}
|
||||
?>
|
||||
<a class="dialog" title="Edition fiche" href="<?=$href?>">
|
||||
Editer la fiche
|
||||
</a>
|
||||
<a class="dialog" title="Edition fiche" href="<?=$href?>">Editer la fiche</a>
|
||||
<a class="confirm" title="Fiche suppression" href="<?=$hrefSuppr; ?>">Supprimer la fiche</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
@ -161,6 +162,7 @@ Cette entreprise est une personne physique exerçant son activité en nom propre
|
||||
elseif ($lien->MajMin=='T') echo 'TUP'; // Traiter l'affichage ou les arbres comme si %=100
|
||||
elseif ($lien->MajMin=='L') echo 'tutelle';
|
||||
elseif ($lien->MajMin=='E') echo 'franchise';
|
||||
elseif ($lien->MajMin=='M') echo 'membre';
|
||||
// elseif ($lien->MajMin=='A') echo 'absorbant';
|
||||
else echo ' ';
|
||||
?>
|
||||
@ -334,6 +336,26 @@ $('a.dialog').on('click', function(){
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
$( "a.confirm" ).on('click', function(e){
|
||||
e.preventDefault();
|
||||
var href = $(this).attr('href');
|
||||
var dialogOpts = {
|
||||
bgiframe: true,
|
||||
resizable: false,
|
||||
title: $(this).attr('title'),
|
||||
height: 140,
|
||||
modal: true,
|
||||
open: function(event, ui) {
|
||||
$(this).html('Chargement...');
|
||||
$(this).load(href);
|
||||
},
|
||||
buttons: { "Fermer": function() { $(this).dialog("close"); }},
|
||||
close: function() { $('#confirm').remove(); }
|
||||
};
|
||||
$('<div id="confirm"></div>').dialog(dialogOpts);
|
||||
return false;
|
||||
});
|
||||
<?php }?>
|
||||
</script>
|
||||
<?php }?>
|
@ -1,12 +1,17 @@
|
||||
<?php if ($this->url) {?>
|
||||
|
||||
<div id="legende-photo">Cliché à l'approche de l'adresse postale.</div>
|
||||
<img id="pp-cb-thumb" src="<?=$this->url?>" width="320" height="320" />
|
||||
<div>
|
||||
|
||||
<?php if ($this->streetviewMode == 'gps') {?>
|
||||
<div>
|
||||
<a class="street-heading" href="<?=$this->url(array(
|
||||
'controller'=>'identite','action'=>'streetview', 'lat'=>$this->lat, 'lon'=>$this->lon, 'heading'=>$this->pagePrec))?>"><</a>
|
||||
-
|
||||
'controller'=>'identite','action'=>'streetview', 'siret'=> $this->siret,
|
||||
'lat'=>$this->lat, 'lon'=>$this->lon, 'heading'=>$this->pagePrec), null, true)?>"><</a>
|
||||
-
|
||||
<a class="street-heading" href="<?=$this->url(array(
|
||||
'controller'=>'identite','action'=>'streetview', 'lat'=>$this->lat, 'lon'=>$this->lon, 'heading'=>$this->pageSuiv))?>">></a>
|
||||
'controller'=>'identite', 'action'=>'streetview', 'siret'=> $this->siret,
|
||||
'lat'=>$this->lat, 'lon'=>$this->lon, 'heading'=>$this->pageSuiv), null, true)?>">></a>
|
||||
</div>
|
||||
<script>
|
||||
$('a.street-heading').click(function(e){
|
||||
@ -15,3 +20,5 @@ $('a.street-heading').click(function(e){
|
||||
});
|
||||
</script>
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
||||
|
@ -13,7 +13,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?=$this->raisonSociale?>
|
||||
<?php if($this->hasModeEdition) : ?>
|
||||
|
@ -17,7 +17,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?=$this->raisonSociale?>
|
||||
<?php if($this->hasModeEdition) : ?>
|
||||
|
@ -13,7 +13,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</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>
|
||||
|
@ -13,7 +13,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -13,7 +13,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -13,7 +13,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -65,7 +65,8 @@
|
||||
<?php foreach ($this->marques as $marque) { ?>
|
||||
<tr>
|
||||
<td width="200" class="StyleInfoData">
|
||||
Dépôt n°<?=$marque->Depot?> du <?=WDate::dateT('Y-m-d', 'd/m/Y', $marque->Date);?>
|
||||
<?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(
|
||||
|
@ -1,30 +0,0 @@
|
||||
<ul class="navigation">
|
||||
<?php
|
||||
$html = array();
|
||||
foreach ($this->container as $page)
|
||||
{
|
||||
$html[] = "<li>";
|
||||
$html[] = "<h3>" . $this->menu()->htmlify($page) . "</h3>" . PHP_EOL;
|
||||
if (!empty($page->pages))
|
||||
{
|
||||
$html[] = "<div>";
|
||||
$html[] = "<ul>";
|
||||
foreach ($page->pages as $subpage)
|
||||
{
|
||||
$html[] = "<li>";
|
||||
$href = $subpage->getHref();
|
||||
$html[] = "<a href=\"{$href}\">";
|
||||
$html[] = $subpage->getLabel();
|
||||
$html[] = "</a>";
|
||||
|
||||
$html[] = "</li>";
|
||||
}
|
||||
$html[] = "</ul>";
|
||||
$html[] = "</div>";
|
||||
}
|
||||
|
||||
$html[] = "</li>";
|
||||
}
|
||||
echo join(PHP_EOL, $html);
|
||||
?>
|
||||
</ul>
|
@ -1,13 +1,41 @@
|
||||
<div id="center">
|
||||
<?=$this->partial('pieces/header.phtml', array(
|
||||
'siren' => $this->siren,
|
||||
'raisonSociale' => $this->raisonSociale
|
||||
))?>
|
||||
<?php if ($this->formCmd) {?>
|
||||
|
||||
<h2>Actes & Status</h2>
|
||||
<div class="paragraph">
|
||||
<p>Commande du document : <b><?=$this->Label?> du <?=$this->LabelActeDate?></b> (Depot n° <?=$this->depotNum?> du <?=$this->LabelDepotDate?>)</p>
|
||||
|
||||
<p>Vous recevrez un email (sous 3/5 jours ouvrés) lorsque le document sera disponible.</p>
|
||||
|
||||
<p>Votre email : <b><?=$this->email?></b> </p>
|
||||
|
||||
<?php if ($this->emailValide===false) {?>
|
||||
|
||||
<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
|
||||
<strong>Commande impossible</strong> Votre email est invalide.</p>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<div id="output">
|
||||
<form name="commande" action="<?=$this->url(array('controller'=>'pieces','action'=>'acte'),null,true)?>" method="post">
|
||||
<input type="hidden" name="mode" value="<?=$this->mode?>"/>
|
||||
<input type="hidden" name="siren" value="<?=$this->siren?>"/>
|
||||
<input type="hidden" name="depotNum" value="<?=$this->depotNum?>"/>
|
||||
<input type="hidden" name="depotDate" value="<?=$this->depotDate?>"/>
|
||||
<input type="hidden" name="acteType" value="<?=$this->acteType?>"/>
|
||||
<input type="hidden" name="acteNum" value="<?=$this->acteNum?>"/>
|
||||
<input type="hidden" name="acteDate" value="<?=$this->acteDate?>"/>
|
||||
<label>Votre référence :
|
||||
<input type="text" name="ref" value="" /> (facultatif)
|
||||
</label>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<?php if($this->msg) {?>
|
||||
<b><?=$this->msg?></b>
|
||||
<?php } else {?>
|
||||
<a href="<?=$this->url?>" target="_blank">Télécharger le fichier</a>
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
@ -3,33 +3,25 @@
|
||||
<h1>PIÈCES OFFICIELLES</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<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="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">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<?php if ($this->surveillance) {?>
|
||||
<tr>
|
||||
</tr>
|
||||
<?php if ($this->surveillance) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" width="550" class="StyleInfoData">
|
||||
<?=$this->action('infos','surveillance', null, array(
|
||||
'source' => 'actes',
|
||||
'siret' => $this->siret
|
||||
))?>
|
||||
<?=$this->action('infos','surveillance',null,array('source'=>'actes','siret'=>$this->siret))?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div style="margin:5px;" class="ui-state-highlight ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>
|
||||
@ -37,21 +29,25 @@ Les éléments disponibles ci-dessous en téléchargement ou commande peuvent fa
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<h2>Actes & Status</h2>
|
||||
<div class="paragraph">
|
||||
<?php if ($this->ErreurMessage):?>
|
||||
<?=$this->ErreurMessage?>
|
||||
<?php else:?>
|
||||
<?php if ($this->ErreurMessage) {?>
|
||||
<?=$this->ErreurMessage?>
|
||||
<?php } else {?>
|
||||
|
||||
<?php if ( count($this->InfosActes) > 0 ) {?>
|
||||
<table class="greffe">
|
||||
<thead>
|
||||
<tr><th>Date</th><th>Type</th><th>Décisions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($this->InfosActes as $acte):?>
|
||||
<?php foreach($this->InfosActes as $acte) {?>
|
||||
<?php
|
||||
$style = '';
|
||||
if ($acte['mode']=='fichier' && $this->ModeEdition) {
|
||||
if ($acte['mode']=='T' && $acte['isFileExist'] && $this->ModeEdition) {
|
||||
$style.=' style="background-color: #007DFF;"';
|
||||
}
|
||||
?>
|
||||
@ -61,7 +57,6 @@ Les éléments disponibles ci-dessous en téléchargement ou commande peuvent fa
|
||||
<?php
|
||||
switch($acte['mode'])
|
||||
{
|
||||
case 'fichier':
|
||||
case 'T':
|
||||
?>
|
||||
<span class="fichier">
|
||||
@ -71,7 +66,6 @@ Les éléments disponibles ci-dessous en téléchargement ou commande peuvent fa
|
||||
</span>
|
||||
<?php
|
||||
break;
|
||||
case 'courrier':
|
||||
case 'C':
|
||||
?>
|
||||
<a class="dialogcmd" href="<?=$acte['href']?>" title="<?=$acte['title']?>">
|
||||
@ -81,23 +75,23 @@ Les éléments disponibles ci-dessous en téléchargement ou commande peuvent fa
|
||||
break;
|
||||
}
|
||||
?>
|
||||
<?php if ($this->ModeEdition && $acte['mode']!='fichier'){?>
|
||||
<br/><a href="<?=$this->url(array(
|
||||
'controller' => 'pieces',
|
||||
'action' => 'cmdfactice',
|
||||
'siret' => $this->siret,
|
||||
'ref' => $acte['ref']
|
||||
), null, true)?>" target="_blank">
|
||||
Créer une commande factice.
|
||||
</a>
|
||||
</td>
|
||||
<td class="decision">
|
||||
<?=$acte['decision']?>
|
||||
<?php if ($this->ModeEdition) {?>
|
||||
<br/>
|
||||
<a href="<?=$acte['factice']?>" target="_blank">Créer une commande factice.</a>
|
||||
<?php }?>
|
||||
</td>
|
||||
<td class="decision"><?=$acte['decision']?></td>
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php endif;?>
|
||||
<?php } else {?>
|
||||
Aucun acte disponible.
|
||||
<?php }?>
|
||||
|
||||
<?php };?>
|
||||
</div>
|
||||
|
||||
</div>
|
@ -14,7 +14,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -14,7 +14,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -1 +1,38 @@
|
||||
<?php
|
||||
<?php if ($this->formCmd) {?>
|
||||
|
||||
<p>Commande du document : <b>Comptes <?=$this->type?> cloturé le <?=$this->LabelCloture?></b></p>
|
||||
|
||||
<p>Vous recevrez un email (sous 3/5 jours ouvrés) lorsque le document sera disponible.</p>
|
||||
|
||||
<p>Votre email : <b><?=$this->email?></b> </p>
|
||||
|
||||
<?php if ($this->emailValide===false) {?>
|
||||
|
||||
<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
|
||||
<strong>Commande impossible</strong> Votre email est invalide.</p>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<div id="output">
|
||||
<form name="commande" action="<?=$this->url(array('controller'=>'pieces','action'=>'bilan'),null,true)?>" method="post">
|
||||
<input type="hidden" name="mode" value="<?=$this->mode?>"/>
|
||||
<input type="hidden" name="siren" value="<?=$this->siren?>"/>
|
||||
<input type="hidden" name="type" value="<?=$this->type?>"/>
|
||||
<input type="hidden" name="cloture" value="<?=$this->cloture?>"/>
|
||||
<label>Votre référence :
|
||||
<input type="text" name="ref" value="" />
|
||||
</label>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<?php if($this->msg) {?>
|
||||
<?=$this->msg?>
|
||||
<?php } else {?>
|
||||
<a href="<?=$this->url?>" target="_blank">Télécharger le fichier</a>
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
@ -3,33 +3,27 @@
|
||||
<h1>PIÈCES OFFICIELLES</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<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="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">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<?php if ($this->surveillance) {?>
|
||||
<tr>
|
||||
</tr>
|
||||
<?php if ($this->surveillance) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" width="550" class="StyleInfoData">
|
||||
<?=$this->action('infos','surveillance', null, array(
|
||||
'source' => 'actes',
|
||||
'siret' => $this->siret
|
||||
))?>
|
||||
<?=$this->action('infos','surveillance',null,array('source'=>'actes','siret'=>$this->siret))?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
|
||||
|
||||
<div style="margin:5px;" class="ui-state-highlight ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>
|
||||
Les éléments disponibles ci-dessous en téléchargement ou commande peuvent faire l'objet d'une facturation selon vos accords contractuels.
|
||||
@ -39,29 +33,32 @@ Les éléments disponibles ci-dessous en téléchargement ou commande peuvent fa
|
||||
|
||||
<h2>Compte annuels</h2>
|
||||
<div class="paragraph">
|
||||
<?php if ($this->ErreurMessage):?>
|
||||
<?=$this->ErreurMessage?>
|
||||
<?php else:?>
|
||||
<?php if ($this->ErreurMessage) {?>
|
||||
<?=$this->ErreurMessage?>
|
||||
<?php } else {?>
|
||||
|
||||
<?php if ( count($this->InfosBilans) > 0 ) {?>
|
||||
<table class="greffe">
|
||||
<thead>
|
||||
<tr><th>Date de clôture</th><th>Type</th><th>Décisions</th>
|
||||
<tr>
|
||||
<th>Date de clôture</th>
|
||||
<th>Type</th>
|
||||
<th>Décisions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($this->InfosBilans as $bilan):?>
|
||||
<?php foreach($this->InfosBilans as $bilan) {?>
|
||||
<?php
|
||||
$style = '';
|
||||
if ($bilan['mode']=='fichier' && $this->ModeEdition) {
|
||||
if ($bilan['mode']=='T' && $bilan['isFileExist'] && $this->ModeEdition) {
|
||||
$style.=' style="background-color: #007DFF;"';
|
||||
}
|
||||
?>
|
||||
<tr<?=$style?>>
|
||||
<td class="date"><?=$bilan['date']?></td>
|
||||
<td rowspan="2" class="date"><?=$bilan['date']?></td>
|
||||
<td class="type"><?=$bilan['type']?>
|
||||
<?php
|
||||
switch($bilan['mode'])
|
||||
{
|
||||
case 'fichier':
|
||||
switch( $bilan['mode'] ) {
|
||||
case 'T':
|
||||
?>
|
||||
<span class="fichier">
|
||||
@ -71,7 +68,6 @@ Les éléments disponibles ci-dessous en téléchargement ou commande peuvent fa
|
||||
</span>
|
||||
<?php
|
||||
break;
|
||||
case 'courrier':
|
||||
case 'C':
|
||||
?>
|
||||
<a class="dialogcmd" href="<?=$bilan['href']?>" title="<?=$bilan['title']?>">
|
||||
@ -81,24 +77,30 @@ Les éléments disponibles ci-dessous en téléchargement ou commande peuvent fa
|
||||
break;
|
||||
}
|
||||
?>
|
||||
<?php if ($this->ModeEdition && $bilan['mode']!='fichier'){?>
|
||||
<br/><a href="<?=$this->url(array(
|
||||
'controller' => 'pieces',
|
||||
'action' => 'cmdfactice',
|
||||
'siret' => $this->siret,
|
||||
'ref' => $bilan['ref'],
|
||||
|
||||
), null, true)?>" target="_blank">
|
||||
Créer une commande factice.
|
||||
</a>
|
||||
<?php if ( !empty($bilan['duree']) ) {?><br/><?=$bilan['duree']?><?php }?>
|
||||
</td>
|
||||
<td class="decision">
|
||||
<?=$bilan['decision']?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="saisie" colspan="2">
|
||||
<?php if ( $bilan['saisie'] ) {?>
|
||||
<i><?=$bilan['saisie']?></i>
|
||||
<?php }?>
|
||||
<?php if ( $this->ModeEdition ) {?>
|
||||
<br/><a href="<?=$bilan['factice']?>" target="_blank">Créer une commande factice.</a>
|
||||
<?php }?>
|
||||
</td>
|
||||
<td class="decision"><?=$bilan['decision']?></td>
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php endif;?>
|
||||
<?php } else {?>
|
||||
Aucun bilan disponible.
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
</div>
|
@ -14,7 +14,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -13,7 +13,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -13,7 +13,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -3,10 +3,12 @@
|
||||
<?php foreach($this->privileges as $priv) {?>
|
||||
<div style="margin:20px;">
|
||||
<?php if ($priv->insType = '03'){ ?>
|
||||
Greffe du <?=$priv->greffeLib?> en date du <?=WDate::dateT('Y-m-d','d/m/Y',$priv->dateFraiche)?><br/>
|
||||
<?php $date = new Zend_Date($priv->dateFraiche, 'yyyy-MM-dd');?>
|
||||
Greffe du <?=$priv->greffeLib?> en date du <?=$date->toString('dd/MM/yyyy')?><br/>
|
||||
<br/>
|
||||
<?=$priv->nb?> inscription(s) pour un montant conservé de <?=number_format($priv->insCumul, 2, ',', ' ')?> €<br/>
|
||||
Dernière inscription par <?=$priv->nomDerCre?> faîtes le <?=WDate::dateT('Y-m-d','d/m/Y',$priv->dateDerInsc)?><br/>
|
||||
<?php $date = new Zend_Date($priv->dateDerInsc, 'yyyy-MM-dd');?>
|
||||
Dernière inscription par <?=$priv->nomDerCre?> faîtes le <?=$date->toString('dd/MM/yyyy')?><br/>
|
||||
<br/>
|
||||
<a href="<?=$this->url(array(
|
||||
'controller' => 'pieces',
|
||||
@ -26,10 +28,12 @@ Néant.
|
||||
<?php foreach($this->privileges as $priv) {?>
|
||||
<div style="margin:20px;">
|
||||
<?php if ($priv->insType = '04'){ ?>
|
||||
Greffe du <?=$priv->greffeLib?> en date du <?=WDate::dateT('Y-m-d','d/m/Y',$priv->dateFraiche)?><br/>
|
||||
<?php $date = new Zend_Date($priv->dateFraiche, 'yyyy-MM-dd');?>
|
||||
Greffe du <?=$priv->greffeLib?> en date du <?=$date->toString('dd/MM/yyyy')?><br/>
|
||||
<br/>
|
||||
<?=$priv->nb?> inscription(s) pour un montant conservé de <?=number_format($priv->insCumul, 2, ',', ' ')?> €<br/>
|
||||
Dernière inscription par <?=$priv->nomDerCre?> faîtes le <?=WDate::dateT('Y-m-d','d/m/Y',$priv->dateDerInsc)?><br/>
|
||||
<?php $date = new Zend_Date($priv->dateDerInsc, 'yyyy-MM-dd');?>
|
||||
Dernière inscription par <?=$priv->nomDerCre?> faîtes le <?=$date->toString('dd/MM/yyyy')?><br/>
|
||||
<br/>
|
||||
<a href="<?=$this->url(array(
|
||||
'controller' => 'pieces',
|
||||
|
@ -8,7 +8,8 @@
|
||||
<?php foreach($this->privileges as $priv) { ?>
|
||||
<table style="border:1px solid;width:100%;margin:5px 0;">
|
||||
<tr>
|
||||
<td style="width:30%;"><i>Inscription du <?=WDate::dateT('Y-m-d', 'd/m/Y',$priv->insDate)?></i></td>
|
||||
<?php $date = new Zend_Date($priv->insDate,'yyyy-MM-dd')?>
|
||||
<td style="width:30%;"><i>Inscription du <?=$date->toString('dd/MM/yyyy')?></i></td>
|
||||
<td style="width:70%;"><i>Numéro <?=$priv->insNum?></i></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -34,10 +35,12 @@
|
||||
<td>
|
||||
<?php
|
||||
if (!empty($priv->radDate) && $priv->radDate!='0000-00-00'){
|
||||
echo 'Radié le '.WDate::dateT('Y-m-d', 'd/m/Y',$priv->radDate);
|
||||
$date = new Zend_Date($priv->radDate,'yyyy-MM-dd');
|
||||
echo 'Radié le '.$date->toString('dd/MM/yyyy');
|
||||
} elseif (!empty($priv->radPartiel)){
|
||||
if ($priv->radMention!='0000-00-00'){
|
||||
echo 'Partiellement radié le '.WDate::dateT('Y-m-d', 'd/m/Y',$priv->radMention);
|
||||
$date = new Zend_Date($priv->radMention,'yyyy-MM-dd');
|
||||
echo 'Partiellement radié le '.$date->toString('dd/MM/yyyy');
|
||||
}
|
||||
if (!empty($priv->radPartMt)){
|
||||
echo ' pour un montant de '.
|
||||
|
@ -13,7 +13,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -14,7 +14,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<?php if ($this->surveillance) {?>
|
||||
|
@ -1,12 +1,13 @@
|
||||
<script type="text/javascript">
|
||||
window.onload = function() {
|
||||
window.print();
|
||||
window.close();
|
||||
window.print(); window.close();
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
#header { width:0px !important;}
|
||||
#global { width:auto !important;}
|
||||
#content { margin:5px; padding:0; width:auto; }
|
||||
body {font-family:Verdana, Arial, sans-serif;font-size: 11px;}
|
||||
#global {width:auto !important;text-align:left;}
|
||||
#content {margin:5px; padding:0; width:auto;}
|
||||
table {page-break-inside:avoid}
|
||||
div.paragraph {page-break-inside:avoid}
|
||||
</style>
|
||||
<?=$this->action($this->action, $this->controller, null, $this->params)?>
|
@ -3,7 +3,7 @@ $form = $this->form;
|
||||
?>
|
||||
<div id="center-recherche">
|
||||
<div id="recherche">
|
||||
<h3>RECHERCHE PAR ACTIONNAIRE</h3>
|
||||
<h3><?=$this->translate("RECHERCHE PAR ACTIONNAIRE")?></h3>
|
||||
|
||||
<form class="recherche" name="<?php echo $form->getName()?>"
|
||||
method="<?php echo $form->getMethod()?>" action="<?php echo $form->getAction()?>">
|
||||
|
@ -3,7 +3,7 @@ $form = $this->form;
|
||||
?>
|
||||
<div id="center-recherche">
|
||||
<div id="recherche">
|
||||
<h3>RECHERCHE DIRIGEANT</h3>
|
||||
<h3><?=$this->translate("RECHERCHE DIRIGEANT")?></h3>
|
||||
<form class="recherche" name="<?php echo $form->getName()?>"
|
||||
method="<?php echo $form->getMethod()?>" action="<?php echo $form->getAction()?>">
|
||||
<?php echo $form->type?>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div id="center">
|
||||
<h2>DEMANDE D'INVESTIGATION</h2>
|
||||
<h2><?=$this->translate("DEMANDE D'INVESTIGATION")?></h2>
|
||||
<?php
|
||||
if ($this->form) {
|
||||
$form = $this->form;
|
||||
@ -8,11 +8,11 @@ if ($this->form) {
|
||||
<p class="StyleInfoLib"><i>Les demandes d'investigations sont liées à la recherche d'un tiers par nos services suite à une recherche infructueuse sur nos outils</i></p>
|
||||
<p class="StyleInfoLib"><i>La demande d'investigation est destinée uniquement à l'identification rigoureuse d'un tiers. Tout autre demande (commande de pièces officielles, Kbis ou Privilèges) ne sera pas traitée par nos équipes.</i></p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="paragraph">
|
||||
<form class="recherche" name="<?php echo $form->getName()?>"
|
||||
method="<?php echo $form->getMethod()?>" action="<?php echo $form->getAction()?>">
|
||||
|
||||
|
||||
<div class="row"><?php echo $form->siret?></div>
|
||||
<div class="row"><?php echo $form->raisonSociale?></div>
|
||||
<div class="row"><?php echo $form->adresse?></div>
|
||||
@ -20,17 +20,18 @@ if ($this->form) {
|
||||
<div class="row"><?php echo $form->telFax?></div>
|
||||
<div class="row"><?php echo $form->categorieJur?></div>
|
||||
<div class="row"><?php echo $form->remarque?></div>
|
||||
|
||||
|
||||
<hr style="clear:both;"/>
|
||||
|
||||
|
||||
<div class="row"><?php echo $form->email?></div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<p><i><font color="red">*</font> : Pour qu'une demande d'investigation soit recevable, il est obligatoire d'indiquer la raison sociale et la ville de l'entité recherchée ainsi qu'un commentaire relatif au motif de la demande d'investigation.</i></p>
|
||||
<p><i><font color="red">*</font> : Pour qu'une demande d'investigation soit recevable, il est obligatoire d'indiquer la dénomination sociale et la ville de l'entité recherchée ainsi qu'un commentaire relatif au motif de la demande d'investigation.</i></p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row submit"><?php echo $form->submit?></div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
} else {
|
||||
|
@ -9,7 +9,7 @@
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<h3>RECHERCHE ENTREPRISE</h3>
|
||||
<h3><?=$this->translate("RECHERCHE ENTREPRISE")?></h3>
|
||||
<?php $form = $this->form; ?>
|
||||
<form class="recherche" name="<?php echo $form->getName()?>"
|
||||
method="<?=$form->getMethod()?>" action="<?=$form->getAction()?>">
|
||||
|
@ -15,7 +15,7 @@
|
||||
<p>RECHERCHE ENTREPRISE :</p>
|
||||
|
||||
<?php if (!empty($histo['params']['siret'])) {?>SIRET : <?=$histo['params']['siret']?><br/><?php } ?>
|
||||
<?php if (!empty($histo['params']['raisonSociale'])) {?>Raison Sociale : <?=$histo['params']['raisonSociale']?><br/><?php } ?>
|
||||
<?php if (!empty($histo['params']['raisonSociale'])) {?>Dénomination Sociale : <?=$histo['params']['raisonSociale']?><br/><?php } ?>
|
||||
<?php if (!empty($histo['params']['numero'])) {?>Numero : <?=$histo['params']['numero']?><br/><?php } ?>
|
||||
<?php if (!empty($histo['params']['voie'])) {?>Voie : <?=$histo['params']['voie']?><br/><?php } ?>
|
||||
<?php if (!empty($histo['params']['cpVille'])) {?>Code Postal / Ville : <?=$histo['params']['cpVille']?><br/><?php } ?>
|
||||
@ -84,7 +84,7 @@
|
||||
?>
|
||||
<p>RECHERCHE ACTIONNAIRE :</p>
|
||||
<?php if (!empty($histo['params']['siret'])) {?>SIRET : <?=$histo['params']['siret']?><br/><?php } ?>
|
||||
<?php if (!empty($histo['params']['actNomRs'])) {?>Raison Sociale / Nom : <?=$histo['params']['actNomRs']?><br/><?php } ?>
|
||||
<?php if (!empty($histo['params']['actNomRs'])) {?>Dénomination Sociale / Nom : <?=$histo['params']['actNomRs']?><br/><?php } ?>
|
||||
<?php if (!empty($histo['params']['cpVille'])) {?>CP /Ville : <?=$histo['params']['cpVille']?><br/><?php } ?>
|
||||
<?php if (!empty($histo['params']['pays'])) {?>Pays : <?=$histo['params']['pays']?><br/><?php } ?>
|
||||
<?php if (empty($histo['params']['pctMin'])) {?>de 0 %<?=$histo['params']['actNomRs']?><?php } ?>
|
||||
|
@ -41,8 +41,13 @@ if (!empty($this->info)) {
|
||||
<li style="list-style-type:decimal;" class="<?=$item['class']?>" type="1" value="<?=$item['position']?>">
|
||||
<b>
|
||||
<?php if ($this->IDENTITE) {?>
|
||||
<?php if ($item['source']==7 && !empty($item['sourceId'])) {?>
|
||||
<a title="Voir les liens inter entreprises de cet établissement"
|
||||
href="<?=$this->url(array('controller'=>'identite','action'=>'liens','lienref'=>$item['sourceId']),null,true)?>">
|
||||
<?php } else {?>
|
||||
<a title="Voir la fiche d'identité de cet établissement"
|
||||
href="<?=$this->url(array('controller'=>'identite','action'=>'fiche','id'=>$item['id'],'siret'=>$item['siret']),null,true)?>">
|
||||
<?php }?>
|
||||
<?php } else {?>
|
||||
<a title="Vous n'avez pas les permissions nécessaires pour accèder à la fiche identité" href="#">
|
||||
<?php }?>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user