Suppression
This commit is contained in:
parent
1b9c4554f4
commit
cc5abea478
@ -1,266 +0,0 @@
|
||||
<?php
|
||||
class AuthController extends Zend_Controller_Action
|
||||
{
|
||||
protected $theme;
|
||||
|
||||
protected $partnerConfig = array(
|
||||
'inextenso' => array(
|
||||
'logo' => 'logo-in-extenso.gif',
|
||||
'clientId' => 195,
|
||||
'serviceCode' => 'SSO',
|
||||
'authType' => 'userSSO',
|
||||
'login' => 'mail',
|
||||
'token' => 'token',
|
||||
)
|
||||
);
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
$this->theme = Zend_Registry::get('theme');
|
||||
}
|
||||
|
||||
/**
|
||||
* Point d'entrée pour les connexions partenaires.
|
||||
* L'utilisateur s'identifie sur son portail habituel.
|
||||
*/
|
||||
public function indexAction()
|
||||
{
|
||||
// --- Désactiver le layout
|
||||
$this->_helper->layout()->disableLayout();
|
||||
|
||||
$this->view->headLink()
|
||||
->appendStylesheet($this->theme->pathStyle.'/inexweb.css', 'all')
|
||||
->appendStylesheet($this->theme->pathStyle.'/user.css', 'all');
|
||||
|
||||
$request = $this->getRequest();
|
||||
|
||||
/**
|
||||
* Get partner name - see route in bootstrap
|
||||
*/
|
||||
$partner = $request->getParam('partner');
|
||||
if ( array_key_exists($partner, $this->partnerConfig) ) {
|
||||
$config = $this->partnerConfig[$partner];
|
||||
$this->view->logo = $config['logo'];
|
||||
$params = $request->getParams();
|
||||
$objectParams = array();
|
||||
foreach ($params as $label => $value) {
|
||||
if (in_array($label, array('controller', 'action'))) continue;
|
||||
$object = new stdClass();
|
||||
$object->label = $label;
|
||||
$object->value = $value;
|
||||
$objectParams[] = $object;
|
||||
}
|
||||
$this->view->Params = $objectParams;
|
||||
|
||||
$login = $params[$config['login']];
|
||||
$part = strstr($login, '@', true);
|
||||
if ($part !== false) {
|
||||
$login = $part;
|
||||
}
|
||||
$token = $params[$config['token']];
|
||||
|
||||
try {
|
||||
$ws = new Scores_Ws_Client('gestion', '0.4');
|
||||
$parameters = new stdClass();
|
||||
$parameters->client = $config['clientId'];
|
||||
$parameters->login = $login;
|
||||
$parameters->token = $token;
|
||||
$parameters->params = $objectParams;
|
||||
$hash = $ws->ssoAuthenticate($parameters);
|
||||
// --- Utilisateur inexistant
|
||||
if ( $hash === 'false' || $hash === false ) {
|
||||
$this->view->NoUser = true;
|
||||
$urlParams = array('controller'=>'auth', 'action'=>'userssoform');
|
||||
$urlParams = array_merge($params, $urlParams);
|
||||
$this->view->FormUrlParams = $urlParams;
|
||||
}
|
||||
// --- Redirection
|
||||
else {
|
||||
|
||||
$auth = Zend_Auth::getInstance();
|
||||
|
||||
// --- Set partial identity
|
||||
$identity = new stdClass();
|
||||
$identity->username = $login;
|
||||
$identity->password = $hash;
|
||||
$auth->getStorage()->write($identity);
|
||||
// --- End Set partial identity
|
||||
|
||||
// --- Get InfosLogin
|
||||
$adressIp = $_SERVER['REMOTE_ADDR'];
|
||||
$parameters = new stdClass();
|
||||
$parameters->login = $login;
|
||||
$parameters->ipUtilisateur = $adressIp;
|
||||
$parameters->from = 'auth';
|
||||
try {
|
||||
$ws = new Scores_Ws_Client('gestion', '0.3');
|
||||
$InfosLogin = $ws->getInfosLogin($parameters);
|
||||
Zend_Registry::get('firebug')->info($InfosLogin);
|
||||
if ( is_string($InfosLogin) || $InfosLogin->error->errnum != 0 ) {
|
||||
$this->view->Error = true;
|
||||
} else {
|
||||
$user = new Scores_Utilisateur();
|
||||
$identity = $user->updateProfil($InfosLogin);
|
||||
$auth->getStorage()->write($identity);
|
||||
// --- Redirect
|
||||
$this->redirect('/');
|
||||
}
|
||||
} catch ( Exception $e ) {
|
||||
switch ( $e->getCode() ) {
|
||||
case 'MSG':
|
||||
$this->view->Message = $e->getMessage();
|
||||
break;
|
||||
default:
|
||||
$this->view->Error = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
// --- End Get InfosLogin
|
||||
}
|
||||
} catch ( Exception $e ) {
|
||||
switch ( $e->getCode() ) {
|
||||
case 'MSG':
|
||||
$this->view->Message = $e->getMessage();
|
||||
break;
|
||||
default:
|
||||
$this->view->Error = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$this->view->Message = "Erreur dans les paramètres.";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Affichage du formulaire pour l'inscription des utilisateurs
|
||||
*/
|
||||
public function userssoformAction()
|
||||
{
|
||||
// --- Désactiver le layout
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->view->headLink()->appendStylesheet($this->theme->pathStyle.'/user.css', 'all');
|
||||
$request = $this->getRequest();
|
||||
|
||||
/**
|
||||
* Get partner name - see route in bootstrap
|
||||
*/
|
||||
$partner = $request->getParam('partner');
|
||||
if ( array_key_exists($partner, $this->partnerConfig) ) {
|
||||
$config = $this->partnerConfig[$partner];
|
||||
$this->view->logo = $config['logo'];
|
||||
$params = $request->getParams();
|
||||
$objectParams = array();
|
||||
foreach ($params as $label => $value) {
|
||||
if (in_array($label, array('controller', 'action'))) continue;
|
||||
$object = new stdClass();
|
||||
$object->label = $label;
|
||||
$object->value = $value;
|
||||
$objectParams[] = $object;
|
||||
}
|
||||
$this->view->Params = $objectParams;
|
||||
|
||||
$login = $params[$config['login']];
|
||||
$part = strstr($login, '@', true);
|
||||
if ($part !== false) {
|
||||
$login = $part;
|
||||
}
|
||||
$token = $params[$config['token']];
|
||||
|
||||
$this->view->NoUser = true;
|
||||
// --- Set form value
|
||||
$this->view->FormPartner = $partner;
|
||||
$this->view->FormIdentifiant = $login;
|
||||
$this->view->FormCourriel = $request->getParam('mail');
|
||||
$this->view->FormSiret = $request->getParam('siret');
|
||||
$this->view->FormNom = $request->getParam('lastname');
|
||||
$this->view->FormPrenom = $request->getParam('name');
|
||||
}
|
||||
else {
|
||||
$this->view->Message = "Erreur dans les paramètres.";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creation d'un utilisateur en SSO
|
||||
*/
|
||||
public function userssocreateAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
|
||||
$request = $this->getRequest();
|
||||
|
||||
$partner = $request->getParam('partner');
|
||||
if ( array_key_exists($partner, $this->partnerConfig) ) {
|
||||
$config = $this->partnerConfig[$partner];
|
||||
$this->view->logo = $config['logo'];
|
||||
$data = array(
|
||||
'idClient' => $config['clientId'],
|
||||
'login' => $request->getParam('login'),
|
||||
'email' => $request->getParam('email', ''),
|
||||
'actif' => 1,
|
||||
'nom' => $request->getParam('nom', ''),
|
||||
'prenom' => $request->getParam('prenom', ''),
|
||||
'siret' => str_replace(' ', '', $request->getParam('siret', '')),
|
||||
'tel' => str_replace(array(' ','.'), array('',''), $request->getParam('tel', '')),
|
||||
'Service' => $config['serviceCode'],
|
||||
);
|
||||
|
||||
try {
|
||||
$ws = new Scores_Ws_Client('gestion', '0.4');
|
||||
$parameters = new stdClass();
|
||||
$parameters->data = json_encode($data);
|
||||
$created = $ws->setUserSSO($parameters);
|
||||
if ($created === false ) {
|
||||
$this->view->Message = "Erreur lors de la création de votre compte.";
|
||||
} else {
|
||||
$this->view->UserCreated = true;
|
||||
// --- Data to go back
|
||||
$params = $request->getParams();
|
||||
$urlArgs = array();
|
||||
foreach ($params as $label => $value) {
|
||||
if (in_array($label, array('controller', 'action'))) continue;
|
||||
if (substr($label, 0, 2) == 'P-') {
|
||||
$urlArgs[substr($label, 2)] = $value;
|
||||
}
|
||||
}
|
||||
$urlArgs['partner'] = 'inextenso';
|
||||
$this->view->UrlArgs = $urlArgs;
|
||||
}
|
||||
} catch ( Exception $e ) {
|
||||
switch ( $e->getCode() ) {
|
||||
case 'MSG':
|
||||
$this->view->Message = $e->getMessage();
|
||||
break;
|
||||
default:
|
||||
$this->view->Error = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
$this->view->Message = "Erreur dans les paramètres.";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Lien de validation depuis email
|
||||
* Paramètres
|
||||
* - login ou email
|
||||
* - key
|
||||
* L'action renvoi sur un affichage spécifique suivant le type de client
|
||||
*/
|
||||
public function validateAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
|
||||
//Validation en erreur
|
||||
|
||||
//Validation invalide
|
||||
|
||||
//Validation Ok => Comment afficher les particularités
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -1,188 +0,0 @@
|
||||
<?php
|
||||
class BdfController extends Zend_Controller_Action
|
||||
{
|
||||
protected $theme;
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
$this->theme = Zend_Registry::get('theme');
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
|
||||
//Type de module
|
||||
$module = $request->getParam('module', '');
|
||||
$siret = $request->getParam('siret', '');
|
||||
$req = $request->getParam('req', '');
|
||||
$denom = $request->getParam('denom', '');
|
||||
$type = $request->getParam('type', '');
|
||||
$code = $request->getParam('code', '');
|
||||
$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 == '') {
|
||||
$title .= ' - '.$req;
|
||||
} else {
|
||||
$title .= substr($siren,0,9);
|
||||
}
|
||||
$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', '');
|
||||
$req = $request->getParam('req', '');
|
||||
$denom = $request->getParam('denom', '');
|
||||
$type = $request->getParam('type', 'u');
|
||||
$code = $request->getParam('code', '');
|
||||
$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)) {
|
||||
foreach($module as $m) {
|
||||
if (array_key_exists($m, $bdf->bdf_modules_fiben())){
|
||||
$service = 'fiben';
|
||||
} elseif ($service=='ficp' && array_key_exists($m, $bdf->bdf_modules_ficp())){
|
||||
$service = 'ficp';
|
||||
} elseif (array_key_exists($m, $bdf->bdf_modules_fcc())){
|
||||
$service = 'fcc';
|
||||
}
|
||||
$func_module = 'bdf_modules_'.$service;
|
||||
$listModules = $bdf->{$func_module}();
|
||||
$retour['html'] = $bdf->displayModule($req, $m, $service, $listModules);
|
||||
$retour['titre'] = $req.' - Module '.$listModules[$m]['titre'];
|
||||
$content[] = $retour;
|
||||
}
|
||||
} else {
|
||||
if (array_key_exists($module, $bdf->bdf_modules_fiben())){
|
||||
$service = 'fiben';
|
||||
} elseif ($service=='ficp' && array_key_exists($module, $bdf->bdf_modules_ficp())){
|
||||
$service = 'ficp';
|
||||
} elseif (array_key_exists($module, $bdf->bdf_modules_fcc())){
|
||||
$service = 'fcc';
|
||||
}
|
||||
$func_module = 'bdf_modules_'.$service;
|
||||
$listModules = $bdf->{$func_module}();
|
||||
$content[]['html'] = $bdf->displayModule($req, $module, $service, $listModules);
|
||||
$content[]['titre'] = $req.' - Module '.$listModules[$module]['titre'];
|
||||
}
|
||||
}
|
||||
//Mode multi-identifiant
|
||||
elseif ($type=='m') {
|
||||
if (is_array($module))
|
||||
{
|
||||
foreach($module as $m)
|
||||
{
|
||||
if (array_key_exists($module, $bdf->bdf_modules_fiben())){
|
||||
$service = 'fiben';
|
||||
} elseif ($service=='ficp' && array_key_exists($module, $bdf->bdf_modules_ficp())){
|
||||
$service = 'ficp';
|
||||
} elseif (array_key_exists($module, $bdf->bdf_modules_fcc())){
|
||||
$service = 'fcc';
|
||||
}
|
||||
$func_module = 'bdf_modules_'.$service;
|
||||
$listModules = $bdf->{$func_module}();
|
||||
$content[]['html'] = $bdf->displayModule($req, $module, $service, $listModules);
|
||||
$content[]['titre'] = 'Module '.$listModules[$module]['titre'];
|
||||
}
|
||||
}
|
||||
}
|
||||
$this->view->assign('content', $content);
|
||||
}
|
||||
|
||||
public function module27Action()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$params['siret'] = $request->getParam('siret');
|
||||
$params['bdfmodule'] = array(27);
|
||||
$this->_forward('module', null, null, $params);
|
||||
}
|
||||
|
||||
public function module28Action()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$params['siret'] = $request->getParam('siret');
|
||||
$params['bdfmodule'] = array(28);
|
||||
$this->_forward('module', null, null, $params);
|
||||
}
|
||||
|
||||
public function module29Action()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$params['siret'] = $request->getParam('siret');
|
||||
$params['bdfmodule'] = array(29);
|
||||
$this->_forward('module', null, null, $params);
|
||||
}
|
||||
|
||||
public function module40Action()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$params['siret'] = $request->getParam('siret');
|
||||
$params['bdfmodule'] = array(40);
|
||||
$this->_forward('module', null, null, $params);
|
||||
}
|
||||
|
||||
public function module51Action()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
$params['siret'] = $request->getParam('siret');
|
||||
$params['bdfmodule'] = array(51);
|
||||
$this->_forward('module', null, null, $params);
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -1,438 +0,0 @@
|
||||
<?php
|
||||
require_once 'Giant/WSgiant.php';
|
||||
require_once 'Giant/Controllers.lib.php';
|
||||
require_once 'Giant/RequestDatabase.lib.php';
|
||||
require_once 'Giant/Functions.lib.php';
|
||||
|
||||
class GiantController extends Zend_Controller_Action
|
||||
{
|
||||
protected $theme;
|
||||
protected $TestIndication = false;
|
||||
protected $config = array();
|
||||
|
||||
protected $TestCompanies = array(
|
||||
'BE' => array(
|
||||
'0439546194', '0436576412', '0430459076', '0430000604', '0404869783', '0404869783',
|
||||
'0406952018'
|
||||
),
|
||||
'ES' => array(
|
||||
'A00000000', 'A80192727'
|
||||
),
|
||||
'GB' => array(
|
||||
'00000086', '00082932', '98888888', '214436', '1777777', '991581', '1800000'
|
||||
),
|
||||
'NL' => array(
|
||||
'533885', '1383988', '1383989', '891962239', '891974008', '892130032', '896614719',
|
||||
'896614735', '896614735', '896615243'
|
||||
),
|
||||
'FR' => array(
|
||||
'55214450300018', '49496793800031', '47997411500012', '48765114300017',
|
||||
'43235433000040', '39435613300022', '39504742600014', '76980020200020',
|
||||
'35379698000020', '56202109700018', '70204756400068', '70204756400068'
|
||||
),
|
||||
);
|
||||
|
||||
protected $Companies = array(
|
||||
'FR' =>'France',
|
||||
'BE' => 'Belgium',
|
||||
'ES' => 'Spain',
|
||||
'GB' => 'United Kingdom',
|
||||
'NL' => 'The Netherlands',
|
||||
);
|
||||
|
||||
|
||||
public function init()
|
||||
{
|
||||
// --- Theme
|
||||
$this->theme = Zend_Registry::get('theme');
|
||||
|
||||
$this->view->headLink()->appendStylesheet($this->theme->pathStyle.'/giant.css', 'all');
|
||||
$this->view->headScript()->appendFile($this->theme->pathScript.'/giant.js', 'text/javascript');
|
||||
$this->view->debug = false;
|
||||
$this->config = new Zend_Config_Ini( APPLICATION_PATH.'/../library/Giant/giant.ini' );
|
||||
$this->TestIndication = $this->config->test->TestIndication;
|
||||
}
|
||||
|
||||
public function searchAction()
|
||||
{
|
||||
$user = new Scores_Utilisateur();
|
||||
$params = $this->getRequest()->getParams();
|
||||
$search = new GiantRechercheController($params['pays'], $this->TestIndication);
|
||||
$result = $search->Liste($params, $this->getRequest()->getParam('page'));
|
||||
$this->view->TestIndication= $this->TestIndication;
|
||||
$this->view->TestCompanies = $this->TestCompanies[$params['pays']];
|
||||
$this->view->label = $search->getObjet()->getLabelDesc();
|
||||
$this->view->labelResults = $search->getObjet()->getLabelResults();
|
||||
$this->view->pays = $params['pays'];
|
||||
$this->view->currentPage = $search->getObjet()->getCurrentPage();
|
||||
$this->view->userMaxResult = $user->getNbRep();
|
||||
$this->view->resultats = $result;
|
||||
$this->view->page = $this->getRequest()->getParam('page');
|
||||
$this->view->referer = $search->getObjet()->getQuery();
|
||||
$this->view->lienReferer = $search->getQueryLink($params);
|
||||
if($this->view->debug)
|
||||
$this->view->soap = $search->soapG;
|
||||
}
|
||||
|
||||
public function identiteAction()
|
||||
{
|
||||
$rechercheParams = new Scores_Session_Recherche();
|
||||
$giantFunction = new GiantFunction();
|
||||
$test = $this->getRequest()->getParam('test');
|
||||
if($test == true){
|
||||
$this->TestIndication = true;
|
||||
}
|
||||
if (count($rechercheParams->liste()) > 0)
|
||||
{
|
||||
$recherche = $rechercheParams->item(0);
|
||||
$type = $recherche['type'];
|
||||
$params = $recherche['params'];
|
||||
}
|
||||
$Commande = new Commandes();
|
||||
$user = new Scores_Utilisateur();
|
||||
$listeCommandes = $Commande->getCommandesByLogin($user->getLogin());
|
||||
$total = 0;
|
||||
$liste = $giantFunction->divCommande($listeCommandes, $total);
|
||||
$ListeRapport = new GiantRechercheController($params['pays'], $this->TestIndication);
|
||||
$giantController = new GiantControllerLib($this->getRequest()->getParam('CompanyId'));
|
||||
$result = $giantController->commandePays($this->getRequest()->getParam('CompanyId'),$params['pays'], $this->TestIndication);
|
||||
$this->view->TestIndication = $this->TestIndication;
|
||||
$this->view->total = $total;
|
||||
$this->view->listeCommandes = $liste;
|
||||
$this->view->modification = (isset($result->MonitoringOptions))?($ListeRapport->getModification($result->MonitoringOptions->MonitoringOption[0])):null;
|
||||
$this->view->description = $ListeRapport->getDescription();
|
||||
$this->view->raisonSociale = $this->getRequest()->getParam('raisonSociale');
|
||||
$this->view->listeRapport = $result;
|
||||
$this->view->telephone = $this->getRequest()->getParam('telephone');
|
||||
$this->view->CompanyId = $this->getRequest()->getParam('CompanyId');
|
||||
$this->view->raisonSociale = $this->getRequest()->getParam('raisonSociale');
|
||||
$this->view->CompanyRegisterNumber = $this->getRequest()->getParam('CompanyRegisterNumber');
|
||||
$this->view->Pays = $this->getRequest()->getParam('Pays');
|
||||
$this->view->Adresse = explode(':', $this->getRequest()->getParam('Adresse'));
|
||||
if($this->view->debug)
|
||||
$this->view->soap = $ListeRapport->soapG;
|
||||
}
|
||||
|
||||
public function creditrecommendationAction()
|
||||
{
|
||||
$test = $this->getRequest()->getParam('test');
|
||||
if($test == true){
|
||||
$this->TestIndication = true;
|
||||
}
|
||||
$giantController = new GiantControllerLib($this->getRequest()->getParam('CompanyId'));
|
||||
$id = $giantController->commande($this->getRequest()->getParam('CompanyId'),
|
||||
$this->getRequest()->getParam('Type'),
|
||||
$this->getRequest()->getParam('Pays'),
|
||||
$this->getRequest()->getParam('Language'),
|
||||
$this->TestIndication
|
||||
);
|
||||
$creditrecommendationAction = array('getAvisDeCredit' => 'CreditRecommendation');
|
||||
$creditrecommendation = unserialize(base64_decode($id));
|
||||
$identiteController = new GiantIdentiteController($creditrecommendation);
|
||||
$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);
|
||||
}
|
||||
}
|
||||
$fiche = $giantConstroller->getInformationGenerale($creditrecommendation);
|
||||
$this->view->carte = $this->getRequest()->getParam('Pays');
|
||||
$this->view->reportType = $this->getRequest()->getParam('Type');
|
||||
$this->view->report = $fiche;
|
||||
$this->view->Type = $this->getRequest()->getParam('Type');
|
||||
$this->view->assign('exportObjet', $creditrecommendation);
|
||||
}
|
||||
|
||||
public function compactAction()
|
||||
{
|
||||
$test = $this->getRequest()->getParam('test');
|
||||
if($test == true){
|
||||
$this->TestIndication = true;
|
||||
}
|
||||
$giantController = new GiantControllerLib($this->getRequest()->getParam('CompanyId'));
|
||||
$id = $giantController->commande($this->getRequest()->getParam('CompanyId'),
|
||||
$this->getRequest()->getParam('Type'),
|
||||
$this->getRequest()->getParam('Pays'),
|
||||
$this->getRequest()->getParam('Language'),
|
||||
$this->TestIndication
|
||||
);
|
||||
$compactAction = array('getAvisDeCredit' => 'CreditRecommendation', 'getPositionFinanciere' => 'FinancialSummary',
|
||||
'getStructureEntreprise' => 'Associated', 'getDirigeant' => 'Position'
|
||||
);
|
||||
$compact = unserialize(base64_decode($id));
|
||||
$identiteController = new GiantIdentiteController($compact);
|
||||
$giantConstroller = new GiantControllerLib($this->getRequest()->getParam('CompanyId').'-'.$this->getRequest()->getParam('Type'));
|
||||
$identiteController->ficheAction();
|
||||
$fiche = $identiteController->getObjet('fiche');
|
||||
foreach($compactAction as $action => $val) {
|
||||
if(isset($compact->DataSet->Company->$val)) {
|
||||
$compact = $giantConstroller->$action($compact);
|
||||
}
|
||||
}
|
||||
$fiche = $giantConstroller->getInformationGenerale($compact);
|
||||
$this->view->carte = $this->getRequest()->getParam('Pays');
|
||||
$this->view->reportType = $this->getRequest()->getParam('Type');
|
||||
$this->view->report = $fiche;
|
||||
$this->view->Type = $this->getRequest()->getParam('Type');
|
||||
$this->view->assign('exportObjet', $compact);
|
||||
}
|
||||
|
||||
public function fullAction()
|
||||
{
|
||||
$test = $this->getRequest()->getParam('test');
|
||||
if($test == true){
|
||||
$this->TestIndication = true;
|
||||
}
|
||||
$giantController = new GiantControllerLib($this->getRequest()->getParam('CompanyId').'-'.$this->getRequest()->getParam('Type'));
|
||||
$id = $giantController->commande($this->getRequest()->getParam('CompanyId'),
|
||||
$this->getRequest()->getParam('Type'),
|
||||
$this->getRequest()->getParam('Pays'),
|
||||
$this->getRequest()->getParam('Language'),
|
||||
$this->TestIndication
|
||||
);
|
||||
$fullAction = array('getAvisDeCredit' => 'CreditRecommendation', 'getComptesAnnuels' => 'AnnualAccounts', 'getPositionFinanciere' => 'FinancialSummary',
|
||||
'getComportementPaiement' => 'PaymentBehaviour', 'getStructureEntreprise' => 'Associated', 'getDirigeant' => 'Position',
|
||||
'getComparaisonValeurs'=> 'PeerGroup', 'getHistoriques' => 'Event'
|
||||
);
|
||||
$full = unserialize(base64_decode($id));
|
||||
$full->DataSet->Company->CompanyId= $this->getRequest()->getParam('CompanyId');
|
||||
$identiteController = new GiantIdentiteController($full);
|
||||
$giantConstroller = new GiantControllerLib($this->getRequest()->getParam('CompanyId').'-'.$this->getRequest()->getParam('Type'));
|
||||
$identiteController->ficheAction();
|
||||
$fiche = $identiteController->getObjet('fiche');
|
||||
|
||||
foreach($fullAction as $action => $val) {
|
||||
if(isset($full->DataSet->Company->$val))
|
||||
$full = $giantConstroller->$action($full);
|
||||
}
|
||||
$fiche = $giantConstroller->getInformationGenerale($full);
|
||||
$this->view->carte = $this->getRequest()->getParam('Pays');
|
||||
$this->view->reportType = $this->getRequest()->getParam('Type');
|
||||
$this->view->report = $fiche;
|
||||
$this->view->Type = $this->getRequest()->getParam('Type');
|
||||
$this->view->assign('exportObjet', $full);
|
||||
}
|
||||
|
||||
public function getForm()
|
||||
{
|
||||
$form = new Zend_Form();
|
||||
$form->setMethod('post')
|
||||
->setAction('investigation');
|
||||
|
||||
$reference = $form->createElement('text', 'reference', array('label' => 'Votre Reference'));
|
||||
$reference->setRequired(true);
|
||||
$elements[] = $reference;
|
||||
|
||||
$telephone = $form->createElement('text', 'telephone', array('label' => 'Votre téléphone'));
|
||||
$telephone->setRequired(true);
|
||||
$elements[] = $telephone;
|
||||
|
||||
$mail = $form->createElement('text', 'mail', array('label' => 'Adresse Email'));
|
||||
$mail->setRequired(true);
|
||||
$elements[] = $mail;
|
||||
|
||||
$elements[] = $form->createElement('textarea', 'remarque', array('label' => 'Remarque ou commentaire à destination de l\'enquêteur :'));
|
||||
$elements[] = $form->createElement('text', 'domiciliation', array('label' => 'Domiciliation Bancaire :'));
|
||||
$elements[] = $form->createElement('text', 'Encours', array('label' => 'Encours demandé :'));
|
||||
$elements[] = $form->createElement('text', 'nbEcheance', array('label' => 'Nombre d\'échéances :'));
|
||||
|
||||
$form->addElements($elements)
|
||||
->addElement('submit', 'Envoyer', array('label' => 'Envoyer'));
|
||||
return ($form);
|
||||
}
|
||||
|
||||
public function investigationAction()
|
||||
{
|
||||
|
||||
if($this->getRequest()->isPost()) {
|
||||
$data = $this->getRequest()->getPost();
|
||||
if($this->getForm()->isValid($data))
|
||||
$this->view->form = $this->getRequest()->getParam('reference');
|
||||
else {
|
||||
return ($this->view->form = $this->getForm());
|
||||
}
|
||||
} else
|
||||
$this->view->form = $this->getForm();
|
||||
}
|
||||
public function startmonitoringAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->view->headLink()->appendStylesheet($this->theme->pathStyle.'/giant.css', 'all');
|
||||
$this->view->headScript()->appendFile($this->theme->pathScript.'/giant.js', 'text/javascript');
|
||||
$this->view->lang = $this->getRequest()->getParam('lang');
|
||||
$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();
|
||||
$result = new GiantControllerLib();
|
||||
foreach($this->Companies as $key=>$pays){
|
||||
if(($value = $result->getCache($key)) === false || empty($value->MonitoringOptions->MonitoringOption[0]->LanguageCodes->LanguageCode)) {
|
||||
unset($this->Companies[$key]);
|
||||
}
|
||||
}
|
||||
$this->view->countries = $this->Companies;
|
||||
if ($this->getRequest()->isPost()) {
|
||||
$giantController = new GiantControllerLib($this->getRequest()->getParam('CompanyId'));
|
||||
$result = $giantController->startmonitoring($this->getRequest()->getParam('CompanyId'),
|
||||
$this->getRequest()->getParam('CategoryName'),
|
||||
$this->getRequest()->getParam('EventType'),
|
||||
$this->getRequest()->getParam('StartDate'),
|
||||
$this->getRequest()->getParam('EndDate'),
|
||||
$this->getRequest()->getParam('Version'),
|
||||
$this->getRequest()->getParam('LanguageCode'),
|
||||
$this->getRequest()->getParam('Pays'),
|
||||
$this->TestIndication,
|
||||
$this->getRequest()->getParam('CompanyName')
|
||||
);
|
||||
$this->view->result = $result;
|
||||
}
|
||||
|
||||
}
|
||||
public function stopmonitoringAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->view->headLink()->appendStylesheet($this->theme->pathStyle.'/giant.css', 'all');
|
||||
$this->view->CompanyId = $this->getRequest()->getParam('CompanyId');
|
||||
$this->view->InternalOrderId = $this->getRequest()->getParam('InternalOrderId');
|
||||
$this->view->Pays = $this->getRequest()->getParam('Pays');
|
||||
$this->view->InternalOrderId = $this->getRequest()->getParam('InternalOrderId');
|
||||
$this->view->CompanyName = $this->getRequest()->getParam('CompanyName');
|
||||
$this->view->action = $this->getRequest()->getParam('action');
|
||||
$this->view->values = $this->getRequest()->getParams();
|
||||
|
||||
if ($this->getRequest()->isPost()) {
|
||||
$giantController = new GiantControllerLib($this->getRequest()->getParam('CompanyId'));
|
||||
$result = $giantController->stopmonitoring($this->getRequest()->getParam('CompanyId'),
|
||||
$this->getRequest()->getParam('EndDate'),
|
||||
$this->getRequest()->getParam('InternalOrderId'),
|
||||
$this->getRequest()->getParam('Pays'),
|
||||
$this->TestIndication
|
||||
);
|
||||
$this->view->result = $result;
|
||||
}
|
||||
}
|
||||
public function updatemonitoringAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->view->headLink()->appendStylesheet($this->theme->pathStyle.'/giant.css', 'all');
|
||||
$this->view->lang = $this->getRequest()->getParam('lang');
|
||||
$this->view->CompanyId = $this->getRequest()->getParam('CompanyId');
|
||||
$this->view->InternalOrderId = $this->getRequest()->getParam('InternalOrderId');
|
||||
$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();
|
||||
|
||||
if ($this->getRequest()->isPost()) {
|
||||
$giantController = new GiantControllerLib($this->getRequest()->getParam('CompanyId'));
|
||||
$result = $giantController->updatemonitoring($this->getRequest()->getParam('CompanyId'),
|
||||
$this->getRequest()->getParam('InternalOrderId'),
|
||||
$this->getRequest()->getParam('CategoryName'),
|
||||
$this->getRequest()->getParam('EventType'),
|
||||
$this->getRequest()->getParam('StartDate'),
|
||||
$this->getRequest()->getParam('Version'),
|
||||
$this->getRequest()->getParam('LanguageCode'),
|
||||
$this->getRequest()->getParam('Pays'),
|
||||
$this->TestIndication
|
||||
);
|
||||
$this->view->result = $result;
|
||||
}
|
||||
|
||||
}
|
||||
public function retriveAction()
|
||||
{
|
||||
$this->view->headScript()->appendFile($this->theme->pathScript.'/giant_monitoring.js', 'text/javascript');
|
||||
$giantController = new GiantControllerLib();
|
||||
$auth = Zend_Auth::getInstance();
|
||||
if ( $auth->hasIdentity() ) {
|
||||
$identity = $auth->getIdentity();
|
||||
}
|
||||
$result = $auth->getStorage()->read($identity);
|
||||
if(!empty($result->result->mon_result)){
|
||||
$result = $result->result->mon_result;
|
||||
}
|
||||
else{
|
||||
$result = $giantController->retrive(1,$this->TestIndication,'RetrieveMonitoringEventsForCustomer');
|
||||
$sess = new stdClass();
|
||||
$sess->mon_result = $result;
|
||||
$identity->result = $sess;
|
||||
$auth->getStorage()->write($identity);
|
||||
}
|
||||
$resultDB = $giantController->retrivDB();
|
||||
$this->view->resultDB = $resultDB;
|
||||
$this->view->result = $result;
|
||||
$merged =Array();
|
||||
foreach ($result->MonitoringEvents->MonitoringEvent as $MonitoringEvent):
|
||||
if ($merged[$MonitoringEvent->ProviderOrderId]){
|
||||
array_push($merged[$MonitoringEvent->ProviderOrderId],$MonitoringEvent) ;
|
||||
} else {
|
||||
$merged[$MonitoringEvent->ProviderOrderId][]=$MonitoringEvent;
|
||||
}
|
||||
endforeach;
|
||||
$this->view->val = $merged;
|
||||
|
||||
$merged_siren =Array();
|
||||
foreach ($result->MonitoringEvents->MonitoringEvent as $MonitoringEvent):
|
||||
if ($merged_siren[$MonitoringEvent->Company->CompanyId]){
|
||||
array_push($merged_siren[$MonitoringEvent->Company->CompanyId],$MonitoringEvent) ;
|
||||
} else {
|
||||
$merged_siren[$MonitoringEvent->Company->CompanyId][]=$MonitoringEvent;
|
||||
}
|
||||
endforeach;
|
||||
$this->view->val_siren = $merged_siren;
|
||||
|
||||
|
||||
}
|
||||
public function retAction()
|
||||
{
|
||||
$giantController = new GiantControllerLib();
|
||||
$resultDB = $giantController->retrivDB($this->getRequest()->getParam('date_st'));
|
||||
print_r(serialize($resultDB[0]));
|
||||
}
|
||||
public function getpaysAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$pays = $this->getRequest()->getParam('Pays');
|
||||
$result = new GiantControllerLib();
|
||||
if(($value = $result->getCache($pays)) === false || empty($value->MonitoringOptions->MonitoringOption[0]->LanguageCodes->LanguageCode)) {
|
||||
print_r(array('no'));
|
||||
}
|
||||
else {
|
||||
print_r(json_encode($value->MonitoringOptions->MonitoringOption[0]->LanguageCodes->LanguageCode));
|
||||
}
|
||||
}
|
||||
public function reteventsAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->view->headScript()->appendFile($this->theme->pathScript.'/giant_monitoring.js', 'text/javascript');
|
||||
$this->view->headScript()->appendFile$this->theme->pathScript.'/giant.js', 'text/javascript');
|
||||
$auth = Zend_Auth::getInstance();
|
||||
$identity = $auth->getIdentity();
|
||||
$result = $auth->getStorage()->read($identity);
|
||||
$result = $result->result->mon_result;
|
||||
$merged_siren = Array();
|
||||
foreach ($result->MonitoringEvents->MonitoringEvent as $MonitoringEvent):
|
||||
if ($merged_siren[$MonitoringEvent->Company->CompanyId]){
|
||||
array_push($merged_siren[$MonitoringEvent->Company->Event[0]->EventCode],$MonitoringEvent) ;
|
||||
} else {
|
||||
$merged_siren[$MonitoringEvent->Company->Event[0]->EventCode][]=$MonitoringEvent;
|
||||
}
|
||||
endforeach;
|
||||
$type = $this->getRequest()->getParam('Type');
|
||||
$id = $this->getRequest()->getParam('Id');
|
||||
|
||||
$merged = Array();
|
||||
foreach ($merged_siren[$type] as $MonitoringEvent):
|
||||
if ($merged[$MonitoringEvent->ProviderOrderId]){
|
||||
array_push($merged[$MonitoringEvent->ProviderOrderId],$MonitoringEvent) ;
|
||||
} else {
|
||||
$merged[$MonitoringEvent->ProviderOrderId][]=$MonitoringEvent;
|
||||
}
|
||||
endforeach;
|
||||
$this->view->result = $merged[$id];
|
||||
}
|
||||
}
|
@ -1,101 +0,0 @@
|
||||
<?php echo $this->doctype(); ?>
|
||||
<html>
|
||||
<head>
|
||||
<?php echo $this->headMeta(); ?>
|
||||
<?php echo $this->headTitle(); ?>
|
||||
<?php echo $this->headStyle(); ?>
|
||||
<?php echo $this->headLink(); ?>
|
||||
<?php echo $this->headScript(); ?>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="wrap">
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
|
||||
<h1 class="text-center">Scores & Decisions</h1>
|
||||
<br/>
|
||||
|
||||
<p>
|
||||
Scores & Decisions est l'éditeur d'une base de données de référence sur toutes les entreprises de France.
|
||||
Scores & Decisions est licencié officiel depuis 2008 pour la rediffusion du répertoire Sirène (INSEE), du RNCS
|
||||
Registre National du Commerce et des Sociétés (INPI) et des Journaux Officiels (DILA). Scores & Decisions est
|
||||
un service privé distinct des services publics cités.
|
||||
</p>
|
||||
<br/>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<p class="text-primary">Spécialiste de l'information légales et financières sur les entreprises, Scores & Décisions vous permet par
|
||||
confirmation des éléments ci-contre d'accéder à toute sa base de données.</p>
|
||||
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
Télécharger nos Conditions Générales de Services
|
||||
<a href="<?=$this->baseUrl()?>/documents/inextenso_cgs.pdf" target="_blank">
|
||||
<span class="glyphicon glyphicon-file pull-right" aria-hidden="true"></span></a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
Télécharger nos Conditions Tarifaires
|
||||
<a href="#" target="_blank">
|
||||
<span class="glyphicon glyphicon-file pull-right" aria-hidden="true"></span></a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
Télécharger les coordonnées de vos contacts
|
||||
<a href="<?=$this->baseUrl()?>/documents/inextenso_contacts.pdf" target="_blank">
|
||||
<span class="glyphicon glyphicon-file pull-right" aria-hidden="true"></span></a>
|
||||
</li>
|
||||
</ul>
|
||||
<p class="text-danger">Ce service est actuellement en beta. La consultation vous est offerte durant cette période.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
|
||||
<h2>Trouvez les réponses à vos questions !</h2>
|
||||
|
||||
<ul class="arguments">
|
||||
|
||||
<li><strong>Disposez de certitudes sur l'identité de vos interlocuteurs, les liens financiers et les liens
|
||||
dirigeants... ></strong> Mon client a t il une existence légale ? Quels sont les derniers événements qui ont touché l'entreprise ?</li>
|
||||
|
||||
<li><strong>Évitez les mauvais payeurs ></strong>
|
||||
Ce prospect paye t'il rapidement, est-il en procédure collective ? Quel est sa rentabilité, son niveau de
|
||||
trésorerie ?</li>
|
||||
|
||||
<li><strong>Surveillez la solvabilité de vos partenaires, clients et fournisseurs ou concurrents ></strong>
|
||||
Mes clients sont ils viables dans la durée, puis je continuer et développer les ventes ?</li>
|
||||
|
||||
<li><strong>Découvrez la valeur de votre entreprises ou celles de vos concurrents ></strong> Mon entreprise a t elle de la
|
||||
valeur ? combien me coûterait le rachat d'un concurrent ?</li>
|
||||
|
||||
<li><strong>Trouvez vos futurs clients ></strong> Où sont et qui sont mes prospects ?</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<p>Les données agrégées sont officielles, exhaustives, fraîches et opposables aux tiers. Elles sont utilisées
|
||||
par des grands groupes et institutionnels dans des cadres contentieux, de conformité, de fraude...</p>
|
||||
|
||||
<a type="button" class="btn btn-success btn-lg" href="<?=$this->url($this->FormUrlParams, 'default', true)?>">Accédez au site</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<p class="inexweb text-center"><img src="/themes/default/images/partner/logo-inexweb.png"/> <strong>vous offre 60 jours de gratuité, et la surveillance de votre portefeuille clients !</strong></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php echo $this->inlineScript(); ?>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,58 +0,0 @@
|
||||
<?php echo $this->doctype(); ?>
|
||||
<html>
|
||||
<head>
|
||||
<?php echo $this->headMeta(); ?>
|
||||
<?php echo $this->headTitle(); ?>
|
||||
<?php echo $this->headStyle(); ?>
|
||||
<?php echo $this->headLink(); ?>
|
||||
<?php echo $this->headScript(); ?>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="wrap">
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-6"><img src="/themes/default/images/partner/<?=$this->logo?>"/></div>
|
||||
<div class="col-md-6">
|
||||
|
||||
<h2 class="form-signin-heading">Extranet <small>Scores & Décisions</small></h2>
|
||||
<?php
|
||||
//Error
|
||||
if ($this->Error) {?>
|
||||
<div style="text-align:center;"><p class="text-danger"><span>Une erreur est survenue</span></p></div>
|
||||
<?php
|
||||
}
|
||||
//Message
|
||||
else if ($this->Message) {?>
|
||||
<div style="text-align:center;"><p class="text-danger"><span><?=$this->Message?></span></p></div>
|
||||
<?php
|
||||
}
|
||||
//OK
|
||||
else if ($this->UserCreated) {?>
|
||||
<div>
|
||||
<p class="text-success">
|
||||
<span>Votre compte a été crée avec succès.</span>
|
||||
<a href="<?=$this->url(array_merge(array('controller'=> 'auth', 'action' => 'index'), $this->UrlArgs))?>">
|
||||
Cliquez ici pour être redirigé vers la page d'accueil.</a>
|
||||
</p>
|
||||
</div>
|
||||
<?php }?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
<div class="container">
|
||||
<p class="text-muted credit"> © <?=date('Y')?> <a href="http://www.scores-decisions.com">Scores & Décisions SAS</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php echo $this->inlineScript(); ?>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,127 +0,0 @@
|
||||
<?php echo $this->doctype(); ?>
|
||||
<html>
|
||||
<head>
|
||||
<?php echo $this->headMeta(); ?>
|
||||
<?php echo $this->headTitle(); ?>
|
||||
<?php echo $this->headStyle(); ?>
|
||||
<?php echo $this->headLink(); ?>
|
||||
<?php echo $this->headScript(); ?>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="wrap">
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<p><img src="/themes/default/images/partner/<?=$this->logo?>"/></p>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<p class="text-primary">Spécialiste de l'information légales et financières sur les entreprises, Scores & Décisions vous permet par
|
||||
confirmation des éléments ci-contre d'accéder à toute sa base de données.</p>
|
||||
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
Télécharger nos Conditions Générales de Services
|
||||
<a href="<?=$this->baseUrl()?>/documents/inextenso_cgs.pdf" target="_blank">
|
||||
<span class="glyphicon glyphicon-file pull-right" aria-hidden="true"></span></a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
Télécharger nos Conditions Tarifaires
|
||||
<a href="#" target="_blank">
|
||||
<span class="glyphicon glyphicon-file pull-right" aria-hidden="true"></span></a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
Télécharger les coordonnées de vos contacts
|
||||
<a href="<?=$this->baseUrl()?>/documents/inextenso_contacts.pdf" target="_blank">
|
||||
<span class="glyphicon glyphicon-file pull-right" aria-hidden="true"></span></a>
|
||||
</li>
|
||||
</ul>
|
||||
<p class="text-danger">Ce service est actuellement en beta. La consultation vous est offerte durant cette période.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
|
||||
<form method="post" action="<?=$this->url(array('controller'=>'auth', 'action'=>'userssocreate'), 'default', true)?>">
|
||||
<h2 class="form-signin-heading">Extranet <small>Scores & Décisions</small></h2>
|
||||
<?php
|
||||
//Error
|
||||
if ($this->Error) {?>
|
||||
<div style="text-align:center;"><p class="text-danger"><span>Une erreur est survenue</span></p></div>
|
||||
<?php
|
||||
}
|
||||
//Message
|
||||
else if ($this->Message) {?>
|
||||
<div style="text-align:center;"><p class="text-danger"><span><?=$this->Message?></span></p></div>
|
||||
<?php
|
||||
}
|
||||
//NoUser
|
||||
else if ($this->NoUser) {?>
|
||||
<div><p class="text-warning"><span>
|
||||
Votre compte n'existe pas encore. Compléter le formulaire puis valider pour créer votre compte.
|
||||
</span></p>
|
||||
</div>
|
||||
|
||||
<?php foreach ($this->Params as $item) {?>
|
||||
<input type="hidden" name="P-<?=$item->label?>" value="<?=$item->value?>"/>
|
||||
<?php }?>
|
||||
|
||||
<input type="hidden" name="partner" value="<?=$this->FormPartner?>"/>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="identifiant">Identifiant</label>
|
||||
<input type="text" id="identifiant" value="<?=$this->FormIdentifiant?>" class="form-control" disabled>
|
||||
<input type="hidden" name="login" value="<?=$this->FormIdentifiant?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="email">Email</label>
|
||||
<input type="text" class="form-control" value="<?=$this->FormCourriel?>" disabled>
|
||||
<input type="hidden" name="email" value="<?=$this->FormCourriel?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="siret">SIRET</label>
|
||||
<input type="text" class="form-control" name="siret" value="<?=$this->FormSiret?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="nom">Nom</label>
|
||||
<input type="text" class="form-control" name="nom" value="<?=$this->FormNom?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="prenom">Prénom</label>
|
||||
<input type="text" class="form-control" name="prenom" value="<?=$this->FormPrenom?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="tel">Téléphone</label>
|
||||
<input type="text" class="form-control" name="tel" value="<?=$this->FormTel?>">
|
||||
</div>
|
||||
|
||||
<button class="btn btn-lg btn-primary btn-block clearfix" type="submit">Valider</button>
|
||||
|
||||
<?php }?>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
<div class="container">
|
||||
<p class="text-muted credit"> © <?=date('Y')?> <a href="http://www.scores-decisions.com">Scores & Décisions SAS</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php echo $this->inlineScript(); ?>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1 +0,0 @@
|
||||
<?php
|
@ -1,190 +0,0 @@
|
||||
<style>
|
||||
#identifiant {
|
||||
float:left;
|
||||
width:40%;
|
||||
}
|
||||
#modules {
|
||||
float:left;
|
||||
width:40%;
|
||||
}
|
||||
|
||||
#listeModules {
|
||||
position:absolute;
|
||||
width:500px;
|
||||
display:none;
|
||||
background-color:#FBF7AA;
|
||||
border:1px solid #000000;
|
||||
z-index:3;
|
||||
}
|
||||
|
||||
#closelisteModules {
|
||||
float:right;
|
||||
padding:0.4em 1em;
|
||||
}
|
||||
|
||||
#listeModules ul {
|
||||
width:100%;
|
||||
margin-left:-10px;
|
||||
list-style-type:none;
|
||||
}
|
||||
|
||||
#listeModules ul li {
|
||||
display:inline;
|
||||
float:left;
|
||||
width:50%;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="center">
|
||||
|
||||
<h1>Banque de France - Modules</h1>
|
||||
<h2>Recherche FIBEN / FCC identifiant unique</h2>
|
||||
<div class="paragraph">
|
||||
<form name="rFibenU" method="post" action="<?=$this->url(array('controller'=>'bdf', 'action'=>'module'))?>">
|
||||
<input type="hidden" name="type" value="u"/>
|
||||
<input type="hidden" name="siret" value="<?=$this->siret?>"/>
|
||||
|
||||
<div id="identifiant">
|
||||
<label>Identifiant</label> <input type="text" name="req" value="<?=$this->req?>"/>
|
||||
<br/><span>SIREN ou clé BDF</span>
|
||||
</div>
|
||||
<div id="modules" class="clearfix">
|
||||
<a href='#' id="listeModulesD">Liste des modules</a>
|
||||
<span id="selected">
|
||||
<?php if ($this->module && is_array($this->module)){ ?>
|
||||
<?php
|
||||
foreach ($this->listModulesFiben as $id => $module) {
|
||||
if (isset($module['liste']) == false || $module['liste'] !== false) {
|
||||
if (in_array($id, $this->module))
|
||||
{
|
||||
echo '<br/>'.$module['titre'];
|
||||
}
|
||||
}
|
||||
}
|
||||
foreach ($this->listModulesFcc as $id => $module) {
|
||||
if (isset($module['liste']) == false || $module['liste'] !== false) {
|
||||
if (in_array($id, $this->module))
|
||||
{
|
||||
echo '<br/>'.$module['titre'];
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php } ?>
|
||||
</span>
|
||||
</div>
|
||||
<div id="listeModules">
|
||||
<a href="#" id="closelisteModules">Fermer</a>
|
||||
<ul>
|
||||
<?php
|
||||
foreach ($this->listModulesFiben as $id => $module) {
|
||||
if (isset($module['liste']) == false || $module['liste'] !== false) {
|
||||
$checked = '';
|
||||
if (isset($this->module) && is_array($this->module) && in_array($id, $this->module))
|
||||
{
|
||||
$checked = 'checked';
|
||||
}
|
||||
?>
|
||||
<li>
|
||||
<input type="checkbox" name="bdfmodule[]" value="<?=$id?>" <?=$checked?>/>
|
||||
<?=$module['titre']?>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
foreach ($this->listModulesFcc as $id => $module) {
|
||||
if (isset($module['liste']) == false || $module['liste'] !== false) {
|
||||
$checked = '';
|
||||
if (isset($this->module) && is_array($this->module) && in_array($id, $this->module))
|
||||
{
|
||||
$checked = 'checked';
|
||||
}
|
||||
?>
|
||||
<li>
|
||||
<input type="checkbox" name="module[]" value="<?=$id?>" <?=$checked?>/>
|
||||
<?=$module['titre']?>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<br/>
|
||||
</div>
|
||||
<input class="button" type="submit" name="rFiben" value="Afficher"/>
|
||||
</form>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
<h2>Recherche FIBEN / FCC identifiants multiples</h2>
|
||||
<div class="paragraph">
|
||||
<form name="rFibenM" method="post" action="<?=$this->url(array('controller'=>'bdf', 'action'=>'module'))?>">
|
||||
<input type="hidden" name="type" value="m"/>
|
||||
<input type="hidden" name="siret" value="<?=$siret?>"/>
|
||||
<div id="identifiant">
|
||||
<label>Identifiant</label>
|
||||
<input type="text" name="identifiant[]" value="<?=$req?>" />
|
||||
<a href="#" id="addIdentifiant">Ajouter</a>
|
||||
</div>
|
||||
|
||||
<div id="modules" class="clearfix">
|
||||
<label>Module</label>
|
||||
<select name="bdfmodule">
|
||||
<?php
|
||||
foreach ($this->listModulesFiben as $id => $module) {
|
||||
if (isset($module['liste']) == false || $module['liste'] !== false) {
|
||||
echo '<option value="'.$id.'">'.$module['titre'].'</option>';
|
||||
}
|
||||
}
|
||||
foreach ($this->listModulesFcc as $id => $module) {
|
||||
if (isset($module['liste']) == false || $module['liste'] !== false) {
|
||||
echo '<option value="'.$id.'">'.$module['titre'].'</option>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
<input class="button" type="submit" name="rFiben" value="Afficher"/>
|
||||
</form>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
<h2>Recherche FICP</h2>
|
||||
<div class="paragraph">
|
||||
<form name="rFicp" method="post" action="<?=$this->url(array('controller'=>'bdf', 'action'=>'module'))?>">
|
||||
<input type="hidden" name="bdfmodule" value="G"/>
|
||||
<input type="hidden" name="service" value="ficp"/>
|
||||
<label>Clé BDF</label>
|
||||
<input type="text" name="req"/>
|
||||
<input class="button" type="submit" name="rFicp" value="Ok"/>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('#listeModulesD').click(function(){
|
||||
var position = $(this).position();
|
||||
$('#listeModules').css('top', position.top);
|
||||
$('#listeModules').css('left', position.left-200);
|
||||
var display = $('#listeModules').css('display');
|
||||
if(display=='none') $('#listeModules').css('display', 'block');
|
||||
else $('#listeModules').css('display', 'none');
|
||||
});
|
||||
|
||||
$('#closelisteModules').click(function(){
|
||||
$('#listeModules').css('display', 'none');
|
||||
$('#modules > #selected').html('');
|
||||
$('input[name="module[]"]').each(function(){
|
||||
if ($(this).prop('checked')){
|
||||
$('#modules > #selected').append('<br/>'+$(this).parent().text());
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#addIdentifiant').click(function(){
|
||||
$('form[name=rFibenM] > #identifiant').append('<br/><label>Identifiant</label> <input type="text" name="identifiant[]" />');
|
||||
});
|
||||
});
|
||||
</script>
|
@ -1,8 +0,0 @@
|
||||
<h1 class="titre"><?=$this->titre?></h1>
|
||||
<div class="paragraph">
|
||||
<?php if ( !empty($this->html) ) {?>
|
||||
<?=$this->html?>
|
||||
<?php } else {?>
|
||||
ERREUR
|
||||
<?php }?>
|
||||
</div>
|
@ -1,42 +0,0 @@
|
||||
<style>
|
||||
#identifiant {
|
||||
float:left;
|
||||
width:40%;
|
||||
}
|
||||
#modules {
|
||||
float:left;
|
||||
width:40%;
|
||||
}
|
||||
|
||||
#listeModules {
|
||||
position:absolute;
|
||||
width:500px;
|
||||
display:none;
|
||||
background-color:#FBF7AA;
|
||||
border:1px solid #000000;
|
||||
z-index:3;
|
||||
}
|
||||
|
||||
#closelisteModules {
|
||||
float:right;
|
||||
padding:0.4em 1em;
|
||||
}
|
||||
|
||||
#listeModules ul {
|
||||
width:100%;
|
||||
margin-left:-10px;
|
||||
list-style-type:none;
|
||||
}
|
||||
|
||||
#listeModules ul li {
|
||||
display:inline;
|
||||
float:left;
|
||||
width:50%;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="center">
|
||||
<?php foreach ( $this->content as $item ) {?>
|
||||
<?=$this->partial('bdf/module-content.phtml', array('titre'=>$item['titre'],'html'=>$item['html']))?>
|
||||
<?php }?>
|
||||
</div>
|
@ -1,18 +0,0 @@
|
||||
<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)); ?>
|
||||
</div>
|
||||
<h2>2. Avis de crédit</h2>
|
||||
<div id="break">
|
||||
<?php echo $this->partial('giant/partials/rapports/AvisDeCredit.phtml', null, array('report' => $this->report, 'Type' => $this->Type)); ?>
|
||||
</div>
|
||||
<h2>4. Position financiére</h2>
|
||||
<div id="break">
|
||||
<?php echo $this->partial('giant/partials/rapports/PositionFinanciere.phtml', null, array('report' => $this->report, 'Type' => $this->Type)); ?>
|
||||
</div>
|
||||
<h2>7. Dirigeants</h2>
|
||||
<div id="break">
|
||||
<?php echo $this->partial('giant/partials/rapports/Dirigeant.phtml', null, array('report' => $this->report)); ?>
|
||||
</div>
|
||||
</div>
|
@ -1,6 +0,0 @@
|
||||
<div id="center">
|
||||
<h2>2. Avis de crédit</h2>
|
||||
<div id="break">
|
||||
<?php echo $this->partial('giant/partials/rapports/AvisDeCredit.phtml', null, array('report' => $this->report, 'Type' => $this->Type)); ?>
|
||||
</div>
|
||||
</div>
|
@ -1,40 +0,0 @@
|
||||
<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)); ?>
|
||||
</div>
|
||||
<a name="6"></a>
|
||||
<h2>2. Avis de crédit</h2>
|
||||
<div id="break">
|
||||
<?php echo $this->partial('giant/partials/rapports/AvisDeCredit.phtml', null, array('report' => $this->report, 'Type' => $this->Type)); ?>
|
||||
</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)); ?>
|
||||
</div>
|
||||
<h2>4. Position financiére</h2>
|
||||
<div id="break">
|
||||
<?php echo $this->partial('giant/partials/rapports/PositionFinanciere.phtml', null, array('report' => $this->report, 'Type' => $this->Type)); ?>
|
||||
</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)); ?>
|
||||
</div>
|
||||
<h2>6. Structure de l'entreprise</h2>
|
||||
<div id="break">
|
||||
<?php echo $this->partial('giant/partials/rapports/StructureEntreprise.phtml', null, array('report' => $this->report)); ?>
|
||||
</div>
|
||||
<h2>7. Dirigeants</h2>
|
||||
<div id="break">
|
||||
<?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">
|
||||
<?php echo $this->partial('giant/partials/rapports/ComparaisonValeurs.phtml', null, array('report' => $this->report, 'Type' => $this->Type)); ?>
|
||||
</div>
|
||||
<h2>9. Historiques</h2>
|
||||
<div id="break">
|
||||
<?php echo $this->partial('giant/partials/rapports/Historiques.phtml', null, array('report' => $this->report)); ?>
|
||||
</div>
|
||||
<?php echo $this->partial('giant/partials/sommaire.phtml', null, array('carte' => $this->carte)); ?>
|
||||
</div>
|
@ -1,121 +0,0 @@
|
||||
<div id="center">
|
||||
|
||||
<h1>Identite</h1>
|
||||
<div class="paragraph">
|
||||
<div id="identite">
|
||||
<table>
|
||||
<tr id="info">
|
||||
<td width="30px"></td>
|
||||
<td class="StyleInfoLib" width="250px">CompanyId</td>
|
||||
<td class="StyleInfoData" width="300px"><?php echo $this->CompanyId;?></td>
|
||||
</tr>
|
||||
<tr id="info">
|
||||
<td width="30px"></td>
|
||||
<td class="StyleInfoLib" width="250px">CompanyRegisterNumber</td>
|
||||
<td class="StyleInfoData" width="300px"><?php echo $this->CompanyRegisterNumber;?></td>
|
||||
</tr>
|
||||
<tr id="info">
|
||||
<td width="30px"></td>
|
||||
<td valign="top" class="StyleInfoLib" width="250px">RegisteredName</td>
|
||||
<td class="StyleInfoData" width="300px"><?php echo $this->raisonSociale;?></td>
|
||||
</tr>
|
||||
<tr id="info">
|
||||
<td width="30px"></td>
|
||||
<td valign="top" class="StyleInfoLib" width="250px">Adresse</td>
|
||||
<td class="StyleInfoData" width="300px"><?php echo $this->Adresse[0].' '.$this->Adresse[1];?><br />
|
||||
<?php echo $this->Adresse[2].' '.$this->Adresse[3]?></td>
|
||||
</tr>
|
||||
<tr id="info">
|
||||
<td width="30px"></td>
|
||||
<td valign="top" class="StyleInfoLib" width="250px">Téléphone</td>
|
||||
<td class="StyleInfoData" width="300px"><?php echo $this->telephone;?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<?php if(!empty($this->listeRapport)):?>
|
||||
<h1>Liste des rapports</h1>
|
||||
<div class="paragraph">
|
||||
<div id="radio">
|
||||
<table>
|
||||
<?php $i=1; foreach ($this->listeRapport->DataSetOptions->DataSetOption as $rapport):?>
|
||||
<tr id="info">
|
||||
<td class="StyleInfoLib" style="float:left;" >
|
||||
<?$t = $rapport->DataSetType->_;?>
|
||||
<img style="cursor:help" title="<?php echo htmlentities($this->description->$t);?>" class="tooltip" src="/themes/default/images/giant/tag_blue.png" /><input type="radio" class="radio" id="radio<?php echo $i; ?>" value="<?php echo $rapport->DataSetType->_?>" name="radio" /><label class="radio_but" for="radio<?php echo $i; ?>">Rapport de Type <?php echo $rapport->DataSetType->_?></label>
|
||||
</td>
|
||||
<td align="center" class="StyleInfoData lang_img <?=strtolower($rapport->DataSetType->_);?>">
|
||||
<div class="lang_select">
|
||||
<select class="lang_val">
|
||||
<?php foreach ($rapport->LanguageCodes->LanguageCode as $key=>$language):?>
|
||||
<option class="lang<?=$key;?>" value=<?=$language;?>><?=$language;?></option>
|
||||
<?php endforeach;?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="lang_select">
|
||||
<img class='lang'src="/themes/default/images/drapeaux/<?=$rapport->LanguageCodes->LanguageCode[0]?>.png" />
|
||||
</div>
|
||||
</td>
|
||||
<td class="StyleInfoData lang_img <?=strtolower($rapport->DataSetType->_);?>">
|
||||
<a id="r<?php echo $i?>" class="idpr id_cr" href="/giant/<?=strtolower($rapport->DataSetType->_)?>/Pays/test/<?=$this->TestIndication?>/<?=$this->Pays; ?>/Type/<?php echo $rapport->DataSetType->_?>/CompanyId/<?php echo $this->CompanyId;?>/Language/<?=$rapport->LanguageCodes->LanguageCode[0];?>" >Consulter le rapport en immédiat</a>
|
||||
<div id="pr<?php echo $i?>" class="hide" style="display:none;z-index: 1;margin-left: -340px;">
|
||||
<center><img style="padding-top:30%" src="/themes/default/images/giant/19-1.gif" /></center>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php $i++;?>
|
||||
<?php endforeach;?>
|
||||
</table>
|
||||
</div></div>
|
||||
<?php endif; ?>
|
||||
<?php if(!empty($this->listeRapport->InvestigationOptions1)): ?>
|
||||
<h1>Liste des investigations<img style="margin-top:4px;float:right" src="/themes/default/images/giant/expanded.gif" ></h1>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30px"></td>
|
||||
<!--<td></td>!-->
|
||||
<td></td>
|
||||
<td style="word-spacing: 2px;" align="center">
|
||||
<input disabled="disabled" type="radio" name="langI1" /><input type="radio" name="langI2" checked="true" />
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<?php foreach ($this->listeRapport->InvestigationOptions->InvestigationOption as $investigation):?>
|
||||
<?php foreach ($investigation->ServiceLevels->ServiceLevel as $service):?>
|
||||
<tr id="info">
|
||||
<td width="30px"></td>
|
||||
<td class="StyleInfoLib" width="460px">
|
||||
<img style="cursor:help" title="" class="tooltip" src="/themes/default/images/giant/tag_blue.png" /> - Investigation <?php echo $service->Name.' ( '.$service->Duration.' '.$service->DurationMetric.' ) ';?>
|
||||
</td>
|
||||
<!--<td class="StyleInfoData" width="150px">
|
||||
150€ <?php /*@TODO reste a deteminer les données BDD ou fichier.*/ ?>
|
||||
</td>!-->
|
||||
<td align="center" class="StyleInfoData" width="100px">
|
||||
<?php foreach ($investigation->LanguageCodes->LanguageCode as $language):?>
|
||||
<img src="/themes/default/images/drapeaux/<?php echo $language;?>.png" />
|
||||
<?php endforeach;?>
|
||||
</td>
|
||||
<td class="StyleInfoData" width="300px">
|
||||
<a id="r<?php echo $i?>" class="idpr" href="">Commander l'investigation</a>
|
||||
<div id="pr<?php echo $i?>" class="hide" style="display:none;z-index: 1; margin-left: -457px;">
|
||||
<center><img style="padding-top:30%" src="/themes/default/images/giant/19-1.gif" /></center>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php $i++; endforeach;?>
|
||||
<?php endforeach;?>
|
||||
<?php if($this->debug):?>
|
||||
<tr>
|
||||
<td width="30px"></td>
|
||||
<td colspan="5">
|
||||
<?php echo $this->action('identite', 'debug', null, array('resultat'=> $this->listeRapport, 'soap' => $this->soap));?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif;?>
|
||||
</table>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
|
||||
|
||||
</div>
|
@ -1,9 +0,0 @@
|
||||
<div id="center">
|
||||
<div class="paragraph">
|
||||
<h2>Investigation</h2>
|
||||
<fieldset>
|
||||
<legend>Formulaire d'investigation</legend>
|
||||
<?php echo $this->form;?>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
@ -1,70 +0,0 @@
|
||||
<div class="paragraph">
|
||||
<?php if(isset($this->report->CreditRecommendation)):?>
|
||||
<?php foreach($this->report->CreditRecommendation as $credit):?>
|
||||
<table id="AvisDeCredit">
|
||||
<tr>
|
||||
<td><b>Date</b></td>
|
||||
<td class="float"><?php echo (empty($credit->Date->_))?'NC':$credit->Date->_; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><hr/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Recommandation</b></td>
|
||||
<td class="float"><?php echo (empty ($credit->AmountAdvised))?'NC':$credit->AmountAdvised->_ . ' '.$credit->AmountAdvised->currency; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><hr style="border:1px dotted silver" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><br /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Evaluation</b></td>
|
||||
<td class="float"><?php echo (empty($credit->RiskClasses->CommonRiskClass->RatingValue))?'NC':$credit->RiskClasses->CommonRiskClass->RatingValue ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><hr style="border:1px dotted silver" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><img src="/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-'.str_replace(' ', '_', $credit->RiskClasses->CommonRiskClass->RatingName->_);?>.png" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<i><?php echo (empty($credit->RiskClasses->CommonRiskClass->Description[0]))?'NC':$credit->RiskClasses->CommonRiskClass->Description[0]->_;?></i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><hr /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><br /></td>
|
||||
</tr>
|
||||
<?php foreach ($credit->RiskClasses->ProviderRiskClass as $ProviderRiskClass):?>
|
||||
<tr>
|
||||
<td><b><?php echo (empty($ProviderRiskClass->RatingName->_))?'NC':$ProviderRiskClass->RatingName->_; ?></b></td>
|
||||
<td class="float"><?php echo (empty($ProviderRiskClass->RatingValue))?'NC':$ProviderRiskClass->RatingValue; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><img src="/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-'.str_replace(' ', '_', $ProviderRiskClass->RatingName->_);?>.png" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><i><?php echo (empty($ProviderRiskClass->Description[0]->_))?'NC':$ProviderRiskClass->Description[0]->_; ?></i></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><hr /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><br /></td>
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
</table>
|
||||
<?php endforeach; ?>
|
||||
<?php 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 Credit de Recommendation
|
||||
</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
@ -1,55 +0,0 @@
|
||||
<div class="paragraph" id="ComparisonValeurs">
|
||||
<a name="20"></a>
|
||||
<span>Comparaison des valeurs</span><br /><br />
|
||||
<?php if(isset($this->report->ComparaisonValeurs)):?>
|
||||
|
||||
<table id="giant_synthese">
|
||||
<thead>
|
||||
<tr>
|
||||
<th> </th>
|
||||
<?php $date = explode('/', $this->report->ComparaisonValeurs[key($this->report->ComparaisonValeurs)]['date']);?>
|
||||
<th align="right" class="date"><?php echo $date[2];?></th>
|
||||
<th align="right" class="date">Secteur</th>
|
||||
<th align="right" class="date">Variation</th>
|
||||
<th> </th>
|
||||
<?php if(isset($this->report->ComparaisonValeurs[key($this->report->ComparaisonValeurs)]['old'])):?>
|
||||
<?php foreach($this->report->ComparaisonValeurs[key($this->report->ComparaisonValeurs)]['old'] as $date => $valeur):?>
|
||||
<th align="right" class="date"><?php echo substr($date, 0,4);?></th>
|
||||
<?php endforeach;?>
|
||||
<?php endif;?>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php $i=0;foreach($this->report->ComparaisonValeurs as $name => $ComparaisonValeurs):$i++;?>
|
||||
<?php ($ComparaisonValeurs['current'] != 0 and $ComparaisonValeurs['entreprise'] != 0)?
|
||||
$val = round((($ComparaisonValeurs['current']/$ComparaisonValeurs['entreprise'])*100)-100):'NC';
|
||||
?>
|
||||
<tr class="<?php echo ($val)? 'red':'green'; ?>">
|
||||
<td class="head">
|
||||
<a class="tooltip" title="<?php echo str_replace('_', ' ', $ComparaisonValeurs['name']);?>"><?php echo str_replace('_', ' ', $ComparaisonValeurs['name']);?></a>
|
||||
</td>
|
||||
<td class="right"><?php echo round($ComparaisonValeurs['current']); ?></td>
|
||||
<td class="right"><?php echo round($ComparaisonValeurs['entreprise']); ?></td>
|
||||
<td class="right"><?php echo $val; ?> %</td>
|
||||
<td align="center"><img class="tooltip" title="<center><b>Evolution années précédentes</b></center><br /><img src='/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-'.$name;?>.png' />" alt="icone" src="/themes/default/images/giant/<?php echo ($val > 0)? 'up': 'down';?>.png" /></td>
|
||||
<?php if(!empty($ComparaisonValeurs['old'])):?>
|
||||
<?php $i=0;foreach($ComparaisonValeurs['old'] as $valeur):$i++?>
|
||||
<?php if($i == 4) break;?>
|
||||
<td align="right"><?php echo round($valeur[0]->SubjectValue);?></td>
|
||||
<?php endforeach;?>
|
||||
<?php endif;?>
|
||||
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php 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 Comportement de paiement.
|
||||
</p>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
</div>
|
@ -1,118 +0,0 @@
|
||||
<div class="paragraph">
|
||||
<?php if(isset($this->report->PaymentBehaviour)):?>
|
||||
<?php if(isset($this->report->ComportementPaiement)):?>
|
||||
<span class="title">Analyse par année</span><br /><br />
|
||||
<table id="giant_synthese">
|
||||
<thead>
|
||||
<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=='910000'){$dates='+91';}else if($dates=='1510000'){$dates='+151';}?>
|
||||
<?$dates = str_replace('0000', ' - ', $dates)?>
|
||||
<th align="right" class="date"><?=$dates?></th>
|
||||
<?php endforeach; ?>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?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 $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>
|
||||
<?php endforeach; ?>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
<center>
|
||||
<span class="title">Graphique Analyse par année</span><br /><br />
|
||||
<img src="/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-';?>ComportementPaiement.png" />
|
||||
</center>
|
||||
<br />
|
||||
<?php endif;?>
|
||||
<a name="13"></a>
|
||||
<span class="title">Qualification de paiement</span><br /><br />
|
||||
<table id="giant_synthese">
|
||||
<tbody>
|
||||
<tr>
|
||||
<tr >
|
||||
<td class="head">
|
||||
<a class="tooltip tooltipFont">PaymentQualification</a>
|
||||
</td>
|
||||
<td class="right"><?php echo (isset($this->report->PaymentBehaviour[0]->PaymentQualification))?$this->report->PaymentBehaviour[0]->PaymentQualification->Qualification:'NC';?></td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td class="head">
|
||||
<a class="tooltip tooltipFont">DebtorDays</a>
|
||||
</td>
|
||||
<td class="right"><?php echo (isset($this->report->PaymentBehaviour[0]->DebtorDays))?$this->report->PaymentBehaviour[0]->DebtorDays:'NC';?></td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td class="head">
|
||||
<a class="tooltip tooltipFont">CreditorDays</a>
|
||||
</td>
|
||||
<td class="right"><?php echo (isset($this->report->PaymentBehaviour[0]->DebtorDays))?$this->report->PaymentBehaviour[0]->CreditorDays:'NC';?></td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
<a name="14"></a>
|
||||
<span class="title">Analyse par sommes</span><br /><br />
|
||||
<?php if(isset($this->report->ByAmount)):?>
|
||||
|
||||
<table id="giant_synthese">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="date">Jours</th>
|
||||
<?php foreach(current($this->report->ByAmount) as $dates => $valeurs):?>
|
||||
<? if($dates=='000030'){$dates='1000030';}else if($dates=='900000'){$dates='+90';}else if($dates=='1510000'){$dates='+151';}?>
|
||||
<?$dates = str_replace('0000', ' - ', $dates)?>
|
||||
<th align="right" class="date"><?=$dates?></th>
|
||||
<?php endforeach; ?>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php foreach($this->report->ByAmount as $sommes => $valeurs):?>
|
||||
<?php $somme = explode('1111', $sommes);?>
|
||||
<tr>
|
||||
<td class="head">
|
||||
<a class="tooltip" title="<?php echo $date[0];?> - <?php echo $date[1];?>">entre : <?php echo (!empty($somme[0]))?$somme[0].'€':'0';?></b> et <b><?php echo (!empty($somme[1]))?$somme[1].'€':'plus';?></a>
|
||||
</td>
|
||||
<?php $i=0;foreach($valeurs as $valeur): $i++; ?>
|
||||
<td class="right"><?php echo $valeur;?> %</td>
|
||||
<?php endforeach; ?>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br />
|
||||
<center>
|
||||
<a name="15"></a>
|
||||
<span class="title">Graphique Analyse par année</span><br />
|
||||
<img src="/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-';?>ComportementPaiementByAmount.png" />
|
||||
</center>
|
||||
<?php else: ?>
|
||||
<div style="padding:0.7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucunes informations.
|
||||
</p>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<?php else : ?>
|
||||
<div style="padding:0.7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun Comportement de paiement.
|
||||
</p>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
</div>
|
@ -1,219 +0,0 @@
|
||||
<div class="paragraph compteAnnuels">
|
||||
<?php if(!empty($this->report->AnnualAccounts)):?>
|
||||
<table id="giant_synthese">
|
||||
<tbody>
|
||||
<tr>
|
||||
<tr >
|
||||
<td class="head">
|
||||
<a class="tooltip tooltipFont">Date de clôture</a>
|
||||
</td>
|
||||
<?php foreach($this->report->AnnualAccounts as $AnnualAccounts):$i++?>
|
||||
<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 >
|
||||
<td class="head">
|
||||
<a class="tooltip tooltipFont">Etat de compte</a>
|
||||
</td>
|
||||
<?php foreach($this->report->AnnualAccounts as $AnnualAccounts):$i++?>
|
||||
<td class="right"><?php echo (empty($AnnualAccounts->AccountsStatus))?'NC':$AnnualAccounts->AccountsStatus;?></td>
|
||||
<?php endforeach; ?>
|
||||
</tr>
|
||||
<tr >
|
||||
<td class="head">
|
||||
<a class="tooltip tooltipFont">Type de compte</a>
|
||||
</td>
|
||||
<?php foreach($this->report->AnnualAccounts as $AnnualAccounts):$i++?>
|
||||
<td class="right"><?php echo (empty($AnnualAccounts->AccountsType))?'NC':$AnnualAccounts->AccountsType;?></td>
|
||||
<?php endforeach; ?>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
<a name="7"></a>
|
||||
<span class="title" >Actif</span><br />
|
||||
<table id="giant_synthese">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center">
|
||||
</th>
|
||||
<?php $i=0; foreach($this->report->AnnualAccounts as $AnnualAccounts): $i++?>
|
||||
<?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>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php foreach($this->report->Assets as $name => $Assets):?>
|
||||
<?php if(!empty($this->report->Assets->{$name})){$end = end($this->report->Assets->{$name});reset($this->report->Assets->{$name});}else{$end = 0;}?>
|
||||
<?php if(!empty($this->report->Assets->{$name})){$key = $this->report->Assets->{$name}[key($this->report->Assets->{$name})];}else{$key = 0;}?>
|
||||
<?php $val = ($key < $end)?true:false;?>
|
||||
<tr class="<?php echo ($val)? 'red':'green'; ?>">
|
||||
<td class="head">
|
||||
<a class="tooltip" title="<?php echo $name;?>"><?php echo $name;?></a>
|
||||
</td>
|
||||
<?php foreach($this->report->AnnualAccounts as $AnnualAccounts): ?>
|
||||
<?php (empty($firstAsset))?$firstAsset = $this->report->Assets->{$name}[$AnnualAccounts->AccountsDate->_]:EOF;?>
|
||||
<td class="right"><?php echo number_format($this->report->Assets->{$name}[$AnnualAccounts->AccountsDate->_], 0, '', ' ');?> K€</td>
|
||||
<?php endforeach; ?>
|
||||
<td align="center">
|
||||
<?php if($end > $firstAsset):?>
|
||||
<img class="tooltip IMGprint" title="<center><b><?php echo $name;?></b></center><br /><img src='/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-'.$name;?>-line.png' />" src="/themes/default/images/giant/down.png" />
|
||||
<?php else: ?>
|
||||
<img class="tooltip IMGprint" title="<center><b><?php echo $name;?></b></center><br /><img src='/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-'.$name;?>-line.png' />" src="/themes/default/images/giant/up.png" />
|
||||
<?php endif;unset($firstAsset);?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
<div class="center">
|
||||
<span class="title">Graphique des actifs</span>
|
||||
<img src="/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-';?>actifs.png" />
|
||||
</div>
|
||||
<br />
|
||||
<a name="8"></a>
|
||||
<span class="title">Passif</span><br />
|
||||
<table id="giant_synthese">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center">
|
||||
</th>
|
||||
<?php $i=0; foreach($this->report->AnnualAccounts as $AnnualAccounts): $i++?>
|
||||
<?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>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php foreach($this->report->Liabilities as $name => $Liabilities):?>
|
||||
<?php if(!empty($this->report->Liabilities->{$name})){$end = end($this->report->Liabilities->{$name});reset($this->report->Liabilities->{$name});}else{$end = 0;}?>
|
||||
<?php if(!empty($this->report->Liabilities->{$name})){$key = $this->report->Liabilities->{$name}[key($this->report->Liabilities->{$name})];}else{$key = 0;}?>
|
||||
<?php $val = ($key < $end)?true:false;?>
|
||||
<tr class="<?php echo ($val)? 'red':'green'; ?>">
|
||||
<td class="head">
|
||||
<a class="tooltip" title="<?php echo $name;?>"><?php echo $name;?></a>
|
||||
</td>
|
||||
<?php foreach($this->report->AnnualAccounts as $AnnualAccounts): ?>
|
||||
<?php (empty($firstLiabilities))?$firstLiabilities = $this->report->Liabilities->{$name}[$AnnualAccounts->AccountsDate->_]:EOF;?>
|
||||
<td class="right"><?php echo number_format($this->report->Liabilities->{$name}[$AnnualAccounts->AccountsDate->_], 0, '', ' ');?> K€</td>
|
||||
<?php endforeach; ?>
|
||||
<td align="center">
|
||||
<?php if($end > $firstLiabilities):?>
|
||||
<img class="tooltip IMGprint" title="<center><b><?php echo $name;?></b></center><br /><img src='/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-'.$name;?>-line.png' />" src="/themes/default/images/giant/down.png" />
|
||||
<?php else: ?>
|
||||
<img class="tooltip IMGprint" title="<center><b><?php echo $name;?></b></center><br /><img src='/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-'.$name;?>-line.png' />" src="/themes/default/images/giant/up.png" />
|
||||
<?php endif;unset($firstLiabilities);?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
<div class="center">
|
||||
<span class="title">Graphique des passifs</span>
|
||||
<img src="/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-';?>passifs.png" />
|
||||
</div>
|
||||
<br />
|
||||
<a name="9"></a>
|
||||
<span class="title">Compte de résultats</span><br />
|
||||
<table id="giant_synthese">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center">
|
||||
</th>
|
||||
<?php $i=0; foreach($this->report->AnnualAccounts as $AnnualAccounts): $i++?>
|
||||
<?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>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php foreach($this->report->ProfitAndLoss as $name => $ProfitAndLoss):?>
|
||||
<?php if(!empty($this->report->ProfitAndLoss->{$name})){$end = end($this->report->ProfitAndLoss->{$name});reset($this->report->ProfitAndLoss->{$name});}else{$end = 0;}?>
|
||||
<?php if(!empty($this->report->ProfitAndLoss->{$name})){$key = $this->report->ProfitAndLoss->{$name}[key($this->report->ProfitAndLoss->{$name})];}else{$key = 0;}?>
|
||||
<?php $val = ($key < $end)?true:false;?>
|
||||
<tr class="<?php echo ($val)? 'red':'green'; ?>">
|
||||
<td class="head">
|
||||
<a class="tooltip" title="<?php echo $name;?>"><?php echo $name;?></a>
|
||||
</td>
|
||||
<?php foreach($this->report->AnnualAccounts as $AnnualAccounts): ?>
|
||||
<?php (empty($firstProfitAndLoss))?$firstProfitAndLoss = $this->report->ProfitAndLoss->{$name}[$AnnualAccounts->AccountsDate->_]:EOF;?>
|
||||
<td class="right"><?php echo number_format($this->report->ProfitAndLoss->{$name}[$AnnualAccounts->AccountsDate->_], 0, '', ' ');?> K€</td>
|
||||
<?php endforeach; ?>
|
||||
<td align="center">
|
||||
<?php if($end > $firstProfitAndLoss):?>
|
||||
<img class="tooltip IMGprint" title="<center><b><?php echo $name;?></b></center><br /><img src='/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-'.$name;?>-line.png' />" src="/themes/default/images/giant/down.png" />
|
||||
<?php else: ?>
|
||||
<img class="tooltip IMGprint" title="<center><b><?php echo $name;?></b></center><br /><img src='/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-'.$name;?>-line.png' />" src="/themes/default/images/giant/up.png" />
|
||||
<?php endif;unset($firstProfitAndLoss);?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
<div class="center">
|
||||
<span class="title">Compte de resultats</span>
|
||||
<img src="/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-';?>profitandloss.png" />
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<a name="10"></a>
|
||||
<span class="title">KeyCreditRatios</span><br />
|
||||
<table id="giant_synthese">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center">
|
||||
</th>
|
||||
<?php $i=0; foreach($this->report->AnnualAccounts as $AnnualAccounts): $i++?>
|
||||
<?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>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php foreach($this->report->KeyCreditRatios as $name => $KeyCreditRatios):?>
|
||||
<?php if(!empty($this->report->KeyCreditRatios->{$name})){$end = end($this->report->KeyCreditRatios->{$name});reset($this->report->KeyCreditRatios->{$name});}else{$end = 0;}?>
|
||||
<?php if(!empty($this->report->KeyCreditRatios->{$name})){$key = $this->report->KeyCreditRatios->{$name}[key($this->report->KeyCreditRatios->{$name})];}else{$key = 0;}?>
|
||||
<?php $val = ($key < $end)?true:false;?>
|
||||
<tr class="<?php echo ($val)? 'red':'green'; ?>">
|
||||
<td class="head">
|
||||
<a class="tooltip" title="<?php echo $name;?>"><?php echo $name;?></a>
|
||||
</td>
|
||||
<?php foreach($this->report->AnnualAccounts as $AnnualAccounts): ?>
|
||||
<?php (empty($firstKeyCreditRatios))?$firstKeyCreditRatios = $this->report->KeyCreditRatios->{$name}[$AnnualAccounts->AccountsDate->_]:EOF;?>
|
||||
<td class="right"><?php echo (!empty($this->report->KeyCreditRatios->{$name}[$AnnualAccounts->AccountsDate->_]))?$this->report->KeyCreditRatios->{$name}[$AnnualAccounts->AccountsDate->_].' %':'NC'?></td>
|
||||
<?php endforeach; ?>
|
||||
<td align="center">
|
||||
<?php if($end > $firstKeyCreditRatios):?>
|
||||
<img class="tooltip IMGprint" title="<center><b><?php echo $name;?></b></center><br /><img src='/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-'.$name;?>-line.png' />" src="/themes/default/images/giant/down.png" />
|
||||
<?php else: ?>
|
||||
<img class="tooltip IMGprint" title="<center><b><?php echo $name;?></b></center><br /><img src='/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-'.$name;?>-line.png' />" src="/themes/default/images/giant/up.png" />
|
||||
<?php endif;unset($firstKeyCreditRatios);?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php else:?>
|
||||
<div style="padding:0.7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucun Comptes Annuels (bilans, etc..)
|
||||
</p>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
</div>
|
@ -1,37 +0,0 @@
|
||||
<div class="paragraph">
|
||||
<a name="19"></a>
|
||||
<span class="title">Dirigeants</span><br /><br />
|
||||
<?php if(isset($this->report->Dirigeant)):?>
|
||||
<table style="font-size:13px;margin-left: 19px;" width="97%" class="hoverTr"><pre><?//print_r($this->report->Dirigeant);?></pre>
|
||||
<?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])){
|
||||
$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 $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').
|
||||
' '.$dir->PersonalAddress->City;?></td>
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
<?php endforeach;?>
|
||||
<?php endforeach;?>
|
||||
</table>
|
||||
<?php else:?>
|
||||
<div style="padding:0.7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucune information sur les dirigeants.
|
||||
</p>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
</div>
|
@ -1,63 +0,0 @@
|
||||
<div class="paragraph historique">
|
||||
<a name="21"></a>
|
||||
<?php if(isset($this->report->Event)):?>
|
||||
<?php foreach($this->report->Event as $name => $Events):?>
|
||||
<span class="title"><?php echo $this->report->EventNew[$name];?></span><br /><br />
|
||||
<form method="POST">
|
||||
<select name="Date" style="float:right" onchange="submit()">
|
||||
<option value="all">Date</option>
|
||||
|
||||
<?php foreach($Events as $date => $event): ?>
|
||||
|
||||
<option <?php
|
||||
preg_match('/(\d{4})(\d{2})(\d{2})/', $date, $matches);$y = $matches[1];$m = $matches[2];$d = $matches[3];
|
||||
echo ((isset($_POST['Date']) and $_POST['Date'] == $y.'/'.$m.'/'.$d)?'SELECTED':EOF); ?> value="<?php echo $y.'/'.$m.'/'.$d;?>">
|
||||
<?php echo ($Events[$date][0]->Date != '//')?$Events[$date][0]->Date:$y.'/'.$m.'/'.$d;?>
|
||||
</option>
|
||||
<?php endforeach;?>
|
||||
</select>
|
||||
</form>
|
||||
<table id="giant_synthese">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" class="date" style='width: 142px;'>Date</th>
|
||||
<th align="right" class="date">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php foreach($Events as $date => $event): ?>
|
||||
<?php
|
||||
preg_match('/(\d{4})(\d{2})(\d{2})/', $date, $matches);$y = $matches[1];$m = $matches[2];$d = $matches[3];
|
||||
foreach($event as $val):?>
|
||||
<?php if(!empty($_POST['Date']) and $_POST['Date'] != 'all'):?>
|
||||
<?php if($y.'/'.$m.'/'.$d == $_POST['Date']):?>
|
||||
<tr title="<?php echo $val->FreeText; ?>">
|
||||
<td align="center" class="head">
|
||||
<a style="cursor:help" class="tooltip" class="tooltip"><?php echo ($val->Date != '//')?$val->Date:$y.'/'.$m.'/'.$d;?></a>
|
||||
</td>
|
||||
<td class="right"><?php echo $val->Description;?></td>
|
||||
</tr>
|
||||
<?php endif;?>
|
||||
<?php else: ?>
|
||||
<tr align="center" style="cursor:help" class="tooltip" title="<?php echo $val->FreeText; ?>">
|
||||
<td class="head">
|
||||
<a class="tooltip"><?php echo ($val->Date != '//')?$val->Date:$y.'/'.$m.'/'.$d;?></a>
|
||||
</td>
|
||||
<td class="right"><?php echo $val->Description;?></td>
|
||||
</tr>
|
||||
<?php endif;?>
|
||||
<?php endforeach;?>
|
||||
<?php endforeach;?>
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
<?php endforeach;?>
|
||||
<?php else :?>
|
||||
<div style="padding:0.7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucunes annonces légales
|
||||
</p>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
</div>
|
@ -1,160 +0,0 @@
|
||||
<div class="paragraph">
|
||||
<?php if(isset($this->report)) :?>
|
||||
<?preg_match('/(\d{2})(\d{2})(\d{4})/', $this->report->IncorporationDate, $matches);$d = $matches[1];$m = $matches[2];$y = $matches[3];?>
|
||||
<div>
|
||||
<a name="1"></a>
|
||||
<span class="title">Données officielles</span><br />
|
||||
<table id="giant_synthese">
|
||||
<tbody>
|
||||
<tr >
|
||||
<td class="head" style='width: 169px;'>
|
||||
<a class="tooltip tooltipFont">Nom d'entreprise </a>
|
||||
</td>
|
||||
<td class="right"><?php echo $this->report->CompanyName?></td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td class="head" style='width: 169px;'>
|
||||
<a class="tooltip tooltipFont">Numéro de TVA</a>
|
||||
</td>
|
||||
<td class="right"><?php echo $this->report->Vat?></td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td class="head" style='width: 169px;'>
|
||||
<a class="tooltip tooltipFont">Forme juridique actuelle</a>
|
||||
</td>
|
||||
<td class="right"><?php echo $this->report->LegalForm.' / '.$this->report->UnifiedLegalForm;?></td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td class="head" style='width: 169px;'>
|
||||
<a class="tooltip tooltipFont">Date de constitution</a>
|
||||
</td>
|
||||
<td class="right"><?php echo (!empty($this->report->IncorporationDate))?$d.'/'.$m.'/'.$y:'NC'?></td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td class="head" style='width: 169px;'>
|
||||
<a class="tooltip tooltipFont">Etat de l'entreprise</a>
|
||||
</td>
|
||||
<td class="right"><?php echo $this->report->CompanyStatus?></td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td class="head" style='width: 169px;'>
|
||||
<a class="tooltip tooltipFont">No. Siret</a>
|
||||
</td>
|
||||
<td class="right"><?php echo $this->report->CompanyId?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
<a name="2"></a><br />
|
||||
<span class="title">Données de contact</span><br />
|
||||
<table id="giant_synthese">
|
||||
<tbody>
|
||||
<tr >
|
||||
<td class="head" style='width: 169px;'>
|
||||
<a class="tooltip tooltipFont">Numéro de téléphone</a>
|
||||
</td>
|
||||
<td class="right"><?php echo $this->report->TelephoneNumber?></td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td class="head" style='width: 169px;'>
|
||||
<a class="tooltip tooltipFont">Numéro de fax</a>
|
||||
</td>
|
||||
<td class="right"><?php echo $this->report->Telefax?></td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td class="head" style='width: 169px;'>
|
||||
<a class="tooltip tooltipFont">Adresse Email</a>
|
||||
</td>
|
||||
<td class="right"><?php echo ($this->report->EmailAddress!='<a href="mailto:"></a>')?$this->report->EmailAddress:'NC'?></td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td class="head" style='width: 169px;'>
|
||||
<a class="tooltip tooltipFont">Site internet</a>
|
||||
</td>
|
||||
<td class="right"><?php echo ($this->report->WebAddress!='<a href="http://"></a>')?$this->report->WebAddress:'NC'?></td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td class="head" style='width: 169px;'>
|
||||
<a class="tooltip tooltipFont">Adresse</a>
|
||||
</td>
|
||||
<td class="right"><?php echo $this->report->CompanyAddress?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
<a name="3"></a><br />
|
||||
<?php if(!empty($this->report->activity)):?>
|
||||
<span class="title">Activités</span><br />
|
||||
<table id="giant_synthese">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left" class="date">Code</th>
|
||||
<th align="right" class="date">Activité</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php foreach($this->report->activity as $code => $activity): ?>
|
||||
<tr>
|
||||
<td class="head" style='width: 169px;'>
|
||||
<a><?php echo $code?></a>
|
||||
</td>
|
||||
<td class="right"><?php echo $activity?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php endif;?>
|
||||
<br />
|
||||
<?php if(!empty($this->report->Employees)):?>
|
||||
<a name="4"></a><br />
|
||||
<span class="title">Personnel</span><br />
|
||||
<table id="giant_synthese">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left" class="date" style='width: 169px;'>Année</th>
|
||||
<th align="right" class="date">Total des travailleurs employés</th>
|
||||
<th align="right" class="date">Équivalent temps plein</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<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;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>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php endif;?>
|
||||
<br />
|
||||
<?php if(!empty($this->report->ProductName)):?>
|
||||
<a name="5"></a><br />
|
||||
<span class="title">Noms de produit</span><br />
|
||||
<table id="giant_synthese">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left" class="date">Source</th>
|
||||
<th align="right" class="date">Produit</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php foreach($this->report->ProductName as $ProductName): ?>
|
||||
<tr class="<?php echo ($val)? 'red':'green'; ?>">
|
||||
<td class="head" style='width: 169px;'>
|
||||
<a><?php echo (empty($ProductName->source)?'NC':$ProductName->source);?></a>
|
||||
</td>
|
||||
<td class="right"><?php echo $ProductName->_?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php endif;?>
|
||||
<?php else: ?>
|
||||
<span style="font-size:13px;margin-left:30px;">Aucunes Informations</span>
|
||||
<?php endif; ?>
|
||||
</div>
|
@ -1,77 +0,0 @@
|
||||
<div class="paragraph">
|
||||
<?php if(isset($this->report->FinancialSummary)):?>
|
||||
<a name="11"></a>
|
||||
<span class="title">Informations Capital</span><br />
|
||||
<?php if(isset($this->report->PositionFinanciere)):?>
|
||||
<table id="giant_synthese">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center">
|
||||
</th>
|
||||
<?php $i = 0; foreach($this->report->PositionFinanciereDate as $date => $val):$i++?>
|
||||
<?$date1 = new Zend_Date($date,yyyymmdd);?>
|
||||
<th align="right" class="date"><?php echo $date1->toString('dd/mm/yyyy');?></th>
|
||||
<?php endforeach; ?>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php foreach($this->report->PositionFinanciere as $name => $PositionFinanciere):?>
|
||||
<tr>
|
||||
<td class="head">
|
||||
<a class="tooltip" title="<?php echo $name;?>"><?php echo $name;?></a>
|
||||
</td>
|
||||
<?php foreach($PositionFinanciere as $element):?>
|
||||
<td class="right"><?php echo $element?></td>
|
||||
<?php endforeach; ?>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php else:?>
|
||||
<div style="padding:0.7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucunes informations sur le capital.
|
||||
</p>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<br />
|
||||
<center>
|
||||
<a name="12"></a>
|
||||
<span class="title">Evolution du capital</span><br /><br />
|
||||
<img src="/file/image/cache/q/<?php echo $this->report->CompanyId.'-'.$this->Type.'-';?>positionFinanciere.png" />
|
||||
</center>
|
||||
<span class="title">Relation banquaires</span><br /><br />
|
||||
<?php if(isset($this->report->Bank)):?>
|
||||
<table style="font-size:13px;margin-left: 19px;" width="97%" class="hoverTr">
|
||||
<tr>
|
||||
<td style="font-size: 14px;padding:5px;"><b>Bank name</b></td>
|
||||
<td style="font-size: 12px;padding:5px;"><b>Code Bak</b></td>
|
||||
<td style="font-size: 12px;padding:5px;"><b>BankAccount</b></td>
|
||||
</tr>
|
||||
<?php foreach($this->report->Bank as $bank):?>
|
||||
<tr>
|
||||
<td style="font-size: 12px;padding:5px;"><?php echo $bank->BankName;?></td>
|
||||
<td style="font-size: 12px;padding:5px;"><?php echo $bank->BankIdentifierCode;?></td>
|
||||
<td style="font-size: 12px;padding:5px;"><?php echo '<i style="font-size:9px;">'.$bank->BankAccount[0]->AccountType.' :</i> '.$bank->BankAccount[0]->AccountNumber;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"><hr style="border:1px dotted silver" /></td>
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
</table>
|
||||
<?php else:?>
|
||||
<div style="padding:0.7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucunes informations banquaire.
|
||||
</p>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<?php else:?>
|
||||
<div style="padding:0.7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucune Position financiére.
|
||||
</p>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
</div>
|
@ -1,106 +0,0 @@
|
||||
<div class="paragraph">
|
||||
<?php if(isset($this->report->Associated)):?>
|
||||
<a name="16"></a>
|
||||
<span class="title">Actionnaires</span><br /><br />
|
||||
<?php if(isset($this->report->Shareholder)):?>
|
||||
<table id="giant_synthese" style="font-size:12px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="right">Identifiant</th>
|
||||
<th align="right">Nom société</th>
|
||||
<th align="right">Pourcentage d'actions</th>
|
||||
<th align="right">IsPrincipalStakeHolder</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php foreach($this->report->Shareholder as $Shareholder):?>
|
||||
<tr>
|
||||
<td style="color:#c12b3c" align="center"><?php echo (($Shareholder->Company->CompanyId > 0)?$Shareholder->Company->CompanyId:'-')?></td>
|
||||
<td class="right"><?php echo $Shareholder->Company->CompanyName[0]->_?></td>
|
||||
<td class="right"><?php echo (!empty($Shareholder->Shares->Percentage))?$Shareholder->Shares->Percentage.'%':'NC'?> </td>
|
||||
<td class="right"><?php echo (($Shareholder>IsPrincipalStakeHolder == 1)?'Oui':'Non');?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php else:?>
|
||||
<div style="padding:0.7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucune information sur les actionnaires.
|
||||
</p>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<br />
|
||||
<a name="17"></a>
|
||||
<span class="title">Participations</span><br /><br />
|
||||
<?php if(isset($this->report->Participation)):?>
|
||||
<table id="giant_synthese" style="font-size:12px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="right">Identifiant</th>
|
||||
<th align="right">Nom société</th>
|
||||
<th align="right">Pourcentage d'actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php foreach($this->report->Participation as $Participation):?>
|
||||
<tr>
|
||||
<td style="color:#c12b3c" align="center"><?php echo (($Participation->Company->CompanyId > 0)?$Participation->Company->CompanyId:'-')?></td>
|
||||
<td class="right"><?php echo $Participation->Company->CompanyName[0]->_?></td>
|
||||
<td class="right"><?php echo (!empty($Participation->Shares->Percentage))?$Participation->Shares->Percentage.'%':'NC'?> </td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php else:?>
|
||||
<div style="padding:0.7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucune information sur les participations.
|
||||
</p>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<br />
|
||||
<a name="18"></a>
|
||||
<span class="title">Etablissements</span><br /><br />
|
||||
<?php if(isset($this->report->Branch)):?>
|
||||
|
||||
|
||||
<table id="giant_synthese" style="font-size:12px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="right">Identifiant</th>
|
||||
<th align="right">Nom société</th>
|
||||
<th align="right">Adresse</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php foreach($this->report->Branch as $Branch):?>
|
||||
<tr>
|
||||
<td style="color:#c12b3c" align="center"><?php echo (($Branch->BranchId > 0)?$Branch->BranchId:'-')?></td>
|
||||
<td class="right"><?php echo ((isset($Branch->BranchName))?$Branch->BranchName->_:'-')?></td>
|
||||
<td class="right"><?php echo ((isset($Branch->BranchId))?$Branch->BranchAddress[0]->HouseNumber.' '.
|
||||
$Branch->BranchAddress[0]->Street.' '.
|
||||
$Branch->BranchAddress[0]->PostCode.' '.
|
||||
$Branch->BranchAddress[0]->City:'-')?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php else:?>
|
||||
<div style="padding:0.7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucune information sur les établissements.
|
||||
</p>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<?php else:?>
|
||||
<div style="padding:0.7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
||||
Aucune information sur la structure.
|
||||
</p>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
</div>
|
@ -1,9 +0,0 @@
|
||||
<table>
|
||||
<?php foreach($this->fiche as $name => $item): ?>
|
||||
<tr id="info">
|
||||
<td width="30px"></td>
|
||||
<td class="StyleInfoLib" width="250px"><?php echo $name; ?></td>
|
||||
<td class="StyleInfoData" width="300px"><?php echo $item; ?> <?php if($name == "Vat"): var_dump($this->fiche['ValideNumber']); endif ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
@ -1,58 +0,0 @@
|
||||
<b>
|
||||
<?$address=$this->resultat->Address->HouseNumber.':'.$this->resultat->Address->Street.':'.$this->resultat->Address->PostCode.':'.$this->resultat->Address->City;
|
||||
$address=str_replace('/', '_', $address);?>
|
||||
<?if (in_array($this->resultat->CompanyId, $this->TestCompanies)):?>
|
||||
<a href="<?php echo $this->url(
|
||||
array('controller' => 'giant', 'action' => 'identite',
|
||||
'raisonSociale' => $this->resultat->RegisteredName,
|
||||
'CompanyId' => $this->resultat->CompanyId,
|
||||
'CompanyRegisterNumber' => $this->resultat->CompanyRegisterNumber,
|
||||
'Pays' => $this->resultat->Address->Country,
|
||||
'telephone' => $this->resultat->TelephoneNumbers->TelephoneNumber[0],
|
||||
'test' => '0',
|
||||
'Adresse' => $address));?>">
|
||||
<?php echo $this->resultat->RegisteredName.' -'; ?>
|
||||
</a>
|
||||
<span class='testSearch'><a href="<?php echo $this->url(
|
||||
array('controller' => 'giant', 'action' => 'identite',
|
||||
'raisonSociale' => $this->resultat->RegisteredName,
|
||||
'CompanyId' => $this->resultat->CompanyId,
|
||||
'CompanyRegisterNumber' => $this->resultat->CompanyRegisterNumber,
|
||||
'Pays' => $this->resultat->Address->Country,
|
||||
'telephone' => $this->resultat->TelephoneNumbers->TelephoneNumber[0],
|
||||
'test' => '1',
|
||||
'Adresse' => $address));?>">
|
||||
<?php echo ' TEST MODE'; ?>
|
||||
</a></span>
|
||||
<?else:?>
|
||||
<a href="<?php echo $this->url(
|
||||
array('controller' => 'giant', 'action' => 'identite',
|
||||
'raisonSociale' => $this->resultat->RegisteredName,
|
||||
'CompanyId' => $this->resultat->CompanyId,
|
||||
'CompanyRegisterNumber' => $this->resultat->CompanyRegisterNumber,
|
||||
'Pays' => $this->resultat->Address->Country,
|
||||
'telephone' => $this->resultat->TelephoneNumbers->TelephoneNumber[0],
|
||||
'test' => '0',
|
||||
'Adresse' => $address));?>">
|
||||
<?php echo $this->resultat->RegisteredName; ?>
|
||||
</a>
|
||||
<?endif?>
|
||||
</b>
|
||||
<br />
|
||||
<?php if(!empty($this->resultat->CompanyId)):?>
|
||||
<b>CompanyId : <?php echo $this->resultat->CompanyId;?></b><br />
|
||||
<?php endif;?>
|
||||
<?php if(!empty($this->resultat->CompanyRegisterNumber)):?>
|
||||
<i>Numéro : <?php echo $this->resultat->CompanyRegisterNumber;?></i><br/>
|
||||
<?php endif;?>
|
||||
<?php if(!empty($this->resultat->VatNumber)):?>
|
||||
<b>TVA Intracommunautaire :</b> <?php echo $this->resultat->VatNumber;?><br />
|
||||
<?php endif;?>
|
||||
<?php if(!empty($this->resultat->Address)):?>
|
||||
<?php echo ((!empty($this->resultat->Address->HouseNumber))?number_format($this->resultat->Address->HouseNumber, 0):null);?>
|
||||
<?php echo ((!empty($this->resultat->Address->Street))?$this->resultat->Address->Street.'<br />':null)?>
|
||||
<b><?php echo ((!empty($this->resultat->Address->PostCode))?$this->resultat->Address->PostCode.' '.$this->resultat->Address->City.'</b><br />':null);?>
|
||||
<?php endif;?>
|
||||
<?php if(!empty($this->resultat->LegalForm)):?>
|
||||
<i>Forme : <?php echo $this->resultat->LegalForm; ?></i><br /><br />
|
||||
<?php endif;?>
|
@ -1,50 +0,0 @@
|
||||
<?php
|
||||
$titres = array('1. Informations d\'entreprise générales' => array(
|
||||
array('Les données officielles' => '1'),
|
||||
array('Les données de contact' =>'2'),
|
||||
array('Activités de la société' => '3'),
|
||||
array('Personnel / Effectifs' => '4'),
|
||||
array('Nom des produits' => '5')),
|
||||
'2. Avis de crédit' => array(
|
||||
array('Evaluation de la société' => '6')),
|
||||
'3. Compte Annuels' => array(
|
||||
array('Les actif' => '7'),
|
||||
array('Les passif' => '8'),
|
||||
array('Le compte de résultats' => '9'),
|
||||
array('Le keyCreditRatios' => '10')),
|
||||
'4. Position financiére' => array(
|
||||
array('Les informations sur le capital' => '11'),
|
||||
array('Les relation banquaires' => '12')),
|
||||
'5. Comportement de paiement' => array(
|
||||
array('La qualification de paiement' => '13'),
|
||||
array('L\'analyse par sommes' => '14'),
|
||||
array('L\'analyse par périodes' => '15')),
|
||||
'6. Structure de l\'entreprise' => array(
|
||||
array('La liste des actionnaires' => '16'),
|
||||
array('La liste des participations' => '17'),
|
||||
array('La liste des etablissements secondaires' => '18')),
|
||||
'7. Dirigeants' => array(
|
||||
array('La liste des dirigeants' => '19')),
|
||||
'8. Comparaison avec valeurs similaires' => array(
|
||||
array('Comparaison des valeurs (ratios)' => '20')),
|
||||
'9. Historiques'=> array(
|
||||
array('La liste des annonces légales' => '21'))
|
||||
);
|
||||
?>
|
||||
<div id="sommaire" class="<?php echo $this->carte;?>">
|
||||
<fieldset>
|
||||
<legend>Scores & Décisions Sommaire</legend>
|
||||
<div id="printSomm">
|
||||
<ul>
|
||||
<?php foreach($titres as $grandTitre => $titre):?>
|
||||
<li><a name=""><?php echo $grandTitre?></a></li>
|
||||
<?php foreach($titre as $title):?>
|
||||
<?php foreach($title as $name => $ancre):?>
|
||||
<span style="margin-left:25px;"> - <a href="#<?php echo $ancre;?>"><?php echo $name;?></a></span><br />
|
||||
<?php endforeach;?>
|
||||
<?php endforeach;?>
|
||||
<?php endforeach;?>
|
||||
</ul>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
@ -1,190 +0,0 @@
|
||||
<?function emp_check($val){echo (empty($val))?'NC':$val;}?>
|
||||
<div id="center">
|
||||
<div class='acord'>
|
||||
|
||||
<div id="accordion">
|
||||
<?foreach ($this->result as $report):?>
|
||||
<?$eventCode = $report->Company->Event[0]->EventCode;?>
|
||||
<h3><?=$report->Company->Event[0]->Date->_?></h3>
|
||||
<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 />
|
||||
<?if($eventCode=='GENERAL.COMPANY_NAME_CHANGE'||$eventCode=='GENERAL.LEGALFORM_CHANGE'||$eventCode=='GENERAL.POSITION_CHANGE'):?>
|
||||
<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>
|
||||
<?endif?>
|
||||
<?if($eventCode=='GENERAL.ADDRESS_CHANGE'):?>
|
||||
<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>
|
||||
|
||||
<?elseif($eventCode=='GENERAL.LEGALFORM_CHANGE'):?>
|
||||
<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>
|
||||
<?elseif($eventCode=='GENERAL.POSITION_CHANGE'):?>
|
||||
<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"><?$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>
|
||||
</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"><?$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>
|
||||
</div><br /><br />
|
||||
<?elseif($eventCode=='GENERAL.MERGER'):?>
|
||||
<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 />
|
||||
<?elseif($eventCode=='GENERAL.SPLIT_UP'):?>
|
||||
<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;?>
|
||||
<?elseif($eventCode=='FINANCIAL.ANNUAL_ACCOUNT_AVAILABLE' || 'FINANCIAL.ANNUAL_ACCOUNT_FILED'):?>
|
||||
<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 />
|
||||
<?elseif($eventCode=='FINANCIAL.CREDIT_RECOMMENDATION_CHANGE'):?>
|
||||
<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 />
|
||||
<?endif?>
|
||||
</div><?endforeach;?>
|
||||
</div>
|
||||
</div>
|
||||
</div><script>$( "#accordion" ).accordion({heightStyle: "content", collapsible: true,active: false });</script>
|
@ -1,144 +0,0 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">Surveillances</h1>
|
||||
<div class="paragraph">
|
||||
<?php
|
||||
if ( empty($this->source) ){
|
||||
?>
|
||||
<table id="info">
|
||||
<tr>
|
||||
<td width="200" class="StyleInfoLib">Nombre d'entités affichées</td>
|
||||
<td><?=count($this->result->MonitoringEvents->MonitoringEvent)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="200" class="StyleInfoLib">Nombre de surveillances</td>
|
||||
<td><?=count($this->val)?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<table id="info">
|
||||
<tr>
|
||||
<td width="200" class="StyleInfoLib">Nombre de surveillances <?=$this->source?></td>
|
||||
<td><?=$this->nbSurveillances?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>Liste des surveillances</h2>
|
||||
<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 New Monitoring</a>
|
||||
</div>
|
||||
|
||||
<div class="paragraph">
|
||||
<table class="tablesorter" id="surveillance" width="570">
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
<th width="75">Count</th>
|
||||
<th width="150">Event Type</th>
|
||||
<th width="110">Last Change</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><pre><? //print_r($this->val_siren);?></pre>
|
||||
<?php foreach ($this->val_siren as $monitor) {?>
|
||||
<pre><? //print_r($monitor);?></pre>
|
||||
<?
|
||||
//STORE BY ProviderOrderId
|
||||
$merged = Array();
|
||||
foreach ($monitor as $MonitoringEvent):
|
||||
if ($merged[$MonitoringEvent->ProviderOrderId]){
|
||||
array_push($merged[$MonitoringEvent->ProviderOrderId],$MonitoringEvent) ;
|
||||
} else {
|
||||
$merged[$MonitoringEvent->ProviderOrderId][]=$MonitoringEvent;
|
||||
}
|
||||
endforeach;
|
||||
?>
|
||||
|
||||
<? foreach ($merged as $MonitoringEv):
|
||||
//STORE BY type
|
||||
$merged_type = Array();
|
||||
foreach ($MonitoringEv as $MonitoringType):
|
||||
if ($merged_type[$MonitoringType->Company->Event[0]->EventCode]){
|
||||
array_push($merged_type[$MonitoringType->Company->Event[0]->EventCode],$MonitoringType) ;
|
||||
} else {
|
||||
$merged_type[$MonitoringType->Company->Event[0]->EventCode][]=$MonitoringType;
|
||||
}
|
||||
endforeach;
|
||||
?>
|
||||
<?$resultDB=unserialize($this->action('ret', 'giant',null,array('date_st'=>current($merged_type)[0]->ProviderOrderId)));?>
|
||||
<? $frontendOptions = array('lifetime' => $this->configVal->cache->lifetime,'automatic_serialization' => true);
|
||||
$backendOptions = array('cache_dir' => $c->profil->path->shared . '/giant/');
|
||||
$cache = Zend_Cache::factory('Output','File',$frontendOptions,$backendOptions);
|
||||
if(($lang = $cache->load('Pays_'.$resultDB['Pays'])) === false) {
|
||||
$lang = 'en';
|
||||
}
|
||||
$language =$lang->MonitoringOptions->MonitoringOption[0]->LanguageCodes->LanguageCode;
|
||||
?>
|
||||
<pre><?//var_dump($resultDB);?></pre>
|
||||
<tr>
|
||||
<td>
|
||||
<p><?=$MonitoringEv[0]->Company->CompanyName['0']->_ ?> (<?=$MonitoringEv[0]->Company->CompanyId ?>)</p>
|
||||
<a class="dialogsurv dial" title="Start Monitoring" href='/giant/startmonitoring/CompanyId/<?=$MonitoringEv[0]->Company->CompanyId?>/Pays/<?=$resultDB['Pays']?>/lang/<?=serialize($language)?>/CompanyName/<?=str_replace(' ', '+',$MonitoringEv[0]->Company->CompanyName['0']->_)?>'><img src="/themes/default/images/interfaces/ajouter.png"/></a>
|
||||
<a class="dialogsurv dial" title="Stop Monitoring" href='/giant/stopmonitoring/CompanyId/<?=$MonitoringEv[0]->Company->CompanyId?>/Pays/<?=$resultDB['Pays']?>/InternalOrderId/<?=$resultDB['InternalOrderId']?>/CompanyName/<?=str_replace(' ', '+', $MonitoringEv[0]->Company->CompanyName['0']->_)?>'><img src="/themes/default/images/interfaces/supprimer.png"/></a>
|
||||
<a class="dialogsurv dial" title="Update Monitoring" href='/giant/updatemonitoring/CompanyId/<?=$MonitoringEv[0]->Company->CompanyId?>/Pays/<?=$resultDB['Pays']?>/lang/<?=serialize($language)?>/InternalOrderId/<?=$resultDB['InternalOrderId']?>/CompanyName/<?=str_replace(' ', '+', $MonitoringEv[0]->Company->CompanyName['0']->_)?>'><img src="/themes/default/images/interfaces/editer.png"/></a>
|
||||
</td>
|
||||
<td>
|
||||
<?php
|
||||
echo "<p>".$resultDB['ActualStartDate'].'</p>';
|
||||
?>
|
||||
</td>
|
||||
<td>
|
||||
<?php
|
||||
echo "<p>".$resultDB['ActualEndDate'].'</p>';
|
||||
?>
|
||||
</td>
|
||||
<td>
|
||||
<?php
|
||||
echo "<p>".$resultDB['Language'].'</p>';
|
||||
?>
|
||||
</td>
|
||||
<td>
|
||||
<?php
|
||||
|
||||
foreach ($merged_type as $monitor_type) {
|
||||
echo "<p>".count($monitor_type).'</p>';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td style='text-align: left'>
|
||||
<?php
|
||||
foreach ($merged_type as $monitor_type) {
|
||||
$name = explode('.', $monitor_type[0]->Company->Event[0]->EventCode);
|
||||
echo "<a class='ev_code' title='".$monitor_type[0]->Company->Event[0]->EventCode."' href='/giant/retevents/Type/".$monitor_type[0]->Company->Event[0]->EventCode."/Id/".$monitor_type[0]->ProviderOrderId."'><p>".$name[1]."</p></a>";
|
||||
} //Fin foreach?>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<?php
|
||||
foreach ($merged_type as $monitor_type) {
|
||||
$dateEv= Array();
|
||||
foreach ($monitor_type as $last_date) {
|
||||
$dateEv[]=$last_date->Company->Event[0]->Date->_;
|
||||
}
|
||||
echo "<p style='width: 70px;'>".max($dateEv)."</p>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<?php endforeach; } ?>
|
||||
</tbody>
|
||||
</table><br>
|
||||
</div>
|
||||
</div>
|
@ -1,52 +0,0 @@
|
||||
<div id="center">
|
||||
<?php if ($this->resultats->NumberOfHits == 0): ?>
|
||||
<p>Aucun résultats</p>
|
||||
<?php else: ?>
|
||||
<div class="giant-search">
|
||||
<p align="center"><b>
|
||||
<?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 .'/'.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) :?>
|
||||
<?php if($this->debug):?>
|
||||
<?php echo $this->action('identite', 'debug', null, array('resultat' => $resultat, 'soap' => $this->soap));?>
|
||||
<?php endif;?>
|
||||
<li>
|
||||
<?php echo $this->partial('giant/partials/rowSearch.phtml', array('resultat' => $resultat, 'TestCompanies' => $this->TestCompanies, 'pays', $this->pays));?>
|
||||
</li>
|
||||
<?php endforeach;?>
|
||||
</ol>
|
||||
<div id="Paginator">
|
||||
<center>
|
||||
<table>
|
||||
<tr>
|
||||
<?php if ($this->page > 0):?>
|
||||
<td>
|
||||
<a href="<?php echo $this->url(array('controller' => 'giant', 'action' => 'search', 'page' => $this->page - 1, 'pays' => $this->pays)) ?>">
|
||||
<img src="/themes/default/images/boutton_precedent_off.gif" onmouseover="this.src='/themes/default/images/boutton_precedent_on.gif'" onmouseout="this.src='/themes/default/images/boutton_precedent_off.gif'" />
|
||||
</a>
|
||||
</td>
|
||||
<?php endif;?>
|
||||
<td valign="middle"> Page <?php echo $this->page + 1 .'/'. round(($this->resultats->NumberOfHits > $this->userMaxResult)?$this->resultats->NumberOfHits/$this->userMaxResult:1);?> </td>
|
||||
<?php if ($this->userMaxResult < $this->resultats->NumberOfHits):?>
|
||||
<td>
|
||||
<a href="<?php echo $this->url(array('controller' => 'giant', 'action' => 'search', 'page' => $this->page + 1, 'pays' => $this->pays)) ?>">
|
||||
<img src="/themes/default/images/boutton_suivant_off.gif" onmouseover="this.src='/themes/default/images/boutton_suivant_on.gif'" onmouseout="this.src='/themes/default/images/boutton_suivant_off.gif'" />
|
||||
</a>
|
||||
</td>
|
||||
<?php endif;?>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
<br />
|
||||
<p id="contact">
|
||||
<b>Si aucun résultat ne correspond à votre recherche.
|
||||
<a href="<?php echo $this->url(array('controller' => 'giant', 'action' => 'contact'))?>">Cliquez-ici.</a></b>
|
||||
</p>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
</div>
|
@ -1,79 +0,0 @@
|
||||
<div id="center">
|
||||
<form>
|
||||
<input type="hidden" name="Pays" value="<?=$this->Pays?>" />
|
||||
<input type="hidden" name="action" value="<?=$this->action?>" />
|
||||
<input type="hidden" name="CompanyName" value="<?=$this->CompanyName?>" />
|
||||
<p>
|
||||
|
||||
|
||||
<div style='width: 250px; float: left;'>
|
||||
<strong>CompanyId: </strong><br />
|
||||
<input type="text" name="CompanyId" value="<?=$this->CompanyId?>" <?if (!empty($this->CompanyId)):?>disabled="disabled"<?endif?> required /><br /><br />
|
||||
<strong>Category Name: </strong><br />
|
||||
<select name="CategoryName" class="all_select">
|
||||
<option value='All'>All</option>
|
||||
<option value='CreditRecommendation'>CreditRecommendation</option>
|
||||
</select><br /><br />
|
||||
<strong>Event Type: </strong><br />
|
||||
<select name="EventType" class="all_select">
|
||||
<option value='EventOnly'>EventOnly</option>
|
||||
<option value='EventWithData'>EventWithData</option>
|
||||
</select><br /><br />
|
||||
<strong>Language Code: </strong><br />
|
||||
<select name="LanguageCode" class="all_select">
|
||||
<?php foreach (unserialize($this->lang) as $key=>$language):?>
|
||||
<option class="lang<?=$key;?>" value=<?=$language;?>><?=$language;?></option>
|
||||
<?php endforeach;?>
|
||||
</select><br /><br />
|
||||
</div>
|
||||
<div>
|
||||
<strong>Country: </strong><br />
|
||||
<?if (!empty($this->CompanyId)):?>
|
||||
<?php $country = array ('FR'=>'France','BE'=>'Belgium','ES'=>'Spain','GB'=>'United Kingdom','NL'=>'The Netherlands',)?>
|
||||
<select name="Pays" class="all_select" required>
|
||||
<option value="FR"><?= $country[$this->Pays] ?></option>
|
||||
</select><br /><br />
|
||||
<?else:?>
|
||||
<select name="Pays" class="all_select" required>
|
||||
<?foreach($this->countries as $key=>$pays):?>
|
||||
<option value="<?=$key?>"><?=$pays?></option>
|
||||
<?endforeach?>
|
||||
</select><br /><br />
|
||||
<?endif?>
|
||||
<strong>Preferred Start Date: </strong><br />
|
||||
<input type="text" class='datepicker' name="StartDate" value=""/> optional<br /><br />
|
||||
<strong>Preferred End Date: </strong><br />
|
||||
<input type="text" class='datepicker' name="EndDate" value="" /> optional<br /><br />
|
||||
<strong>Monitoring Version: </strong><br />
|
||||
<input type="text" name="Version" value="1.0" required /><br /><br />
|
||||
</div>
|
||||
</p>
|
||||
</form>
|
||||
<div id="loading" class="hide_monitor" style="display:none;z-index: 1;">
|
||||
<center><img style="padding-top:30%" src="/themes/default/images/giant/19-1.gif" /></center>
|
||||
</div>
|
||||
<?if ($this->result) :?>
|
||||
<div class="gen_div">
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>InternalOrderId</b></div> <div class="right_div"><?=$this->result->Order->InternalOrderId?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>ConsumerId</b></div> <div class="right_div"><?=$this->result->Order->ConsumerId?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>CustomerId</b></div> <div class="right_div"><?=$this->result->Order->CustomerId?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>ProviderId</b></div> <div class="right_div"><?=$this->result->Order->ProviderId?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>CountryCode</b></div> <div class="right_div"><?=$this->result->Order->CountryCode?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>CompanyId</b></div> <div class="right_div"><?=$this->result->Order->CompanyId?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>OrderType</b></div> <div class="right_div"><?=$this->result->Order->OrderType?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>EventType</b></div> <div class="right_div"><?=$this->result->Order->EventType?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>CategoryName</b></div> <div class="right_div"><?=$this->result->Order->CategoryName?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>Version</b></div> <div class="right_div"><?=$this->result->Order->Version?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>LanguageCode</b></div> <div class="right_div"><?=$this->result->Order->LanguageCode?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>OrderStatus</b></div> <div class="right_div"><?=$this->result->Order->OrderStatus?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>OrderDateTime</b></div> <div class="right_div"><?=$this->result->Order->OrderDateTime?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>DateTimeCompleted</b></div> <div class="right_div"><?=$this->result->Order->DateTimeCompleted?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>PreferredStartDate</b></div> <div class="right_div"><?=$this->result->Order->PreferredStartDate?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>ActualStartDate</b></div> <div class="right_div"><?=$this->result->Order->ActualStartDate?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>PreferredEndDate</b></div> <div class="right_div"><?=$this->result->Order->PreferredEndDate?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>ActualEndDate</b></div> <div class="right_div"><?=$this->result->Order->ActualEndDate?></div></div>
|
||||
</div>
|
||||
<?endif?>
|
||||
</div>
|
||||
<script type="text/javascript" src="/themes/default/scripts/giant_monitoring.js" />
|
||||
<script type="text/javascript" src="/themes/default/scripts/giant.js" />
|
@ -1,45 +0,0 @@
|
||||
<div id="center">
|
||||
<form>
|
||||
<input type="hidden" name="CompanyId" value="<?=$this->CompanyId?>" />
|
||||
<input type="hidden" name="Pays" value="<?=$this->Pays?>" />
|
||||
<input type="hidden" name="action" value="<?=$this->action?>" />
|
||||
<p>
|
||||
<strong>CompanyId: </strong><?=$this->CompanyId?><br /><br />
|
||||
<strong>Company Name: </strong><?=$this->CompanyName?><br /><br />
|
||||
|
||||
<div style='width: 250px; float: left;'>
|
||||
<strong>Internal Order Id: </strong><br />
|
||||
<input type="text" name="InternalOrderId" value="<?=$this->InternalOrderId?>" required /><br /><br />
|
||||
</div>
|
||||
<div>
|
||||
<strong>Preferred End Date: </strong><br />
|
||||
<input type="text" class='datepicker' name="EndDate" value="" required /> optional<br /><br />
|
||||
</div>
|
||||
</p>
|
||||
</form>
|
||||
<div id="loading" class="hide_monitor" style="display:none;z-index: 1;">
|
||||
<center><img style="padding-top:30%" src="/themes/default/images/giant/19-1.gif" /></center>
|
||||
</div>
|
||||
<?if ($this->result) :?>
|
||||
<div class="gen_div">
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>InternalOrderId</b></div> <div class="right_div"><?=$this->result->Order->InternalOrderId?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>ConsumerId</b></div> <div class="right_div"><?=$this->result->Order->ConsumerId?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>CustomerId</b></div> <div class="right_div"><?=$this->result->Order->CustomerId?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>ProviderId</b></div> <div class="right_div"><?=$this->result->Order->ProviderId?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>CountryCode</b></div> <div class="right_div"><?=$this->result->Order->CountryCode?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>CompanyId</b></div> <div class="right_div"><?=$this->result->Order->CompanyId?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>OrderType</b></div> <div class="right_div"><?=$this->result->Order->OrderType?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>EventType</b></div> <div class="right_div"><?=$this->result->Order->EventType?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>CategoryName</b></div> <div class="right_div"><?=$this->result->Order->CategoryName?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>Version</b></div> <div class="right_div"><?=$this->result->Order->Version?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>LanguageCode</b></div> <div class="right_div"><?=$this->result->Order->LanguageCode?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>OrderStatus</b></div> <div class="right_div"><?=$this->result->Order->OrderStatus?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>OrderDateTime</b></div> <div class="right_div"><?=$this->result->Order->OrderDateTime?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>DateTimeCompleted</b></div> <div class="right_div"><?=$this->result->Order->DateTimeCompleted?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>ActualStartDate</b></div> <div class="right_div"><?=$this->result->Order->ActualStartDate?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>PreferredEndDate</b></div> <div class="right_div"><?=$this->result->Order->PreferredEndDate?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>ActualEndDate</b></div> <div class="right_div"><?=$this->result->Order->ActualEndDate?></div></div>
|
||||
</div>
|
||||
<?endif?>
|
||||
</div>
|
||||
<script type="text/javascript" src="/themes/default/scripts/giant_monitoring.js" />
|
@ -1,66 +0,0 @@
|
||||
<div id="center">
|
||||
<form>
|
||||
<input type="hidden" name="CompanyId" value="<?=$this->CompanyId?>" />
|
||||
<input type="hidden" name="Pays" value="<?=$this->Pays?>" />
|
||||
<input type="hidden" name="action" value="<?=$this->action?>" />
|
||||
<p>
|
||||
<strong>CompanyId: </strong><?=$this->CompanyId?><br /><br />
|
||||
<strong>Company Name: </strong><?=$this->CompanyName?><br /><br />
|
||||
|
||||
<div style='width: 250px; float: left;'>
|
||||
<strong>Internal Order Id: </strong><br />
|
||||
<input type="text" name="InternalOrderId" value="<?=$this->InternalOrderId?>" required /><br /><br />
|
||||
<strong>New Category Name: </strong><br />
|
||||
<select name="CategoryName" class="all_select">
|
||||
<option value=''></option>
|
||||
<option value='All'>All</option>
|
||||
<option value='CreditRecommendation'>CreditRecommendation</option>
|
||||
</select> optional<br /><br />
|
||||
<strong>New Event Type: </strong><br />
|
||||
<select name="EventType" class="all_select">
|
||||
<option value=''></option>
|
||||
<option value='EventOnly'>EventOnly</option>
|
||||
<option value='EventWithData'>EventWithData</option>
|
||||
</select> optional<br /><br />
|
||||
</div>
|
||||
<div>
|
||||
<strong>Preferred Start Date: </strong><br />
|
||||
<input type="text" class='datepicker' name="StartDate" value=""/> optional<br /><br />
|
||||
<strong>New Monitoring Version: </strong><br />
|
||||
<input type="text" name="Version" value="" /> optional<br /><br />
|
||||
<strong>New Language Code: </strong><br />
|
||||
<select name="LanguageCode" class="all_select">
|
||||
<option value=''></option>
|
||||
<?php foreach (unserialize($this->lang) as $key=>$language):?>
|
||||
<option class="lang<?=$key;?>" value=<?=$language;?>><?=$language;?></option>
|
||||
<?php endforeach;?>
|
||||
</select> optional<br /><br />
|
||||
</div>
|
||||
</p>
|
||||
</form>
|
||||
<div id="loading" class="hide_monitor" style="display:none;z-index: 1;">
|
||||
<center><img style="padding-top:30%" src="/themes/default/images/giant/19-1.gif" /></center>
|
||||
</div>
|
||||
<?if ($this->result) :?>
|
||||
<div class="gen_div">
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>InternalOrderId</b></div> <div class="right_div"><?=$this->result->Order->InternalOrderId?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>ConsumerId</b></div> <div class="right_div"><?=$this->result->Order->ConsumerId?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>CustomerId</b></div> <div class="right_div"><?=$this->result->Order->CustomerId?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>ProviderId</b></div> <div class="right_div"><?=$this->result->Order->ProviderId?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>CountryCode</b></div> <div class="right_div"><?=$this->result->Order->CountryCode?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>CompanyId</b></div> <div class="right_div"><?=$this->result->Order->CompanyId?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>OrderType</b></div> <div class="right_div"><?=$this->result->Order->OrderType?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>EventType</b></div> <div class="right_div"><?=$this->result->Order->EventType?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>CategoryName</b></div> <div class="right_div"><?=$this->result->Order->CategoryName?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>Version</b></div> <div class="right_div"><?=$this->result->Order->Version?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>LanguageCode</b></div> <div class="right_div"><?=$this->result->Order->LanguageCode?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>OrderStatus</b></div> <div class="right_div"><?=$this->result->Order->OrderStatus?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>OrderDateTime</b></div> <div class="right_div"><?=$this->result->Order->OrderDateTime?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>DateTimeCompleted</b></div> <div class="right_div"><?=$this->result->Order->DateTimeCompleted?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>PreferredStartDate</b></div> <div class="right_div"><?=$this->result->Order->PreferredStartDate?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>ActualStartDate</b></div> <div class="right_div"><?=$this->result->Order->ActualStartDate?></div></div>
|
||||
<div class='monitor_resp radius'><div class="left_div"><b>ActualEndDate</b></div> <div class="right_div"><?=$this->result->Order->ActualEndDate?></div></div>
|
||||
</div>
|
||||
<?endif?>
|
||||
</div>
|
||||
<script type="text/javascript" src="/themes/default/scripts/giant_monitoring.js" />
|
Loading…
Reference in New Issue
Block a user