Legal - Identite Controller
This commit is contained in:
parent
e86916e5e2
commit
4ed8584867
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,155 @@
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<div id="center">
|
||||
<?php }?>
|
||||
|
||||
<?php if ( $this->error ) {?>
|
||||
|
||||
<div class="paragraph">
|
||||
Erreur
|
||||
</div>
|
||||
|
||||
<?php } elseif ( $this->message ) {?>
|
||||
|
||||
<?=$this->message?>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<style>
|
||||
div.avisrncs-title { text-align:center; }
|
||||
div.avisrncs-title h1 { background:none !important; color:#000000 !important; }
|
||||
div.avisrncs-content h3 { border-bottom:1px solid; }
|
||||
div.avisrncs-header p { margin:0; padding:0; }
|
||||
div.avisrncs-footer p { margin:0; padding:0; }
|
||||
</style>
|
||||
|
||||
<div class="paragraph">
|
||||
<div class="avisrncs-header">
|
||||
<p>Avis de situtation RNCS édité le <?=$this->AvisDateTxt?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="avisrncs-title">
|
||||
<h2><?=$this->translate("AVIS DE SITUATION RNCS")?></h2>
|
||||
<p><?=$this->translate("REGISTRE NATIONAL DU COMMERCES ET DES SOCIETES")?></p>
|
||||
<p><?=$this->translate("Avis en date du ")?><?=$this->AvisDateTxt?></p>
|
||||
</div>
|
||||
|
||||
<div class="paragraph">
|
||||
<div class="avisrncs-content">
|
||||
<h3><?=$this->translate("IDENTIFICATION")?></h3>
|
||||
|
||||
<?php if ($this->RadiationDate) {?>
|
||||
<p style="font:weight;">Cette entreprise est radiée au RNCS.</p>
|
||||
<?php }?>
|
||||
|
||||
<p>Dénomination sociale : <?=$this->Nom?></p>
|
||||
<p>Sigle : <?=$this->Sigle?></p>
|
||||
<p>Enseigne : <?=$this->Enseigne?></p>
|
||||
<p>Nom Commercial : <?=$this->NomComercial?></p>
|
||||
<p>Numéro d'identification : <?=$this->SirenTexte($this->Siren)?> RCS <?=$this->Tribunal?></p>
|
||||
<p>Numéro de gestion : <?=$this->NumGest?></p>
|
||||
<p>Date d'immatriculation : <?=$this->ImmatDate?></p>
|
||||
|
||||
<?php if ($this->RadiationDate) {?>
|
||||
<p>Date de radiation : <?=$this->RadiationDate?></p>
|
||||
<?php } else {?>
|
||||
|
||||
<h3><?=$this->translate("RENSEIGNEMENT RELATIF A L'IDENTITE")?></h3>
|
||||
|
||||
<p>Forme Juridique : <?=$this->FormeJuridique?></p>
|
||||
<p>Au capital de : <?=$this->Capital?></p>
|
||||
<p>Adresse du siège : <?=$this->SiegeAdresse?></p>
|
||||
<p>Date d’arrêté des comptes : <?=$this->CompteArretDate?> </p>
|
||||
<p>Constitution : <?=$this->ConstitutionActeDate?></p>
|
||||
<p>Dépôt de l'acte constitutif: <?=$this->ConstitutionDepotDate?></p>
|
||||
|
||||
<h3><?=$this->translate("ADMINISTRATION")?></h3>
|
||||
|
||||
<?php foreach ( $this->Administration as $item ) {?>
|
||||
<p><?=$item['Fct']?> : <?=$item['Txt']?></p>
|
||||
<?php }?>
|
||||
|
||||
<h3><?=$this->translate("RENSEIGNEMENT RELATIF A L'ACTIVITE")?></h3>
|
||||
|
||||
<p>Origine de la société : <?=$this->Origine?></p>
|
||||
<p>Activité : <?=$this->Activite?></p>
|
||||
<p>Activité déclarée au BODACC : <?=$this->BodaccActivite?></p>
|
||||
<p>Commencement de l'activité : <?=$this->ActiviteDate?></p>
|
||||
<p>Mode d'exploitation : <?=$this->Exploitation?></p>
|
||||
|
||||
<h3><?=$this->translate("JUGEMENTS RNCS")?></h3>
|
||||
|
||||
<p>Événements : </p>
|
||||
<div style="margin-left:100px;">
|
||||
<?php if (count($this->Evenements)>0) {?>
|
||||
<table>
|
||||
<?php foreach ( $this->Evenements as $item ) {?>
|
||||
<tr><td><?=$item?></td></tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
<?php } else {?>
|
||||
NÉANT.
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<h3><?=$this->translate("DEPOT LEGAL")?></h3>
|
||||
<p>Décisions :</p>
|
||||
<div style="margin-left:100px;">
|
||||
<?php if ( count($this->Depots)>0 ) {?>
|
||||
<?php foreach ( $this->Depots as $item ) {?>
|
||||
<table style="margin:10px 0;">
|
||||
<tr>
|
||||
<td>Acte n°<?=$item->ActeNum?> <?php if($item->ActeDate!='0000-00-00') {?>du <?=substr($item->ActeDate,8,2).'/'.substr($item->ActeDate,5,2).'/'.substr($item->ActeDate,0,4)?> <?php }?>
|
||||
- Depot n°<?=$item->DepotNum?> du <?=substr($item->DepotDate,8,2).'/'.substr($item->DepotDate,5,2).'/'.substr($item->DepotDate,0,4)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?=$item->ActeTypeLabel?></td>
|
||||
</tr>
|
||||
<?php foreach ($item->infos->item as $detail) {?>
|
||||
<tr>
|
||||
<td><?=$detail?></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
|
||||
<p>Liste non exhaustive.</p>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php } else {?>
|
||||
NÉANT.
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<h3><?=$this->translate("AUTRES ETABLISSEMENTS")?></h3>
|
||||
|
||||
<p>Liste des établissements actifs :</p>
|
||||
<div style="margin-left:100px;">
|
||||
<table>
|
||||
<?php foreach ( $this->Etablissements as $etab ) {?>
|
||||
<tr><td><?=$etab?></td></tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="paragraph">
|
||||
<div class="avisrncs-footer">
|
||||
<p>Fin de l'avis de situation</p>
|
||||
<p>Avis de situation RNCS édité le <?=$this->AvisDateTxt?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
</div>
|
||||
<?php }?>
|
@ -0,0 +1,23 @@
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<div id="center">
|
||||
<?php }?>
|
||||
|
||||
<?php if ( $this->error ) {?>
|
||||
|
||||
<div class="paragraph">
|
||||
Erreur
|
||||
</div>
|
||||
|
||||
<?php } elseif ( $this->message ) {?>
|
||||
|
||||
<?=$this->message?>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
Erreur inconnu.
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
</div>
|
||||
<?php }?>
|
@ -0,0 +1,231 @@
|
||||
<div id="map" class="map"><div id="popup"></div></div>
|
||||
|
||||
<?php if ($this->source == 'google') {?>
|
||||
<script type="text/javascript">
|
||||
<?php echo 'var marks = '.$this->marks.';'?>
|
||||
var timer;
|
||||
var timerSecondInterval = 5;
|
||||
var timerSecondMax = 300;
|
||||
var timeCount = 0;
|
||||
var marksNb = marks.length;
|
||||
var markDone = 1;
|
||||
var map;
|
||||
var zoneMarker;
|
||||
var geocoder = new google.maps.Geocoder();
|
||||
|
||||
// --- Wait GeoCoding to launch Google Map
|
||||
function waitGeoCode() {
|
||||
timeCount = timeCount + timerSecondInterval;
|
||||
if (timeCount >= timerSecondMax || markDone == marksNb) {
|
||||
clearInterval(timer);
|
||||
loadGoogleMap();
|
||||
}
|
||||
}
|
||||
|
||||
//--- Create Marker
|
||||
function createMarker(m) {
|
||||
// --- Marker options
|
||||
var marker = new google.maps.Marker({
|
||||
map: map,
|
||||
position: m.location,
|
||||
title: m.title,
|
||||
icon: '/themes/default/images/maps/' + m.icon,
|
||||
});
|
||||
// --- Info Window
|
||||
var infowindow = new google.maps.InfoWindow({
|
||||
content: m.text
|
||||
});
|
||||
// --- Create event marker
|
||||
google.maps.event.addListener(marker, 'click', function() {
|
||||
infowindow.open(map, marker);
|
||||
});
|
||||
// --- Extend map by adding marker
|
||||
zoneMarker.extend(marker.getPosition());
|
||||
}
|
||||
|
||||
// --- Load Google Map
|
||||
function loadGoogleMap() {
|
||||
var mapOptions = {
|
||||
zoom: 8,
|
||||
mapTypeId: google.maps.MapTypeId.ROADMAP
|
||||
};
|
||||
map = new google.maps.Map(document.getElementById('map'), mapOptions);
|
||||
zoneMarker = new google.maps.LatLngBounds();
|
||||
$.each(marks, function (i, item){
|
||||
if (item.location) {
|
||||
createMarker(item);
|
||||
}
|
||||
});
|
||||
if (zoneMarker.isEmpty()) {
|
||||
//console.log('ZoneMarker is empty');
|
||||
} else {
|
||||
map.fitBounds(zoneMarker);
|
||||
}
|
||||
}
|
||||
|
||||
// --- Wait the document is ready
|
||||
$(document).ready(function(){
|
||||
// --- Start timer
|
||||
timer = setInterval(waitGeoCode, timerSecondInterval);
|
||||
// --- Get location and geocode address if needed
|
||||
$.each(marks, function (i, item){
|
||||
if (item.gps.lat && item.gps.lon) {
|
||||
marks[i].location = new google.maps.LatLng(item.gps.lat, item.gps.lon);
|
||||
markDone++;
|
||||
} else {
|
||||
<?php if ($this->AuthorizeGeocode) {?>
|
||||
geocoder.geocode({ address:item.address, region:'FR' }, function(results, status) {
|
||||
if (status == google.maps.GeocoderStatus.OK) {
|
||||
if (results[0]) {
|
||||
// --- Set location to the marker
|
||||
marks[i].location = results[0].geometry.location;
|
||||
marks[i].locationLat = results[0].geometry.location.lat();
|
||||
marks[i].locationLng = results[0].geometry.location.lng();
|
||||
marks[i].locationType = results[0].geometry.location_type;
|
||||
marks[i].locationAddress = results[0].formatted_address
|
||||
|
||||
// --- Altitude
|
||||
var alt = 0;
|
||||
var locations = [];
|
||||
locations.push(marks[i].location);
|
||||
// --- Create an ElevationService
|
||||
var elevator = new google.maps.ElevationService();
|
||||
// Create a LocationElevationRequest object using the array's one value
|
||||
var positionalRequest = {
|
||||
'locations': locations
|
||||
}
|
||||
// Initiate the location request
|
||||
elevator.getElevationForLocations(positionalRequest, function(results, status) {
|
||||
if (status == google.maps.ElevationStatus.OK) {
|
||||
if (results[0]) {
|
||||
var alt = results[0].elevation;
|
||||
if (results[0].elevation<-500) {
|
||||
alt = 0;
|
||||
}
|
||||
if (results[0].resolution>500) {
|
||||
alt = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// --- Send to webservice
|
||||
$.post('/saisie/geocode', {
|
||||
siret: marks[i].siret,
|
||||
lat: marks[i].locationLat,
|
||||
lng: marks[i].locationLng,
|
||||
alt: alt,
|
||||
address: marks[i].locationAddress,
|
||||
precis: marks[i].locationType
|
||||
});
|
||||
}
|
||||
}
|
||||
markDone++;
|
||||
//console.log("GeoCode: " + status + ' - index: ' + i);
|
||||
});
|
||||
<?php }?>
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($this->source == 'openstreetmap') {?>
|
||||
<script type="text/javascript">
|
||||
<?php echo 'var marks = '.$this->marks.';'?>
|
||||
var zoom = 6;
|
||||
var FCenterLng = 1.87528;
|
||||
var FCenterLat = 46.60611;
|
||||
|
||||
//--- Wait the document is ready
|
||||
$(document).ready(function(){
|
||||
// --- Create Markers
|
||||
var listSource = {};
|
||||
$.each(marks, function (i, item) {
|
||||
if (item.gps.lat && item.gps.lon) {
|
||||
var iconFeature = new ol.Feature({
|
||||
geometry: new ol.geom.Point(ol.proj.transform([item.gps.lon, item.gps.lat], 'EPSG:4326', 'EPSG:3857')),
|
||||
name: item.siret,
|
||||
text: item.text,
|
||||
});
|
||||
console.log(item.icon);
|
||||
if (typeof listSource[item.icon] === 'undefined') {
|
||||
listSource[item.icon] = new ol.source.Vector({});
|
||||
}
|
||||
var vectorSource = listSource[item.icon];
|
||||
vectorSource.addFeature(iconFeature);
|
||||
listSource[item.icon] = vectorSource;
|
||||
}
|
||||
});
|
||||
|
||||
// --- Create Layers
|
||||
var rasterLayer = new ol.layer.Tile({ source: new ol.source.OSM() });
|
||||
var listLayers = [rasterLayer];
|
||||
console.log(listSource);
|
||||
$.each(listSource, function (type, item) {
|
||||
// --- Create Style
|
||||
var iconStyle = new ol.style.Style({
|
||||
image: new ol.style.Icon(/** @type {olx.style.IconOptions} */ ({
|
||||
anchor: [0.5, 46],
|
||||
anchorXUnits: 'fraction',
|
||||
anchorYUnits: 'pixels',
|
||||
opacity: 0.75,
|
||||
src: '/themes/default/images/maps/' + type
|
||||
}))
|
||||
});
|
||||
var vectorLayer = new ol.layer.Vector({ source: item, style: iconStyle });
|
||||
listLayers.push(vectorLayer);
|
||||
});
|
||||
|
||||
// --- Load Map
|
||||
var map = new ol.Map({
|
||||
target: 'map',
|
||||
layers: listLayers,
|
||||
view: new ol.View({
|
||||
center: ol.proj.transform([FCenterLng, FCenterLat], 'EPSG:4326', 'EPSG:3857'),
|
||||
zoom: zoom
|
||||
})
|
||||
});
|
||||
|
||||
// Popup
|
||||
var element = document.getElementById('popup');
|
||||
var popup = new ol.Overlay({
|
||||
element: element,
|
||||
positioning: 'bottom-center',
|
||||
stopEvent: false
|
||||
});
|
||||
map.addOverlay(popup);
|
||||
|
||||
// display popup on click
|
||||
map.on('click', function(evt) {
|
||||
var feature = map.forEachFeatureAtPixel(evt.pixel,
|
||||
function(feature, layer) {
|
||||
return feature;
|
||||
});
|
||||
if (feature) {
|
||||
var geometry = feature.getGeometry();
|
||||
var coord = geometry.getCoordinates();
|
||||
popup.setPosition(coord);
|
||||
$(element).qtip({
|
||||
content: {
|
||||
title: feature.get('name'),
|
||||
text: feature.get('text'),
|
||||
},
|
||||
position: { my: 'bottom center', at: 'top center', adjust: { y: -40 } },
|
||||
style: { classes: 'qtip-light' }
|
||||
})
|
||||
$(element).qtip('api').show();
|
||||
/*$(element).popover({
|
||||
'placement': 'top',
|
||||
'html': true,
|
||||
'content': feature.get('name')
|
||||
});
|
||||
$(element).popover('show');*/
|
||||
} else {
|
||||
$(element).qtip('api').destroy();
|
||||
/*$(element).popover('destroy');*/
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php }?>
|
@ -0,0 +1,164 @@
|
||||
<div id="center">
|
||||
|
||||
<h1 class="titre">DONNEES DE CONTACTS</h1>
|
||||
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SirenTexte($this->siren)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Historique des données de contact</h2>
|
||||
<div class="paragraph clearfix">
|
||||
<?php if ($this->all) {?>
|
||||
<?php
|
||||
$url = $this->url(array('controller'=>'identite', 'action'=>'contacts','siret'=>$this->siret), 'default', true);
|
||||
?>
|
||||
<div style="float:left;">
|
||||
<a href="<?=$url?>">Uniquement les contacts de l'établissement</a>
|
||||
</div>
|
||||
<?php } else {?>
|
||||
<?php
|
||||
$url = $this->url(array(
|
||||
'controller'=>'identite', 'action'=>'contacts',
|
||||
'siret'=>$this->siret, 'get'=> 'all'
|
||||
), 'default', true);
|
||||
?>
|
||||
<div style="float:left;">
|
||||
<a href="<?=$url?>">Tous les contacts de l'entreprise</a>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<div id="radioset" style="float:right;">
|
||||
Filtre :
|
||||
<input type="radio" name="filtre" id="tel"><label <?php if($this->filter=='tel') { echo ' class="ui-state-active"'; }?>data-url="<?=$url?>" for="tel">Téléphone</label>
|
||||
<input type="radio" name="filtre" id="fax"><label <?php if($this->filter=='fax') { echo ' class="ui-state-active"'; }?>data-url="<?=$url?>" for="fax">Fax</label>
|
||||
<input type="radio" name="filtre" id="mail"><label <?php if($this->filter=='mail') { echo ' class="ui-state-active"'; }?>data-url="<?=$url?>" for="mail">e-Mail</label>
|
||||
<input type="radio" name="filtre" id="web"><label <?php if($this->filter=='web') { echo ' class="ui-state-active"'; }?>data-url="<?=$url?>" for="web">Web</label>
|
||||
<input type="radio" name="filtre" id="remove"><label data-url="<?=$url?>" for="remove">Sans filtres</label>
|
||||
</div>
|
||||
<script>
|
||||
$('#radioset').buttonset();
|
||||
$('input[name=filtre]').click(function(e){
|
||||
e.preventDefault();
|
||||
var label = $(this).attr('id');
|
||||
if (label=='remove') {
|
||||
window.location.href = $('label[for='+label+']').data('url');
|
||||
} else if ( $('label[for='+label+']').hasClass('ui-state-active') ) {
|
||||
window.location.href = $('label[for='+label+']').data('url')+'/filter/'+label;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<div class="paragraph clearfix">
|
||||
|
||||
<?php if ( $this->edition ) {?>
|
||||
<div style="line-height:16px;">
|
||||
<a class="dialog" title="Ajouter un contact" href="<?=$this->url(array('controller'=>'saisie','action'=>'contact','mode'=>'add','siret'=>$this->siret), 'default', true)?>">
|
||||
<img style="vertical-align:middle;" src="/themes/default/images/interfaces/ajouter.png" /> Ajouter un contact</a>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if ( count($this->contacts) == 0 ){?>
|
||||
Aucun contacts.
|
||||
<?php } else {?>
|
||||
|
||||
<table class="data">
|
||||
<tr>
|
||||
<th>SIREN / SIRET</th>
|
||||
<th>Type</th>
|
||||
<th>Contact</th>
|
||||
<th>Description</th>
|
||||
<th>Mise à jour</th>
|
||||
</tr>
|
||||
<?php foreach($this->contacts as $item) {?>
|
||||
<?php
|
||||
$class = '';
|
||||
if ($item->deleted) {
|
||||
$class = ' class="deleted"';
|
||||
}
|
||||
?>
|
||||
<tr<?=$class?>>
|
||||
<td><?=$this->SiretTexte($item->siren.$item->nic)?></td>
|
||||
<td>
|
||||
<?php
|
||||
switch($item->type) {
|
||||
case 'fax': echo "Fax"; break;
|
||||
case 'mail': echo "E-mail"; break;
|
||||
case 'tel': echo "Téléphone"; break;
|
||||
case 'web': echo "Site Web"; break;
|
||||
case 'mob': echo "Tel. Mobile"; break;
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td>
|
||||
<?php if ($item->type=='fax' || $item->type=='tel' || $item->type=='mob') {?>
|
||||
<?=substr(chunk_split($item->value, 2, '.'), 0, -1)?>
|
||||
<?php } else if ($item->type=='web') {?>
|
||||
<a href="<?=$item->value?>" target="_blank"><?=$item->value?></a>
|
||||
<?php } else if ($item->type=='mail') {?>
|
||||
<a href="mailto:<?=$item->value?>" target="_blank"><?=$item->value?></a>
|
||||
<?php } else {?>
|
||||
<?=$item->value?>
|
||||
<?php }?>
|
||||
|
||||
<?php if( $this->edition ) {?>
|
||||
<div style="float:right;">
|
||||
<a class="dialog" title="Modifier le contact" href="<?=$this->url(array('controller'=>'saisie','action'=>'contact', 'siret'=>$this->siret, 'mode'=>'edit','id'=>$item->id), 'default', true)?>"><img src="/themes/default/images/interfaces/editer.png" /></a>
|
||||
<a class="dialog" title="Supprimer le contact" href="<?=$this->url(array('controller'=>'saisie','action'=>'contact', 'siret'=>$this->siret, 'mode'=>'delete','id'=>$item->id), 'default', true)?>"><img src="/themes/default/images/interfaces/supprimer.png" /></a>
|
||||
</div>
|
||||
<?php }?>
|
||||
</td>
|
||||
<td><?=$item->description?></td>
|
||||
<td>
|
||||
<?php
|
||||
if (intval($item->date)>0) {
|
||||
$date = new Zend_Date($item->date, 'yyyyMMdd');
|
||||
echo $date->toString('dd/MM/yyyy');
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php if ($this->edition) {?>
|
||||
<script>
|
||||
$('a.dialog').on('click', function(){
|
||||
var href = $(this).attr('href');
|
||||
if (href!='#') {
|
||||
var title = $(this).attr('title');
|
||||
var dialogOpts = {
|
||||
bgiframe: true,
|
||||
title: title,
|
||||
width: 600,
|
||||
height: 300,
|
||||
modal: true,
|
||||
open: function(event, ui) {
|
||||
$(this).html('Chargement...').load(href);
|
||||
},
|
||||
buttons: {
|
||||
Quitter: function() { $(this).dialog('close'); }
|
||||
},
|
||||
close: function() { $('#dialog').remove(); }
|
||||
};
|
||||
$('<div id="dialog"></div>').dialog(dialogOpts);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<?php }?>
|
@ -0,0 +1,11 @@
|
||||
<?php if ( isset($this->page) ) {?>
|
||||
|
||||
<?=$this->page?>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<div id="center" style="padding:0;">
|
||||
<iframe src="<?=$this->corporamaUrl?>" width="100%" height="1000px" style="border:0;overflow-x:hidden;"></iframe>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
@ -0,0 +1,139 @@
|
||||
<div id="center">
|
||||
<h1><?=$this->translate("LISTE DES ÉTABLISSEMENTS")?></h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->translate("Numéro identifiant Siren")?></td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SirenTexte($this->siren)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->translate("Dénomination Sociale")?></td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" class="StyleInfoData">
|
||||
<?=$this->translate($this->translate()->getTranslator()->plural("L'entreprise a %1\$s établissement", "L'entreprise a %1\$s établissements", $this->nbEtabTotal), $this->nbEtabTotal);?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ($this->actif == -1 && is_array($this->etabs) && count($this->etabs)>0){ ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" class="StyleInfoData">
|
||||
<?=$this->translate($this->translate()->getTranslator()->plural("Affichage de %1\$s établissement actif", "Affichage de %1\$s établissements actifs", $this->nbEtabActif), $this->nbEtabActif);?>
|
||||
<?=$this->translate($this->translate()->getTranslator()->plural("et %1\$s établissement radié", "et %1\$s établissements radiés", $this->nbEtabRadie), $this->nbEtabRadie);?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->translate("Actif")?> / <?=$this->translate("Inactif")?></td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<form name="options" method="post" action="<?=$this->url(array(
|
||||
'controller' => 'identite',
|
||||
'action' => 'etablissements',
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
), 'default', true);?>">
|
||||
<select name="actif">
|
||||
<option value="-1"<?=($this->actif==-1)? ' selected' : '';?>><?=$this->translate("Tous")?></option>
|
||||
<option value="1"<?=($this->actif==1)? ' selected' : '';?>><?=$this->translate("Actif")?></option>
|
||||
<option value="0"<?=($this->actif==0)? ' selected' : '';?>><?=$this->translate("Inactif")?></option>
|
||||
</select>
|
||||
<input type="submit" name="selection" value="Ok">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Établissements</h2>
|
||||
<?php if (count($this->etabs)>0) { ?>
|
||||
|
||||
<div class="paragraph">
|
||||
<table class="data">
|
||||
<?php foreach ($this->etabs as $etab) { ?>
|
||||
<?php
|
||||
if ($etab->Siege==1) $type = 'siège ';
|
||||
else $type = 'établ. ';
|
||||
|
||||
if ($etab->Actif==1) $type.= 'actif';
|
||||
else $type.= 'inactif';
|
||||
|
||||
if(intval($etab->Nic)==0 || intval($etab->Nic)>=99990) $type.=' provisoire';
|
||||
|
||||
$href = $this->url(array(
|
||||
'controller' => 'identite',
|
||||
'action' => 'fiche',
|
||||
'siret' => $this->siren.$etab->Nic,
|
||||
'id' => $this->id,
|
||||
), 'default', true);
|
||||
?>
|
||||
<tr>
|
||||
<td class="StyleInfoData" width="50" valign="top">
|
||||
<b><a title="<?=$this->translate("Voir la fiche d'identité")?>" href="<?=$href?>"><?=$etab->Nic?></a></b>
|
||||
</td>
|
||||
<td class="StyleInfoData" width="70" valign="top"><?=$type?></td>
|
||||
<td class="StyleInfoData" width="250">
|
||||
<?php
|
||||
if ($etab->Enseigne!='') {
|
||||
?>
|
||||
<b><?=$etab->Enseigne?></b><br/>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?=$etab->Adresse?><br/>
|
||||
<?php
|
||||
if ($etab->Adresse2!='') {?>
|
||||
<?=$etab->Adresse2?><br/>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<b><?=$etab->CP?> <?=$etab->Ville?></b>
|
||||
<?php
|
||||
if ($etab->Tel!='') echo '<br/><i>Tél : '.$etab->Tel.'</i> ';
|
||||
if ($etab->Fax!='') echo '<br/><i>Fax : '.$etab->Fax.'</i>';
|
||||
?>
|
||||
</td>
|
||||
<td class="StyleInfoData" valign="top">
|
||||
<?=$etab->NafEtab.' : '.$etab->NafEtabLib?>
|
||||
<?php
|
||||
if ($etab->Actif==1 && !empty($etab->EffEtTrLib) && !empty($etab->EffEtTr) && !in_array($etab->EffEtTr, array('N/C', 'NN', 0)) ){
|
||||
?>
|
||||
<br/><i><?=$etab->EffEtTrLib?></i>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</div>
|
||||
<?php if ($this->PageTotal>1) {?>
|
||||
<div class="paragraph">
|
||||
<div class="pagination clearfix">
|
||||
<a class="first" href="<?=$this->url(array('page'=>1))?>">«</a>
|
||||
<a class="previous" href="<?=$this->url(array('page'=>$this->PagePrev))?>">‹</a>
|
||||
<span>Page <?=$this->PageCurrent?>/<?=$this->PageTotal?></span>
|
||||
<a class="next" href="<?=$this->url(array('page'=>$this->PageNext))?>">›</a>
|
||||
<a class="last" href="<?=$this->url(array('page'=>$this->PageTotal))?>">»</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if($this->hasPrefCarte){?>
|
||||
<div class="paragraph">
|
||||
<?=$this->action('carte', 'identite', null, array(
|
||||
'siret'=>$this->siret, 'id'=>$this->id,
|
||||
'actif'=>$this->actif, 'page'=>$this->PageCurrent) )?>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
<?php }?>
|
||||
|
||||
</div>
|
@ -0,0 +1,107 @@
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<div id="center">
|
||||
<?php }?>
|
||||
<h1>LISTE DES ÉVÉNEMENTS</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SirenTexte($this->siren)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" width="550" class="StyleInfoData">
|
||||
<?=$this->action('infos','surveillance',null,array('source' => 'insee','siret'=>$this->siret))?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Événements INSEE</h2>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<div class="paragraph">
|
||||
<?php if ( $this->Entreprise == 1 ) {?>
|
||||
Liste des événements de l'entreprise. <a href="<?=$this->url(array(
|
||||
'controller'=>'identite',
|
||||
'action'=>'evenements',
|
||||
'siret'=>$this->siret,
|
||||
'nic'=>$this->Nic), 'default', true)?>">Afficher uniquement les événements de l'établissement.</a>
|
||||
<?php } else {?>
|
||||
Liste des événements uniquement sur l'établissement <?=$this->Nic?>.
|
||||
<a href="<?=$this->url(array(
|
||||
'controller'=>'identite',
|
||||
'action'=>'evenements',
|
||||
'siret'=>$this->siret), 'default', true)?>">Afficher tous les événements de l'entreprise.</a>
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if ( count($this->evens)==0 ) { ?>
|
||||
<div class="paragraph">Aucun évènement n'est présent dans notre base</div>
|
||||
<?php } else { ?>
|
||||
<div class="paragraph">
|
||||
<table class="data">
|
||||
<?php
|
||||
foreach ($this->evens as $i=>$even) {
|
||||
if ($even->Siege==1) $type='siège';
|
||||
else $type='établissement';
|
||||
$lien = '<a title="Voir la fiche d\'identité" href="'.$this->url(array(
|
||||
'controller' => 'identite',
|
||||
'action' => 'fiche',
|
||||
'siret' => $this->siren.$even->Nic,
|
||||
'id' => $this->id,
|
||||
), 'default', true).'">';
|
||||
$lien2 = '<a title="Voir la fiche d\'identité" href="'.$this->url(array(
|
||||
'controller' => 'identite',
|
||||
'action' => 'fiche',
|
||||
'siret' => $even->SiretAss,
|
||||
), 'default', true).'">';
|
||||
?>
|
||||
<tr>
|
||||
<td class="StyleInfoLib" width="80" valign="top">
|
||||
<?php $date = new Zend_Date($even->DateInfo, 'yyyyMMdd')?>
|
||||
<?=$date->toString('dd/MM/yyyy')?>
|
||||
</td>
|
||||
<td class="StyleInfoData" width="580">
|
||||
<?php $date = new Zend_Date($even->EvenDate, 'yyyyMMdd')?>
|
||||
<b><?=$even->EvenLib?></b> <i> - NIC <?=$lien.$even->Nic.'</a>'?>
|
||||
le <?=$date->toString('dd/MM/yyyy')?></i>
|
||||
<?php
|
||||
if (trim($even->EvenLibDet)<>'')
|
||||
echo '<br/>'.str_replace(', ','<br/>', $even->EvenLibDet);
|
||||
if ($even->SiretAss*1<>0 && $even->TypeSiretAss<>'')
|
||||
echo '<br/>Siret du '.$even->TypeSiretAss.' : '.$lien2.substr($even->SiretAss,0,9).' '.substr($even->SiretAss,9,5).'</a>';
|
||||
elseif ($even->SiretAss*1<>0 && $even->TypeSiretAss=='')
|
||||
echo '<br/>Siret associé : '.$lien2.substr($even->SiretAss,0,9).' '.substr($even->SiretAss,9,5).'</a>';
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php if ( $this->PageTotal>1 ) {?>
|
||||
<div class="paragraph">
|
||||
<div class="pagination clearfix">
|
||||
<a class="first" href="<?=$this->url(array('page'=>1))?>">«</a>
|
||||
<a class="previous" href="<?=$this->url(array('page'=>$this->PagePrev))?>">‹</a>
|
||||
<span>Page <?=$this->PageCurrent?>/<?=$this->PageTotal?></span>
|
||||
<a class="next" href="<?=$this->url(array('page'=>$this->PageNext))?>">›</a>
|
||||
<a class="last" href="<?=$this->url(array('page'=>$this->PageTotal))?>">»</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
||||
<?php }?>
|
@ -0,0 +1,46 @@
|
||||
<div id="center">
|
||||
|
||||
<h1>LISTE DES ÉVÉNEMENTS RNCS</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SirenTexte($this->siren)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Événements RNCS</h2>
|
||||
|
||||
<?php if ( count($this->Even)==0 ) { ?>
|
||||
<div class="paragraph">Aucun évènement n'est présent dans notre base</div>
|
||||
<?php } else { ?>
|
||||
<div class="paragraph">
|
||||
<table class="data">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>Label</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($this->Even as $item) {?>
|
||||
<tr>
|
||||
<td><?=$item->Date?></td>
|
||||
<td><?=$item->Label?></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
@ -0,0 +1,18 @@
|
||||
<?php if ( $this->texte ) {?>
|
||||
<tr>
|
||||
<td width="50" class="aide">
|
||||
<?php if ( !empty($this->aide) ) {?>
|
||||
<img src="/themes/default/images/interfaces/aideligne.png" width="16" height="16" style="display:none;"/>
|
||||
<div id="<?=$this->id?>" style="display:none;"><?=$this->aide?></div>
|
||||
<?php } ?></td>
|
||||
<td width="200" class="StyleInfoLib"><?=$this->label?></td>
|
||||
<?php
|
||||
if (!empty($this->titre)) {
|
||||
$titre = ' title="'.$this->titre.'"';
|
||||
} else {
|
||||
$titre = '';
|
||||
}
|
||||
?>
|
||||
<td width="350" class="StyleInfoData"<?=$titre?>><?=$this->texte?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
@ -0,0 +1,168 @@
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<div id="center">
|
||||
<?php }?>
|
||||
|
||||
<?php if ( $this->message ) {?>
|
||||
|
||||
<h2>Informations</h2>
|
||||
<div class="paragraph">
|
||||
<div style="padding:0.7em;" class="ui-state-highlight ui-corner-all">
|
||||
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>
|
||||
<strong><?=$this->message?></strong></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<div class="paragraph row">
|
||||
<div class="col-md-6">
|
||||
<?php if ( !empty($this->surveillance) ) {?>
|
||||
<?php echo $surveillances = $this->action('infos','surveillance', null, array('siret' => $this->siret))?>
|
||||
<?php }?>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<?php if (!empty($this->dateDerMaj)) { ?>
|
||||
<a class="datemaj pull-right" href="#">
|
||||
<?=$this->translate("Dernière mise à jour le")?> <?=$this->dateDerMaj?>
|
||||
<span><?=$this->datemajTexte?></span>
|
||||
</a>
|
||||
<?php }?>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<h1 class="titre"><?=$this->translate("FICHE D'IDENTITÉ");?></h1>
|
||||
<?php }?>
|
||||
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<?php
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Siret']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['SiretSiege']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['TvaNumero']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Isin']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Capitalisation']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->logo);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['NumRC']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Groupe']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['AutreId']);
|
||||
//echo $this->partial('identite/fiche-item.phtml', $this->dBlock['NumRM']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Actif']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['SituationJuridique']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Situation']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['AutreSiren']);
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2><?=$this->translate("Dénomination sociale & Coordonnées")?></h2>
|
||||
<div class="paragraph">
|
||||
|
||||
<?php if ( empty($this->AutrePage) && $this->accessWorldCheck) { ?>
|
||||
<div style="float:right;">
|
||||
<img style="cursor:pointer;" class="wcheck" data-url="<?=$this->url(array(
|
||||
'controller'=>'worldcheck',
|
||||
'action'=>'occurence',
|
||||
'dirSociete'=>$this->infos->Nom,
|
||||
'dirSocNom2'=>$this->infos->Nom2,
|
||||
'dirSocNomLong'=>$this->infos->NomLong,
|
||||
'dirSocCommercial'=>$this->infos->NomCommercial,
|
||||
'dirSocSigle'=>$this->infos->Sigle,
|
||||
'dirSocSigleLong'=>$this->infos->SigleLong,
|
||||
'dirSocEnseigne'=>$this->infos->Enseigne,
|
||||
'dirSocEnseigneLong'=>$this->infos->EnseigneLong,
|
||||
'dirType' =>'ORGANISATION',
|
||||
'siren'=>substr($this->siret, 0, 9)
|
||||
), 'default', true)?>" src="/themes/default/images/worldcheck/wc.png"/>
|
||||
</div>
|
||||
<script>
|
||||
$('img.wcheck').each(function(){
|
||||
$(this).qtip({
|
||||
hide: { event: 'unfocus' },
|
||||
show: { solo: true, delay: 500 },
|
||||
content: {
|
||||
button: true,
|
||||
title: 'WorlCheck',
|
||||
text: "Chargement...",
|
||||
ajax: { url: $(this).data('url') } },
|
||||
position: { my: 'right center', at: 'left center' }
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php }?>
|
||||
|
||||
<table>
|
||||
<?php
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['RaisonSociale']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Nom2']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['NomCommercial']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['EnseigneSigle']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['FormeJuridique']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['DateImmat']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['DateCreaEn']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['DateCreaEt']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Adresse']);
|
||||
if ( empty($this->AutrePage) ) {
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['RNVP']);
|
||||
}
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Zones']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Tel']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Fax']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Web']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Mail']);
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2><?=$this->translate("Activité(s) & Chiffre d'affaires")?></h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<?php
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['ActiviteEn']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['ActiviteEt']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Naf4']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Nace']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['NatureActivite']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['SurfaceMagasin']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['OrigineFond']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['TypeExploitation']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Saisonnalite']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['NbEtabActif']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Capital']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['ChiffreAffaire']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Dirigeants']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Effectif']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['EffectifEtab']);
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
|
||||
<?=$this->action('geo', 'identite', null, array('infos' => $this->infos));?>
|
||||
<?=$this->action('news', 'identite');?>
|
||||
|
||||
<div class="paragraph" style="clear:both;">
|
||||
<a href="<?=$this->url(array('controller'=>'identite','action'=>'corporama', 'siret'=>$this->siret), 'default', true)?>" title="Toute la puissance des réseaux sociaux professionnels pour identifier rapidement un interlocuteur et accéder à ses coordonnées">
|
||||
Actualités de la société <?=$this->raisonSociale?> sur le Web</a>
|
||||
</div>
|
||||
|
||||
<?php if ( !empty($this->surveillance) ) {?>
|
||||
<div class="paragraph" style="clear:both;">
|
||||
<?=$surveillances?>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
</div>
|
||||
<?php }?>
|
@ -0,0 +1,453 @@
|
||||
<style>
|
||||
span.title { float:right; margin:0 10px; }
|
||||
</style>
|
||||
<div id="center">
|
||||
<h1>FICHE PROCÉDURES COLLECTIVES</h1>
|
||||
|
||||
<span class="title"><?=date('d/m/Y H:i')?></span>
|
||||
|
||||
<h2 class="titre">FICHE D'IDENTITÉ</h2>
|
||||
<?php echo $this->partial('identite/fiche.phtml', $this->Identite); ?>
|
||||
|
||||
<?php
|
||||
//Mention du conjoint collaborateur
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2400:2499');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Modification de la forme juridique
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2307');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
?>
|
||||
|
||||
<h2>Composition et répartition du capital social</h2>
|
||||
<div class="paragraph">
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" width="550" class="StyleInfoData">
|
||||
<table>
|
||||
<?php if( ($this->fj>=1000 && $this->fj<=1999) || ($this->fj>=10 && $this->fj<=19) ) { ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="2" class="StyleInfoData">Cette entreprise est une personne physique.</td>
|
||||
</tr>
|
||||
<?php } else { ?>
|
||||
<?php
|
||||
if (count($infos->Actionnaires->item)>0) {
|
||||
foreach ($infos->Actionnaires->item as $i=>$lien) {
|
||||
if ($lien->Actif==0) {
|
||||
$font1='<font color="gray"><i>';
|
||||
$font2='</i></font>';
|
||||
} else {
|
||||
$font1=$font2='';
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td class="StyleInfoData" width="100">
|
||||
<?php
|
||||
echo $font1;
|
||||
if ($lien->Pmin*1>0) echo $lien->Pmin.' %';
|
||||
elseif ($lien->MajMin=='+') echo 'major.';
|
||||
elseif ($lien->MajMin=='-') echo 'minor.';
|
||||
elseif ($lien->MajMin=='C') echo 'major.';
|
||||
elseif ($lien->MajMin=='S') echo 'minor.';
|
||||
else echo ' ';
|
||||
echo $font2;
|
||||
?>
|
||||
</td>
|
||||
<td class="StyleInfoLib" width="300">
|
||||
<?php
|
||||
echo $font1;
|
||||
echo $lien->RaisonSociale;
|
||||
echo $font2;
|
||||
?>
|
||||
</td>
|
||||
<td class="StyleInfoData" width="150">
|
||||
<?php
|
||||
echo $font1;
|
||||
if ( $lien->Siren<>'' && $lien->Siren<>0) {
|
||||
echo 'Siren <a href="'.$this->view->url(array(
|
||||
'controller' => 'identite',
|
||||
'action' => 'fiche',
|
||||
'siret' => $lien->Siren
|
||||
)).'">'. $lien->Siren.'</a>';
|
||||
}
|
||||
else ' ';
|
||||
|
||||
if ($lien->Pays<>'France') echo '<b>'.$lien->Pays.'</b>';
|
||||
echo $font2;
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } //Fin pour chaque actionnaire ?>
|
||||
<?php } else { ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="2" class="StyleInfoData">
|
||||
<a href="<?=$this->url(array('controller'=>'pieces', 'action'=>'actes', 'siret'=>$this->siret), 'default', true)?>">
|
||||
Information à vérifier dans les derniers statuts</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php } //Fin test personne physique ?>
|
||||
<tr><td colspan="3"> </td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
//Changement d'adresse
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2300-2301');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Modification de capital
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2100-2102');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Modification sur l'exploitation
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2311');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Modification de date de début d'activité
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2304');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Modification de l'activité
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2313');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Mise en activité
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2316');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Poursuite de l'activité
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2314');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Modification de la durée de la société
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2306');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Cessation d'activité
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2200-2201');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Dissolution
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2202-2203');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Cessation d'activité
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2204');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Mise en someil de la société
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2206');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Location gérance
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2800:2899');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Tranfert de siège
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2901-2904');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Vente du fond
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('5500:5650-5900-599-2209');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Transfert divers
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('2620-2630-2635-2639');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<h2>Organes de la procédure</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<?php if($this->infos->Identite->SituationJuridique=='P'): ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" valign="top" class="StyleInfoLib">Tribunal :</td>
|
||||
<td width="300" class="StyleInfoData"><a href="<?=$this->url(array(
|
||||
'controller' => 'juridique',
|
||||
'action' => 'competences',
|
||||
'siret' => $this->infos->Identite->Siret,
|
||||
'type' => 'tri',
|
||||
), 'default', true)?>"><?=$this->infos->Identite->TribunalLib?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" valign="top" class="StyleInfoLib"> </td>
|
||||
<td width="300" class="StyleInfoData"> </td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
if(count($this->infos->Organes->item)>0) {
|
||||
foreach($this->infos->Organes->item as $organe) {
|
||||
?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" valign="top" class="StyleInfoLib"><?=$organe->admfonction?></td>
|
||||
<td width="300" class="StyleInfoData"><?=$organe->admnom?><br/>
|
||||
<?=$organe->admadrNum?> <?=$organe->admadrVoie?> <?=$organe->admadrCP?> <?=$organe->admadrVille?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}else{
|
||||
?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" valign="top" class="StyleInfoLib">Néant</td>
|
||||
<td width="300" class="StyleInfoData"></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
//Nominnation/Remplacement de commissaire à l'exécution du plan
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1403');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Prolongement de la mission du commissaire à l'exécution du plan :
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1404');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Jugement de désignation des organes de la procédure
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1215');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Nomination d'un administrateur judiciaire
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1400');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Nomination d'un mandataire judiciaire
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1401');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Nomination d'un représentant des créanciers
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1402');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Nomination d'un juge commissaire
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1405');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Changement de SYNDIC
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1406');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Nomination d'un liquidateur judiciaire
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1420');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
//Fin de mission d'administrateur judiciaire
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1470');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
<h2>Types de procédure</h2>
|
||||
<div class="paragraph">
|
||||
<?php
|
||||
if(isset($this->infos->Identite->dateCessationPaiement) && !empty($this->infos->Identite->dateCessationPaiement) && $this->infos->Identite->dateCessationPaiement!='0000-00-00')
|
||||
{
|
||||
$date = new Zend_Date($this->infos->Identite->dateCessationPaiement, 'yyyy-MM-dd');
|
||||
?>
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" valign="top" class="StyleInfoLib">Cessation des paiements, le</td>
|
||||
<td width="300" class="StyleInfoData"><?=$date->toString('dd/MM/yyyy')?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
}
|
||||
$countTypesProcedure = 0;
|
||||
//Procédure de conciliation
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1050-1055');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Décision de conciliation
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1550');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Procédure de réglement amiable
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1207-1209');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Jugement d'ouverture d'une procédure de sauvegarde
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1100-1101-1407-1419-1513-1542-1545-1546');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Date cessation des paiements
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1450');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Jugement d'ouverture en redressement judiciaire / Jugement prononçant la liquidation judiciaire
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1200-1201-1418-1541-1543-1544-1545-1546-1202-1300-1301-1305-1308-1302-1306-1307-1304-1309-1312-1417-1212-1313');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Plan de redressement
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1414-1407-1509-1421');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Plan de continuation
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1413-1409-1512');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Plan de cession
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1425-1411-1407-1408-1415-1416-1511-1412');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Homologation du plan
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1455');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Jugement arrêtant le plan d'apurement du passif
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1460');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Concordat
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1445');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Jugement autorisant la poursuite d'activité
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1430');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1430');
|
||||
//Suspension de l'exécution provisoire
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1435');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Suspension provisoire des poursuites
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1436');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Extrait d'arrêt de la cour d'appel
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1507');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Extinction du plan de sauvegarde
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1508');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Rejet du plan
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1510');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Arrêt divers
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1515');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Rectification d'une erreur matérielle
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1517');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
//Ordonnance
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1520');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
$countTypesProcedure+=count($annonceSelect);
|
||||
if($countTypesProcedure==0) echo '<p class="libAnnonces">Néant</p>';
|
||||
?>
|
||||
</div>
|
||||
|
||||
<h2>Potentiel de récupération et réalisation d'actifs</h2>
|
||||
<div class="paragraph">
|
||||
<?php
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1208-1540-1203-1214-1216-1204-1206-1205-3000:3999-1210-1530-1580-1440-2303');
|
||||
if(count($annonceSelect)>0) echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
else echo '<p class="libAnnonces">Néant</p>';
|
||||
?>
|
||||
</div>
|
||||
|
||||
<h2>Jugements de clôture</h2>
|
||||
<div class="paragraph">
|
||||
<?php
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1500:1506-1525-1605-6000:6700-1431-2000-2205-2210-2211-2212');
|
||||
if(count($annonceSelect)>0) echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
else echo '<p class="libAnnonces">Néant</p>';
|
||||
?>
|
||||
<br/>
|
||||
<?php
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1620-1211-1311-1600-1610-1601-1611-1604');
|
||||
if(count($annonceSelect)>0){
|
||||
?>
|
||||
<h2>Sanctions</h2>
|
||||
<?php
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
?><br/><?php
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1346-1310');
|
||||
echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<h2>Autres événements</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<?php
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['CessionOffreDate']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['CessionInvenDate']);
|
||||
echo $this->partial('identite/fiche-item.phtml', $this->dBlock['CessionDesc']);
|
||||
?>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
//Tout autre événement entre 1000 & 1999 non encore affiché
|
||||
$annonceSelect = array();
|
||||
$annonceSelect = $this->infosProcol->searchBlockAnnonces('1000:1999');
|
||||
|
||||
if(count($annonceSelect)>0) echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
else echo '<p class="libAnnonces">Néant</p>';
|
||||
?>
|
||||
</div>
|
||||
|
||||
<h2>Procédure d'insolvabilité européene</h2>
|
||||
<div class="paragraph">
|
||||
<?php
|
||||
if(count($annonceSelect)>0) echo $this->infosProcol->dAnnonces($annonceSelect);
|
||||
else echo '<p class="libAnnonces">Néant</p>';
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
|
||||
</div>
|
@ -0,0 +1,69 @@
|
||||
<h2>Localisation géographique</h2>
|
||||
<div class="paragraph">
|
||||
<div id="infogeo" class="clearfix">
|
||||
<div id="infogeo_txt">
|
||||
<?php if ( $this->infos->GeoLat && $this->infos->GeoLon ) {?>
|
||||
<span id=geolocalisation>
|
||||
<b>Information géographique :</b><br/>
|
||||
Latitude : <?=$this->decLat?> (<?=$this->infos->GeoLat?>)<br />
|
||||
Longitude : <?=$this->decLon?> (<?=$this->infos->GeoLon?>)<br />
|
||||
</span>
|
||||
<a id="lien-google" href="<?=$this->mapsHref?>" target="_blank">
|
||||
Afficher l'adresse sur Google Map ©</a><br/>
|
||||
<br/>
|
||||
<?php }?>
|
||||
<b>Code commune / Rivoli :</b><br/>
|
||||
<?=$this->infos->Dept.' '.$this->infos->codeCommune.' / '.$this->infos->Rivoli; ?>
|
||||
<?php
|
||||
if (count($this->infos->InfosIris)>0){
|
||||
$InfosIris = $this->infos->InfosIris;
|
||||
$codComIris = str_replace($InfosIris->codIris, '', $InfosIris->codComIris);
|
||||
?>
|
||||
<br/><br/><b>Iris :</b>
|
||||
<?php if (intval($InfosIris->codIris) == 0){ ?>
|
||||
<br/>Commune non découpée en Iris
|
||||
<?php } else {?>
|
||||
<br/>Code : <?=$codComIris?> <?=$InfosIris->codIris?>
|
||||
<br/>Libellé : <a title="Consulter le plan d'assemblage de la commune" href="<?=$this->url(array('controller'=>'identite', 'action'=>'iris', 'code'=>$codComIris), 'default', true)?>" target="_blank"><?=$InfosIris->libIris?></a>
|
||||
<img title="<?=$InfosIris->typIris?>" style="vertical-align:middle;" src="/themes/default/images/info.gif">
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<?php if ($this->facade) {?>
|
||||
|
||||
<?php if ($this->source == 'google') {?>
|
||||
|
||||
<div id="infogeo_photo">
|
||||
<?=$this->action('streetview', 'identite', null, array('infos' => $this->infos,));?>
|
||||
</div>
|
||||
|
||||
<?php } elseif ($this->source == 'mappy') {?>
|
||||
|
||||
<div><img id="streetview" width="300px" /></div>
|
||||
<script src="<?=$this->lienJs?>"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
var serviceHandler = function(result) {
|
||||
if (result instanceof Mappy.api.visiocity.Frontage) {
|
||||
var current = result.getCurrent();
|
||||
var img = $('<img src="' + current.getURL(320, null) +
|
||||
'" alt="' + current.getDescription() +
|
||||
'" width="300px" />');
|
||||
$('#streetview').replaceWith(img);
|
||||
}
|
||||
};
|
||||
var address = "<?=$this->adresse?>";
|
||||
var geo = new Mappy.api.geolocation.Geocoder();
|
||||
var photoService = new Mappy.api.visiocity.PhotoService();
|
||||
geo.geocode(address, function(result) {
|
||||
photoService.search(result[0], 'f', serviceHandler);
|
||||
}, function(error) {});
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1 @@
|
||||
<img src="/file/image/cache/q/<?php echo $this->name;?>" />
|
@ -0,0 +1,150 @@
|
||||
<div id="center">
|
||||
<h1>Informations Groupe</h1>
|
||||
<?php if ($this->result->grpSiren=='') {?>
|
||||
<div class="paragraph">Aucune information disponible.</div>
|
||||
<?php } elseif (is_string($result)) { ?>
|
||||
<div class="paragraph"><?=$result?></div>
|
||||
<?php } else {?>
|
||||
<style>
|
||||
table.secteurs { width:100%; border-collapse:collapse; }
|
||||
table.secteurs th { border:1px solid; padding:5px; font-weight:bold;}
|
||||
table.secteurs td { border:1px solid; padding:5px; }
|
||||
</style>
|
||||
|
||||
<h2>Groupe <?=$this->result->grpNom?></h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib" style="font-weight:bold;">Siren</td>
|
||||
<td width="350" class="StyleInfoData" style="font-weight:bold;"><?=$this->result->grpSiren?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">TVA</td>
|
||||
<td width="350" class="StyleInfoData"><?=substr($this->result->grpTva,0,2).' '.
|
||||
substr($this->result->grpTva,2,2).' '.
|
||||
substr($this->result->grpTva,-9)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">RCS <?=preg_replace('/(^TC |^TI |^TGIcc |^TMX )/i','',$this->result->grpTribunal)?></td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->result->grpNumRC?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">ISIN</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->result->grpIsin?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300"></td>
|
||||
<td width="350"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">Nom du groupe</td>
|
||||
<td width="350" class="StyleInfoData" style="font-weight:bold;"><?=$this->result->grpNom?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">Sigle</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->result->grpSigle?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">Adresse</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?=$this->result->grpAdrNum . ' ' . $this->result->grpAdrBtq . ' ' . $this->result->grpAdrTypeVoie ?>
|
||||
<?=$this->result->grpadrLibVoie?><br/>
|
||||
<?=$this->result->grpAdrComp ?><br/>
|
||||
<?=$this->result->grpAdrCP . ' ' . $this->result->grpAdrVille;?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">Code Commune</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->result->grpAdrDep . $this->result->grpAdrCom?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300"></td>
|
||||
<td width="350"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">Tél.</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->result->grpTel?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">Fax</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->result->grpFax?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">Site Web</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->result->grpWeb?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300"></td>
|
||||
<td width="350"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">Année de création</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->result->grpAnneCreation?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">Grand Groupe Français</td>
|
||||
<td width="350" class="StyleInfoData"><?=($this->result->grpGrandGroupeFr==1) ? 'Oui' : 'Non';?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">Nombre d'entreprises Française du groupe</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->result->grpNbEntrep?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">Effectif salarié du groupe en France</td>
|
||||
<td width="350" class="StyleInfoData"><?=number_format($this->result->grpEffectif, 0, ',', ' ')?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300"></td>
|
||||
<td width="350"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">CA France</td>
|
||||
<td width="350" class="StyleInfoData"><?=number_format($this->result->grpCA, 0, ',', ' ')?> €</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="300" class="StyleInfoLib">CA Export</td>
|
||||
<td width="350" class="StyleInfoData"><?=number_format($this->result->grpCAExport, 0, ',', ' ')?> €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300"></td>
|
||||
<td width="350"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="350" colspan="2" class="StyleInfoLib">
|
||||
<a id="groupesarbo" title="Arborescence du groupe" href="<?=$this->url(array(
|
||||
'controller'=>'identite','action'=>'groupesarbo', 'siret'=>$this->siren), null, true)
|
||||
?>">Organigramme du groupe</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Secteurs</h2>
|
||||
<div class="paragraph">
|
||||
<table class="secteurs">
|
||||
<tr>
|
||||
<th></th>
|
||||
<th width="150">Secteurs</th>
|
||||
<th colspan="2">Nb Entrep.</th>
|
||||
<th colspan="2">CA</th>
|
||||
<th colspan="2">Effectif</th>
|
||||
</tr>
|
||||
<?php foreach ($this->result->secteur->item as $item) {?>
|
||||
<tr>
|
||||
<td style="font-weight:bold;"><?=$item->code?></td>
|
||||
<td><?=$item->lib?></td>
|
||||
<td align="right"><?=number_format($item->entrepNb, 0, ',', ' ')?></td>
|
||||
<td align="right"><?=$item->entrepTx?>%</td>
|
||||
<td align="right"><?=number_format($item->caNb, 0, ',', ' ')?> €</td>
|
||||
<td align="right"><?=$item->caTx?>%</td>
|
||||
<td align="right"><?=number_format($item->effNb, 0, ',', ' ')?></td>
|
||||
<td align="right"><?=$item->effTx?>%</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
@ -0,0 +1,77 @@
|
||||
<style>.jstree-default a.jstree-search { color: red; }</style>
|
||||
|
||||
<div>Tête de groupe
|
||||
<select name="isin">
|
||||
<option value="1" <?php if($this->isin==1) { echo ' selected'; }?>>coté, détention minimum à 50%</option>
|
||||
<option value="0" <?php if($this->isin==0) { echo ' selected'; }?>>détention minimum à 50%</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
Filiales, détention minimum
|
||||
<select name="pctMin">
|
||||
<?php if( $this->edition ) {?>
|
||||
<option value="0" <?php if($this->pctMin==0) { echo ' selected'; }?>>Tout</option>
|
||||
<?php }?>
|
||||
<option value="33" <?php if($this->pctMin==33) { echo ' selected'; }?>>33%</option>
|
||||
<option value="40" <?php if($this->pctMin==40) { echo ' selected'; }?>>40%</option>
|
||||
<option value="50" <?php if($this->pctMin==50) { echo ' selected'; }?>>50%</option>
|
||||
</select>
|
||||
<input id="filter" type="button" value="Filtrer" style="float:right;">
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<input id="text" type="text" value="">
|
||||
<input id="search" type="button" value="Rechercher">
|
||||
<input id="clear_search" type="button" value="Initialiser">
|
||||
</div>
|
||||
|
||||
<div id="groups" class="jstree jstree-default" style="overflow:auto;"></div>
|
||||
<script src="/libs/jstree/jstree.min.js"></script>
|
||||
<script>
|
||||
$('#dialogarbo').dialog({ buttons: [
|
||||
{ text: "Imprimer", click: function() {
|
||||
var pct = $('select[name=pctMin] option:selected').val();
|
||||
var isin = $('select[name=isin] option:selected').val();
|
||||
window.open('<?=$this->url(array(
|
||||
'controller'=>'identite',
|
||||
'action'=>'groupesarboimg',
|
||||
'siret'=>$this->siret
|
||||
),null,true)?>/pctMin/'+pct+'/isin/'+isin);
|
||||
} },
|
||||
{ text: "Fermer", click: function() { $(this).dialog("close"); } }
|
||||
]});
|
||||
|
||||
$('#filter').on('click', function(e){
|
||||
e.preventDefault();
|
||||
var pct = $('select[name=pctMin] option:selected').val();
|
||||
var isin = $('select[name=isin] option:selected').val();
|
||||
$('div#dialogarbo').html('Chargement...').load('<?=$this->url(array(
|
||||
'controller'=>'identite',
|
||||
'action'=>'groupesarbo',
|
||||
'siret'=>$this->siret
|
||||
),null,true)?>/pctMin/'+pct+'/isin/'+isin);
|
||||
});
|
||||
|
||||
$("#groups").jstree({
|
||||
"core" : { "html_titles" : true },
|
||||
"plugins" : ["themes", "json_data", "search"],
|
||||
"json_data" : { "data" : [<?=$this->data?>] },
|
||||
"search" : { "show_only_matches" : true },
|
||||
"themes" : {
|
||||
"theme" : "default",
|
||||
"url" : "/libs/jstree/themes/default/style.css",
|
||||
"dots" : true,
|
||||
"icons" : false
|
||||
}
|
||||
});
|
||||
|
||||
$('#clear_search').on('click', function() {
|
||||
$("#text").val('');
|
||||
$("#groups").jstree("clear_search");
|
||||
});
|
||||
|
||||
$('#search').on('click', function(){
|
||||
$("#groups").jstree("search", $("#text").val());
|
||||
});
|
||||
</script>
|
@ -0,0 +1,87 @@
|
||||
<style>
|
||||
div#menu {display:none;}
|
||||
.jstree-default li,
|
||||
.jstree-default ins { background-image:url("/libs/jstree/themes/default/d.png"); background-repeat:no-repeat; background-color:transparent; }
|
||||
.jstree-default li { background-position:-90px 0; background-repeat:repeat-y; }
|
||||
.jstree-default li.jstree-last { background:transparent; }
|
||||
.jstree-default .jstree-open > ins { background-position:-72px 0; }
|
||||
.jstree-default .jstree-closed > ins { background-position:-54px 0; }
|
||||
.jstree-default .jstree-leaf > ins { background-position:-36px 0; }
|
||||
|
||||
.jstree-default .jstree-hovered { background:#e7f4f9; border:1px solid #d8f0fa; padding:0 2px 0 1px; }
|
||||
.jstree-default .jstree-clicked { background:#beebff; border:1px solid #99defd; padding:0 2px 0 1px; }
|
||||
.jstree-default a .jstree-icon { background-position:-56px -19px; }
|
||||
.jstree-default a.jstree-loading .jstree-icon { background:url("/libs/jstree/themes/default/throbber.gif") center center no-repeat !important; }
|
||||
|
||||
.jstree-default.jstree-focused { background:#ffffee; }
|
||||
|
||||
.jstree-default .jstree-no-dots li,
|
||||
.jstree-default .jstree-no-dots .jstree-leaf > ins { background:transparent; }
|
||||
.jstree-default .jstree-no-dots .jstree-open > ins { background-position:-18px 0; }
|
||||
.jstree-default .jstree-no-dots .jstree-closed > ins { background-position:0 0; }
|
||||
|
||||
.jstree-default .jstree-no-icons a .jstree-icon { display:none; }
|
||||
|
||||
.jstree-default .jstree-search { font-style:italic; }
|
||||
|
||||
.jstree-default .jstree-no-icons .jstree-checkbox { display:inline-block; }
|
||||
.jstree-default .jstree-no-checkboxes .jstree-checkbox { display:none !important; }
|
||||
.jstree-default .jstree-checked > a > .jstree-checkbox { background-position:-38px -19px; }
|
||||
.jstree-default .jstree-unchecked > a > .jstree-checkbox { background-position:-2px -19px; }
|
||||
.jstree-default .jstree-undetermined > a > .jstree-checkbox { background-position:-20px -19px; }
|
||||
.jstree-default .jstree-checked > a > .jstree-checkbox:hover { background-position:-38px -37px; }
|
||||
.jstree-default .jstree-unchecked > a > .jstree-checkbox:hover { background-position:-2px -37px; }
|
||||
.jstree-default .jstree-undetermined > a > .jstree-checkbox:hover { background-position:-20px -37px; }
|
||||
|
||||
#jstree-marker.jstree-default { background:url("/libs/jstree/themes/default/d.png") -41px -57px no-repeat !important; text-indent:-100px; }
|
||||
|
||||
.jstree-default a.jstree-search { color:aqua; }
|
||||
.jstree-default .jstree-locked a { color:silver; cursor:default; }
|
||||
</style>
|
||||
<div id="center">
|
||||
<div class="paragraph">
|
||||
|
||||
<div id="groups" class="jstree jstree-default"></div>
|
||||
|
||||
<div>Tête de groupe
|
||||
<?php if($this->isin==1) { ?> coté, détention minimum à 50%.<?php }?>
|
||||
<?php if($this->isin==0) { ?> détention minimum à 50%.<?php }?>
|
||||
</div>
|
||||
<div>Filiales, détention minimum à
|
||||
<?php if($this->pctMin==0) {?> Tout<?php }?>
|
||||
<?php if($this->pctMin==33) {?> 33%<?php }?>
|
||||
<?php if($this->pctMin==40) {?> 40%<?php }?>
|
||||
<?php if($this->pctMin==50) {?> 50%<?php }?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/libs/jstree/jstree.min.js"></script>
|
||||
<script src="/libs/html2canvas.js"></script>
|
||||
<script>
|
||||
$("#groups").jstree({
|
||||
"core" : { "html_titles" : true },
|
||||
"plugins" : ["themes", "json_data", "search"],
|
||||
"json_data" : { "data" : [<?=$this->data?>] },
|
||||
"search" : { "show_only_matches" : true },
|
||||
"themes" : {
|
||||
"theme" : "default",
|
||||
"url" : "/libs/jstree/themes/default/style.css",
|
||||
"dots" : true,
|
||||
"icons" : false
|
||||
}
|
||||
});
|
||||
|
||||
$(document).ready(function(){
|
||||
var target = $('#groups');
|
||||
html2canvas(target, {
|
||||
onrendered: function(canvas) {
|
||||
target.html(canvas);
|
||||
},
|
||||
});
|
||||
|
||||
window.print(); window.close();
|
||||
});
|
||||
</script>
|
||||
|
@ -0,0 +1,51 @@
|
||||
<div id="center">
|
||||
|
||||
<h1>LISTE DES JUGEMENTS RNCS</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SirenTexte($this->siren)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Jugements RNCS</h2>
|
||||
|
||||
<?php if ( count($this->Even)==0 ) { ?>
|
||||
<div class="paragraph">Aucun évènement n'est présent dans notre base</div>
|
||||
<?php } else { ?>
|
||||
<div class="paragraph">
|
||||
<table class="data">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>Type</th>
|
||||
<th>Label</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($this->Even as $item) {?>
|
||||
<tr>
|
||||
<td><?=$item->Date?></td>
|
||||
<td>
|
||||
<?php if ($item->Type == 'E') {?>Date du jugement<?php } ?>
|
||||
<?php if ($item->Type == 'M') {?>Mention au KBIS<?php } ?>
|
||||
</td>
|
||||
<td><?=$item->Label?></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
@ -0,0 +1,42 @@
|
||||
<?php if (count($this->docs)==0) {?>
|
||||
Aucun document.
|
||||
<?php } else {
|
||||
$limit = 3;
|
||||
foreach ( $this->docs as $key=>$doc ) {
|
||||
$class = ($key<$limit)?'first':'all';?>
|
||||
<div class="<?=$class?>" id="<?=$key ?>">
|
||||
<a target="_blank" href="<?=$this->url(array('module'=>'file', 'controller'=>'lien', 'action'=>'groupe',
|
||||
'q'=>$doc->url), 'default', true)?>" id="<?=$doc->date?>" class="lienDocDate"><?=$doc->label?></a>
|
||||
<?php if ($this->edition) {?>
|
||||
<a class="dialog" title="Supprimer le document" href="<?=$this->url(array('controller'=>'saisie', 'action'=>'liendoc',
|
||||
'mode'=>'delete', 'id'=>$doc->id), 'default', true)?>">
|
||||
<img style="vertical-align:middle;" src="/themes/default/images/interfaces/supprimer.png" />
|
||||
</a>
|
||||
<?php }?>
|
||||
<br/>
|
||||
</div>
|
||||
<?php }?>
|
||||
<div class="affiche" id="show" style="cursor:pointer;">Afficher tous les documents</div><br/>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
if (<?=$key?> >2) {
|
||||
$("div.affiche").show();
|
||||
} else {
|
||||
$("div.affiche").hide();
|
||||
}
|
||||
$("div.all").hide();
|
||||
});
|
||||
|
||||
$("div.affiche").on("click", function(){
|
||||
if ($(this).attr("id")=="show") {
|
||||
$(this).attr("id", "hide");
|
||||
$(this).text("Afficher les <?=$limit?> derniers documents");
|
||||
$("div.all").show();
|
||||
} else {
|
||||
$(this).attr("id", "show");
|
||||
$(this).text("Afficher tous les documents");
|
||||
$("div.all").hide();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<?php }?>
|
@ -0,0 +1,122 @@
|
||||
<div>
|
||||
<?php if ($this->result->PpPm == 'PP') {?>
|
||||
<strong>
|
||||
<?php if (!empty($this->result->civilite)) {?>
|
||||
<?=$this->result->civilite?>
|
||||
<?php }?>
|
||||
<?php if (!empty($this->result->nom)) {?>
|
||||
<?=$this->result->nom?>
|
||||
<?php }?>
|
||||
<?php if (!empty($this->result->prenom)) {?>
|
||||
<?=$this->result->prenom?>
|
||||
<?php }?>
|
||||
<?php if (!empty($this->result->nomUsage)) {?>
|
||||
(<?=$this->result->nomUsage?>)
|
||||
<?php }?>
|
||||
</strong><br/>
|
||||
<?php
|
||||
$message = '';
|
||||
if (!empty($this->result->naissanceDate) && $this->result->naissanceDate!='0000-00-00') {
|
||||
$date = new Zend_Date($this->result->naissanceDate, 'yyyy-MM-dd');
|
||||
$message = $message.' '.$this->translate("le").' '.$date->toString('dd/MM/yyyy');
|
||||
}
|
||||
|
||||
if (!empty($this->result->naissanceLieu) || !empty($this->result->naissanceDeptPays)) {
|
||||
$message = $message.' '.$this->translate("à").' '.$this->result->naissanceLieu.' '.$this->result->naissanceDeptPays;
|
||||
}
|
||||
|
||||
if ($message!='') {
|
||||
if ($this->result->civilite=='' || $this->result->civilite==null) {
|
||||
$message = $this->translate("Né(e)").' '.$message;
|
||||
} else if ($this->result->civilite=='M') {
|
||||
$message = $this->translate("Né").' '.$message;
|
||||
} else {
|
||||
$message = $this->translate("Née").' '.$message;
|
||||
}?>
|
||||
<?=$message;?>
|
||||
<?php } ?>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<?=$this->result->raisonSociale?>
|
||||
<?php if (intval($this->result->siren)!=0) {?> (<?=$this->result->siren?>)<?php }?>
|
||||
<?php if ($this->result->actif==0) {?> (inactif)<?php }?>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<?php if($this->edition) { ?>
|
||||
<br/>
|
||||
<a class="dialogFiche" title="Edition fiche" href="<?=$this->url(array('controller'=>'saisie', 'action'=>'lienfiche',
|
||||
'idFiche'=>$this->idFiche),'default',true)?>">Editer la fiche</a>
|
||||
<script>
|
||||
$('a.dialogFiche').on('click', function(e){
|
||||
e.preventDefault();
|
||||
$('div.qtip').hide();
|
||||
$('#dialog').remove();
|
||||
var href = $(this).attr('href');
|
||||
if (href!='#') {
|
||||
var title = $(this).attr('title');
|
||||
var dialogOpts = {
|
||||
bgiframe: true,
|
||||
title: title,
|
||||
width: 650,
|
||||
height: 600,
|
||||
modal: true,
|
||||
open: function(event, ui) {
|
||||
$(this).html('Chargement...');
|
||||
$(this).load(href);
|
||||
},
|
||||
close: function() { $('#dialog').remove(); }
|
||||
};
|
||||
$('<div id="dialog"></div>').dialog(dialogOpts);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<?php }?>
|
||||
|
||||
<?php if ( $this->idFiche>=1000 ) {?>
|
||||
|
||||
<div><b>Coordonnées : </b></div>
|
||||
<div><?=($this->result->adresseNum==0) ? '' : $this->result->adresseNum . ' ' .
|
||||
$this->result->adresseBtq. ' ' . $this->result->adresseCodeVoie. ' ' .
|
||||
$this->result->adresseLibVoie?></div>
|
||||
<div><?=$this->result->adressComp?></div>
|
||||
<div><?=$this->result->adresseCp . ' ' . $this->result->adresseVille?></div>
|
||||
<div>
|
||||
<?php
|
||||
if ( array_key_exists($this->result->adressePays, $this->countries))
|
||||
echo $this->countries[$this->result->adressePays];
|
||||
else
|
||||
echo $this->result->adressePays;
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if ($this->result->isin ) {?>
|
||||
<div><b>Isin:</b>
|
||||
<?=$this->result->isin;?>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if (count($this->result->identification->item)>0) {?>
|
||||
<div><b>Identifiants nationaux</b></div>
|
||||
<?php foreach ($this->result->identification->item as $id) {?>
|
||||
<div><?=$id->label?> - <?=$id->num?></div>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($this->result->PpPm == 'PP') {
|
||||
$param = array(
|
||||
'controller'=>'recherche',
|
||||
'action'=>'dirigeant',
|
||||
'dirNom'=>$this->result->nom,
|
||||
'dirPrenom'=>$this->result->prenom,
|
||||
'dirDateNaissJJ'=>$date?$date->get('dd'):'',
|
||||
'dirDateNaissMM'=>$date?$date->get('MM'):'',
|
||||
'dirDateNaissAAAA'=>$date?$date->get('YYYY'):''
|
||||
);
|
||||
?>
|
||||
<br/><a href="<?=$this->url($param,'default',true);?>">Lancer une recherche dirigeant</a>
|
||||
<?php } ?>
|
||||
|
||||
<?php }?>
|
@ -0,0 +1,392 @@
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<div id="center">
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<h1>LIENS INTER-ENTREPRISES</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<?php if ($this->siren) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SirenTexte($this->siren)?></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php if ($this->isin) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">ISIN</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->isin?></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php if (isset ($this->identification->item) && count($this->identification->item)>0) {?>
|
||||
<?php foreach ($this->identification->item as $id) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib"><?=$id->label?></td>
|
||||
<td width="350" class="StyleInfoData"><?=$id->num?></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<?php if ($this->actif) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Actif</td>
|
||||
<td width="350" class="StyleInfoData"><?=($this->actif==1) ? 'Oui' : 'Non'?></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php if ($this->liengroupe) { ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="2" class="StyleInfoLib">
|
||||
<a id="groupesarbo" title="Arborescence du groupe" href="<?=$this->liengroupe?>">Organigramme du groupe</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib" valign="top">Documents</td>
|
||||
<td width="350" class="StyleInfoLib">
|
||||
<?php
|
||||
if ($this->siren) {
|
||||
echo $this->action('liendoc', 'identite', null, array('id'=>$this->siren, 'type'=>'Siren'));
|
||||
} else {
|
||||
echo $this->action('liendoc', 'identite', null, array('id'=>$this->lienref, 'type'=>'Entreprise'));
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
<?php if ($this->edition) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib"></td>
|
||||
<td width="350" class="StyleInfoLib">
|
||||
<?php
|
||||
if ($this->siren) {
|
||||
$href = $this->url(array('controller'=>'saisie','action'=>'liendoc','siren'=>$this->siren, 'type'=>'Entreprise'), 'default', true);
|
||||
} else {
|
||||
$href = $this->url(array('controller'=>'saisie','action'=>'liendoc','idLien'=>$this->lienref, 'type'=>'Entreprise'), 'default', true);
|
||||
}
|
||||
?>
|
||||
<a class="dialog" title="Lier un document" href="<?=$href?>">
|
||||
<img style="vertical-align:middle;" src="/themes/default/images/interfaces/page_white_put.png" />
|
||||
Lier un document (organigramme du groupe)
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib"></td>
|
||||
<td width="350" class="StyleInfoLib">
|
||||
<?php
|
||||
if ($this->siren) {
|
||||
$href = $this->url(array('controller'=>'saisie', 'action'=>'lienfiche', 'siren'=>$this->siren),null,true);
|
||||
$hrefSuppr = $this->url(array('controller'=>'saisie', 'action'=>'liendelete', 'siren'=>$this->siren),null,true);
|
||||
} else {
|
||||
$href = $this->url(array('controller'=>'saisie', 'action'=>'lienfiche', 'idFiche'=>$this->lienref),null,true);
|
||||
$hrefSuppr = $this->url(array('controller'=>'saisie', 'action'=>'liendelete', 'idFiche'=>$this->lienref),null,true);
|
||||
}
|
||||
?>
|
||||
<a class="dialog" title="Edition fiche" href="<?=$href?>">Editer la fiche</a>
|
||||
<a class="confirm" title="Fiche suppression" href="<?=$hrefSuppr; ?>">Supprimer la fiche</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ($this->surveillance) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" width="550" class="StyleInfoData">
|
||||
<?=$this->action('infos','surveillance', null, array(
|
||||
'source' => 'liens',
|
||||
'siret' => $this->siret
|
||||
))?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php if ($this->PP) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib"></td>
|
||||
<td width="350" class="StyleInfoLib">
|
||||
<?php
|
||||
$date = new Zend_Date($this->naissanceDate, 'YYYY-MM-dd');
|
||||
$param = array(
|
||||
'controller'=>'recherche',
|
||||
'action'=>'dirigeant',
|
||||
'dirNom'=>$this->nom,
|
||||
'dirPrenom'=>$this->prenom,
|
||||
'dirDateNaissJJ' =>$date?$date->get('dd'):'',
|
||||
'dirDateNaissMM' =>$date?$date->get('MM'):'',
|
||||
'dirDateNaissAAAA' =>$date?$date->get('YYYY'):''
|
||||
); ?>
|
||||
<a href="<?=$this->url($param,'default',true);?>">Lancer une recherche dirigeant</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php $liste = array('actionnaires', 'participations');?>
|
||||
<style>
|
||||
a.lienNom{color:#535353;}
|
||||
a.lienNom:link{color:#535353;}
|
||||
a.lienNom:hover{color:#535353;}
|
||||
a.lienNom:active{color:#535353;}
|
||||
a.lienNom:visited {color:#535353;}
|
||||
</style>
|
||||
|
||||
<?php foreach ($liste as $part) {?>
|
||||
|
||||
<?php if ($part == 'actionnaires') {?>
|
||||
<h2>Actionnariat</h2>
|
||||
<?php } else {?>
|
||||
<h2>Participations</h2>
|
||||
<?php }?>
|
||||
|
||||
<div class="paragraph">
|
||||
|
||||
<?php if ($this->PP && $part == 'actionnaires') {?>
|
||||
|
||||
Cette entreprise est une personne physique exerçant son activité en nom propre sous la forme d'une entreprise individuelle.
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<?php if (empty($this->AutrePage) && $this->edition) {?>
|
||||
<?php if ($part == 'actionnaires') {?>
|
||||
<div style="line-height:16px;">
|
||||
<a class="dialog" title="Ajouter un actionnaire" href="<?=$this->url(array('controller'=>'saisie','action'=>'lien','type'=>'actionnaire','mode'=>'add','siren'=>$this->siren,'lienref'=>$this->lienref), null, true)?>">
|
||||
<img style="vertical-align:middle;" src="/themes/default/images/interfaces/ajouter.png" /> Ajouter un actionnaire</a>
|
||||
</div>
|
||||
<?php } else {?>
|
||||
<div style="line-height:16px;">
|
||||
<a class="dialog" title="Ajouter une participation" href="<?=$this->url(array('controller'=>'saisie','action'=>'lien','type'=>'participation','mode'=>'add','siren'=>$this->siren,'lienref'=>$this->lienref), null, true)?>">
|
||||
<img style="vertical-align:middle;" src="/themes/default/images/interfaces/ajouter.png" /> Ajouter une participation</a>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
|
||||
<?php if ( count($this->$part)>0 ) {?>
|
||||
<table class="data">
|
||||
<?php foreach ($this->$part as $lien) {?>
|
||||
<?php
|
||||
$trStyle = '';
|
||||
if ($this->edition && $this->DateForRecentLien->isEarlier($lien->date)){
|
||||
$trStyle = ' style="background-color: #D9EDF7;"';
|
||||
}
|
||||
?>
|
||||
<tr<?=$trStyle?>>
|
||||
<td class="StyleInfoData" width="50">
|
||||
<?php
|
||||
if ($lien->PDetention>0) echo $lien->PDetention.' %';
|
||||
elseif ($lien->MajMin=='+') echo 'major.'; // Traiter l'affichage ou les arbres comme si %=51
|
||||
elseif ($lien->MajMin=='-') echo 'minor.';
|
||||
elseif ($lien->MajMin=='C') echo 'contrôle'; // Traiter l'affichage ou les arbres comme si %=51
|
||||
elseif ($lien->MajMin=='S') echo 'scission'; // Traiter l'affichage ou les arbres comme si %=0
|
||||
elseif ($lien->MajMin=='F') echo 'absorption'; // Traiter l'affichage ou les arbres comme si %=100
|
||||
elseif ($lien->MajMin=='P') echo 'projet fusion'; // Traiter l'affichage ou les arbres comme si %=100
|
||||
elseif ($lien->MajMin=='T') echo 'TUP'; // Traiter l'affichage ou les arbres comme si %=100
|
||||
elseif ($lien->MajMin=='L') echo 'tutelle';
|
||||
elseif ($lien->MajMin=='E') echo 'franchise';
|
||||
elseif ($lien->MajMin=='M') echo 'membre';
|
||||
// elseif ($lien->MajMin=='A') echo 'absorbant';
|
||||
else echo ' ';
|
||||
?>
|
||||
</td>
|
||||
<td class="StyleInfoLib lienfiche" id="<?=$lien->idFiche?>" width="350">
|
||||
<?php if (intval($lien->siren)!=0) {?>
|
||||
<a class="lienNom" href="<?=$this->url(array('controller'=>'identite','action'=>'liens','siret'=>$lien->siren), null, true)?>">
|
||||
<?php } else {?>
|
||||
<a class="lienNom" href="<?=$this->url(array('controller'=>'identite','action'=>'liens','lienref'=>$lien->idFiche), null, true)?>">
|
||||
<?php }?>
|
||||
<?=$lien->nom?>
|
||||
<?php if($lien->sigle) echo " (".$lien->sigle.")"; ?>
|
||||
</a>
|
||||
</td>
|
||||
<td class="StyleInfoData" width="150">
|
||||
<?php
|
||||
if ( !empty($lien->siren) && intval($lien->siren)!=0 ) {
|
||||
$href = $this->url(array(
|
||||
'controller' => 'identite',
|
||||
'action' => 'fiche',
|
||||
'siret' => $lien->siren
|
||||
), 'default', true);
|
||||
echo 'Siren <a href="'.$href.'">'.$this->SirenTexte($lien->siren).'</a>';
|
||||
}
|
||||
else ' ';
|
||||
|
||||
if ($lien->pays!='France') echo ' <b>'.$lien->pays.'</b>';
|
||||
//@todo : Afficher les identifiants pays
|
||||
|
||||
?>
|
||||
</td>
|
||||
<?php if (empty($this->AutrePage) && $this->edition) {?>
|
||||
<td width="150">
|
||||
<a class="documentsLien" title="Documents associés" href="<?=$this->url(array('controller'=>'identite','action'=>'liendoc','id'=>$lien->id,'type'=>'Lien'), null, true)?>">+</a>
|
||||
<?php if ($part == 'actionnaires') {?>
|
||||
<a class="dialog" title="Fusionner/Déplacer actionnaire" href="<?=$this->url(array('controller'=>'saisie','action'=>'lienchange','mode'=>'moveact','idLien'=>$lien->id,'lienref'=>$lien->idFiche), null, true)?>"><img src="/themes/default/images/interfaces/page_swap.png" /></a>
|
||||
<a class="dialog" title="Modifier actionnaire" href="<?=$this->url(array('controller'=>'saisie','action'=>'lien','type'=>'actionnaire','mode'=>'edit','siren'=>$this->siren,'idLien'=>$lien->id), null, true)?>"><img src="/themes/default/images/interfaces/editer.png" /></a>
|
||||
<a class="dialog" title="Supprimer actionnaire" href="<?=$this->url(array('controller'=>'saisie','action'=>'lien','type'=>'actionnaire','mode'=>'delete','siren'=>$this->siren,'idLien'=>$lien->id), null, true)?>"><img src="/themes/default/images/interfaces/supprimer.png" /></a>
|
||||
<?php } else {?>
|
||||
<a class="dialog" title="Fusionner/Déplacer participation" href="<?=$this->url(array('controller'=>'saisie','action'=>'lienchange','mode'=>'movepar','idLien'=>$lien->id,'lienref'=>$lien->idFiche), null, true)?>"><img src="/themes/default/images/interfaces/page_swap.png" /></a>
|
||||
<a class="dialog" title="Modifier participation" href="<?=$this->url(array('controller'=>'saisie','action'=>'lien','type'=>'participation','mode'=>'edit','siren'=>$this->siren,'idLien'=>$lien->id), null, true)?>"><img src="/themes/default/images/interfaces/editer.png" /></a>
|
||||
<a class="dialog" title="Supprimer participation" href="<?=$this->url(array('controller'=>'saisie','action'=>'lien','type'=>'participation','mode'=>'delete','siren'=>$this->siren,'idLien'=>$lien->id), null, true)?>"><img src="/themes/default/images/interfaces/supprimer.png" /></a>
|
||||
<?php }?>
|
||||
<a class="dialog" title="Lier un document" href="<?=$this->url(array('controller'=>'saisie','action'=>'liendoc','idLien'=>$lien->id,'type'=>'Lien'), null, true)?>"><img src="/themes/default/images/interfaces/page_white_put.png" /></a>
|
||||
</td>
|
||||
<?php }?>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
<?php } else {?>
|
||||
<?php if ($part == 'actionnaires') {?>
|
||||
<div>Aucun actionnaire référencé par nos services.</div>
|
||||
<?php if ($this->lienStatuts) {?>
|
||||
<?php if ($this->lienStatuts && $this->FJ1) {?>
|
||||
<div>Afin d’identifier l'unique actionnaire de cette entreprise, consulter ses <a href="<?=$this->lienStatuts?>">statuts</a>.</div>
|
||||
<?php } elseif ($this->lienStatuts) {?>
|
||||
<div>Afin d’identifier les actionnaires de cette entreprise, consulter ses <a href="<?=$this->lienStatuts?>">statuts</a>.</div>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<?php } else {?>
|
||||
<div>Aucune participation référencée par nos services.</div>
|
||||
<?php if ($this->lienBilans) {?>
|
||||
<?php if ($this->lienStatuts) {?>
|
||||
<div>Afin d’identifier les participations de cette entreprise, consulter son <a href="<?=$this->lienBilans?>">dernier bilan publié</a>.</div>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php if ( count($this->directions)>0 ) {?>
|
||||
<h2>Fonctions de directions</h2>
|
||||
<div class="paragraph">
|
||||
<table class="data">
|
||||
<?php foreach ($this->directions as $lien) {?>
|
||||
<tr>
|
||||
<td class="StyleInfoData" width="100" valign="top"><strong><?=$lien->fonction?> de</strong></td>
|
||||
<td class="StyleInfoData" width="500">
|
||||
<b><?=$lien->nom?></b>
|
||||
<?php if ( $lien->dirNom!='' ) {?>
|
||||
<br/>représenté par <b><?=$lien->dirNom?></b>
|
||||
<?php if( $lien->dirNaissDate && $lien->dirNaissDate!='0000-00-00' ) {?>
|
||||
née le <?=substr($lien->dirNaissDate,8,2).'/'.substr($lien->dirNaissDate,5,2).'/'.substr($lien->dirNaissDate,0,4)?><?php }?>
|
||||
<?php if( $lien->dirNaissLieu ) {?> à <b><?=$lien->dirNaissLieu?></b> <?php }?>
|
||||
<?php }?>
|
||||
</td>
|
||||
<td class="StyleInfoData" width="150" valign="top">
|
||||
<?php if ( !empty($lien->siren) && intval($lien->siren)!=0 ) {
|
||||
$href = $this->url(array(
|
||||
'controller' => 'identite',
|
||||
'action' => 'fiche',
|
||||
'siret' => $lien->siren
|
||||
), 'default', true);
|
||||
echo 'Siren <a href="'.$href.'">'.$this->SirenTexte($lien->siren).'</a>';
|
||||
}?>
|
||||
<?php if (empty($this->AutrePage) && $this->edition && intval($lien->siren)!=0) {?>
|
||||
<div style="line-height:16px;">
|
||||
<a class="dialog" title="Ajouter une participation" href="<?=$this->url(array('controller'=>'saisie','action'=>'lien','type'=>'participation','mode'=>'add','siren'=>$this->siren,'lienref'=>$this->lienref,'createfiche'=>$lien->siren),null,true)?>">
|
||||
<img style="vertical-align:middle;" src="/themes/default/images/interfaces/ajouter.png" /></a>
|
||||
</div>
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<script>
|
||||
$('td.lienfiche').each(function(){
|
||||
$(this).qtip({
|
||||
hide: { event: 'unfocus' },
|
||||
show: { solo: true, delay: 2000 },
|
||||
content: { title: {button: true}, text: "Chargement...",
|
||||
ajax: { url: '<?=$this->url(array('controller'=>'identite','action'=>'lienfiche'),null,true)?>/idFiche/'+$(this).attr('id') } },
|
||||
position: { my: "bottom left", at: "top left" }
|
||||
});
|
||||
});
|
||||
|
||||
<?php if ($this->edition) {?>
|
||||
$('a.documentsLien').on('click', function(e){
|
||||
e.preventDefault();
|
||||
var tr = $(this).parents('tr');
|
||||
var href = $(this).attr('href');
|
||||
$(this).remove();
|
||||
var contentB = '<tr><td width="30"> </td><td width="300"class="StyleInfoData">';
|
||||
var contentE = '</td><td></td</tr>';
|
||||
$.post(href, function(data){ tr.after(contentB + data + contentE); });
|
||||
});
|
||||
|
||||
$('a.dialog').on('click', function(){
|
||||
var href = $(this).attr('href');
|
||||
if (href!='#') {
|
||||
var docDate = '';
|
||||
$('a.lienDocDate').each(function(index) {
|
||||
docDate = $(this).attr('id');
|
||||
return false;
|
||||
});
|
||||
if (docDate!='') {
|
||||
href = href + '/date/' + docDate;
|
||||
}
|
||||
var title = $(this).attr('title');
|
||||
var dialogOpts = {
|
||||
bgiframe: true,
|
||||
title: title,
|
||||
width: 650,
|
||||
height: 600,
|
||||
modal: true,
|
||||
open: function(event, ui) {
|
||||
$(this).html('Chargement...');
|
||||
$(this).load(href);
|
||||
},
|
||||
buttons: {
|
||||
Quitter: function() { $(this).dialog('close'); }
|
||||
},
|
||||
close: function() { $('#dialog').remove(); }
|
||||
};
|
||||
$('<div id="dialog"></div>').dialog(dialogOpts);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
$( "a.confirm" ).on('click', function(e){
|
||||
e.preventDefault();
|
||||
var href = $(this).attr('href');
|
||||
var dialogOpts = {
|
||||
bgiframe: true,
|
||||
resizable: false,
|
||||
title: $(this).attr('title'),
|
||||
height: 140,
|
||||
modal: true,
|
||||
open: function(event, ui) {
|
||||
$(this).html('Chargement...');
|
||||
$(this).load(href);
|
||||
},
|
||||
buttons: { "Fermer": function() { $(this).dialog("close"); }},
|
||||
close: function() { $('#confirm').remove(); }
|
||||
};
|
||||
$('<div id="confirm"></div>').dialog(dialogOpts);
|
||||
return false;
|
||||
});
|
||||
<?php }?>
|
||||
</script>
|
||||
<?php }?>
|
@ -0,0 +1,16 @@
|
||||
<?php if(!$this->disable):?>
|
||||
<div id="news">
|
||||
<h2>Information presse (Source Google News ©)</h2>
|
||||
<div id="paragraph">
|
||||
<ul>
|
||||
<?php foreach($this->items as $item):?>
|
||||
<li style="padding-top:2px;">
|
||||
<a target="_blank" href="<?=$item->link()?>">
|
||||
Le <?=$this->NewsDate($item->pubDate())?> - <?=$item->title()?>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach;?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif;?>
|
@ -0,0 +1,115 @@
|
||||
<?php if ($this->tooltip) {?>
|
||||
|
||||
<?php if ($this->hasRight){ ?>
|
||||
|
||||
<div style="padding-left:20px;">
|
||||
<?php if (!empty($this->RNVP->L1)) {?><?=$this->RNVP->L1?></br><?php }?>
|
||||
<?php if (!empty($this->RNVP->L2)) {?><?=$this->RNVP->L2?></br><?php }?>
|
||||
<?php if (!empty($this->RNVP->L3)) {?><?=$this->RNVP->L3?></br><?php }?>
|
||||
<?php if (!empty($this->RNVP->L4)) {?><?=$this->RNVP->L4?></br><?php }?>
|
||||
<?php if (!empty($this->RNVP->L5)) {?><?=$this->RNVP->L5?></br><?php }?>
|
||||
<?php if (!empty($this->RNVP->L6)) {?><?=$this->RNVP->L6?></br><?php }?>
|
||||
<?php if (!empty($this->RNVP->L7)) {?><?=$this->RNVP->L7?></br><?php }?>
|
||||
</div>
|
||||
|
||||
<p><a href="<?=$this->url(array('controller'=>'identite', 'action'=>'rnvp', 'id'=>$this->id, 'siret'=>$this->siret),
|
||||
'default', true)?>">Détails techniques</a></p>
|
||||
|
||||
<?php } else {?>
|
||||
<p>Vous n'avez pas les droits nécessaires pour afficher cette information.</p>
|
||||
<?php }?>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<div id="center">
|
||||
|
||||
<h1>Restructuration, Normalisation et Validation Postale</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant SIRET</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SiretTexte($this->siret)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Adresse source officielle</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->adresse?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Adresse normalisée</h2>
|
||||
|
||||
<?php if ($this->hasRight){ ?>
|
||||
<div class="paragraph">
|
||||
<table class="data">
|
||||
<tbody>
|
||||
<tr><td>L1</td><td><?=$this->RNVP->L1?></td></tr>
|
||||
<tr><td>L2</td><td><?=$this->RNVP->L2?></td></tr>
|
||||
<tr><td>L3</td><td><?=$this->RNVP->L3?></td></tr>
|
||||
<tr><td>L4</td><td><?=$this->RNVP->L4?></td></tr>
|
||||
<tr><td>L5</td><td><?=$this->RNVP->L5?></td></tr>
|
||||
<tr><td>L6</td><td><?=$this->RNVP->L6?></td></tr>
|
||||
<tr><td>L7</td><td><?=$this->RNVP->L7?></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Informations sur le traitement</h2>
|
||||
<div class="paragraph">
|
||||
<table class="data">
|
||||
<tbody>
|
||||
<tr><td>Date de traitement</td><td><?=$this->RNVP->ProcessDate?></td></tr>
|
||||
<tr>
|
||||
<td>Code de traitement</td>
|
||||
<td>
|
||||
<?=$this->RNVP->ProcessCode?>
|
||||
<?php if ($this->RNVP->ProcessCode == 'ND') {?> - Adresse non définie<?php }?>
|
||||
<?php if ($this->RNVP->ProcessCode == 'KO') {?> - Adresse rejetée<?php }?>
|
||||
<?php if ($this->RNVP->ProcessCode == 'OK') {?> - Adresse normalisée<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>Libellé de traitement</td><td><?=$this->RNVP->ProcessLabel?></td></tr>
|
||||
<tr><td>Code Qualité</td><td><?=$this->RNVP->QualityCode?></td></tr>
|
||||
<tr><td>Libellé Qualité</td><td><?=$this->RNVP->QualityLabel?></td></tr>
|
||||
<tr><td>Hexavia</td><td><?=$this->RNVP->GeoHexavia?></td></tr>
|
||||
<tr><td>Hexapost</td><td><?=$this->RNVP->GeoHexapost?></td></tr>
|
||||
<tr><td>Hexacle</td><td><?=$this->RNVP->GeoHexacle?></td></tr>
|
||||
<tr><td>Cedexa</td><td><?=$this->RNVP->CedexaMatricule?></td></tr>
|
||||
<tr><td>Date de mise à jour</td><td><?=$this->RNVP->DateUpdate?></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Informations des référentiels géographiques</h2>
|
||||
<div class="paragraph">
|
||||
<table class="data">
|
||||
<tbody>
|
||||
<tr><td>Code Commune Insee</td><td><?=$this->RNVP->GeoInseeCommune?></td></tr>
|
||||
<tr><td>Departement</td><td><?=$this->RNVP->GeoDepartement?></td></tr>
|
||||
<tr><td>Code Rivoli</td><td><?=$this->RNVP->GeoRivoliCode?></td></tr>
|
||||
<tr><td>Ilot</td><td><?=$this->RNVP->GeoIlot?></td></tr>
|
||||
<tr><td>Iris</td><td><?=$this->RNVP->GeoIris?></td></tr>
|
||||
<tr><td>Canton</td><td><?=$this->RNVP->GeoCanton?></td></tr>
|
||||
<tr><td>L5 Géographique</td><td><?=$this->RNVP->CedexaGeoL5?></td></tr>
|
||||
<tr><td>Code postal et commune géographique</td><td><?=$this->RNVP->CedexaGeoL6?></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php } else {?>
|
||||
<div class="paragraph">
|
||||
<p>Vous n'avez pas les droits nécessaires pour afficher cette information.</p>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
@ -0,0 +1,46 @@
|
||||
<?php if ($this->url) {?>
|
||||
|
||||
<div id="legende-photo">Cliché à l'approche de l'adresse postale.</div>
|
||||
<img id="streetview" data-cache="<?=$this->cache?>" data-saveas="<?=$this->saveas?>" src="<?=$this->url?>"
|
||||
width="320" height="320" />
|
||||
<script>
|
||||
$('img#streetview').on('load', function() {
|
||||
var cache = $(this).data('cache');
|
||||
var saveas = $(this).data('saveas');
|
||||
if (cache == 0) {
|
||||
var img = document.getElementById("streetview");
|
||||
img.crossOrigin = "Anonymous";
|
||||
var canvas = document.createElement("canvas");
|
||||
canvas.width = img.width; canvas.height = img.height;
|
||||
ctx = canvas.getContext("2d");
|
||||
ctx.drawImage(img, 0, 0, img.width, img.height);
|
||||
var dataURL = canvas.toDataURL('image/jpeg');
|
||||
$.post('<?=$this->url(array('module'=>'file', 'controller'=>'streetview', 'action'=>'save'),'default', true)?>',
|
||||
{ name: saveas, base64: dataURL });
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php if ($this->AuthorizeUpdate) {?>
|
||||
<div>
|
||||
<a class="street-heading" href="<?=$this->url(array('controller'=>'identite','action'=>'streetview',
|
||||
'siret'=> $this->siret, 'lat'=>$this->lat, 'lon'=>$this->lon, 'heading'=>$this->pagePrec),
|
||||
'default', true)?>"><</a> - <a class="street-heading" href="<?=$this->url(array('controller'=>'identite',
|
||||
'action'=>'streetview', 'siret'=> $this->siret, 'lat'=>$this->lat, 'lon'=>$this->lon,
|
||||
'heading'=>$this->pageSuiv), 'default', true)?>">></a>
|
||||
</div>
|
||||
<script>
|
||||
$('a.street-heading').click(function(e){
|
||||
e.preventDefault();
|
||||
$('#infogeo_photo').load($(this).attr('href'));
|
||||
});
|
||||
</script>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($this->AuthorizeUpdate) {?>
|
||||
<div>
|
||||
<a class="street-original" href="#">Original</a> - <a class="street-upload" href="#">Upload</a>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
Loading…
Reference in New Issue
Block a user