Legal - Finance Controller
This commit is contained in:
parent
4ed8584867
commit
75191b3569
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,53 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">RELATIONS BANCAIRES</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SirenTexte($this->siren)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Liste des relations bancaires</h2>
|
||||
<div class="paragraph">
|
||||
<?php if(count($this->banques)>0) { ?>
|
||||
<table class="data">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nom de la Banque</th>
|
||||
<th>Adresse</th>
|
||||
<th>Code Banque</th>
|
||||
<th>Code Guichet</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($this->banques as $relation) { ?>
|
||||
<tr>
|
||||
<td valign="top" style="text-decoration:underline;"><?=$relation->libBanque?></td>
|
||||
<td>
|
||||
<?php if($relation->adresse1!='') {?>
|
||||
<?=$relation->adresse1?><br />
|
||||
<?php } ?>
|
||||
<?php if($relation->adresse2!='') {?>
|
||||
<?=$relation->adresse2?><br />
|
||||
<?php } ?> <?=$relation->cp?> <?=$relation->ville?>
|
||||
</td>
|
||||
<td align="center"><?php if( $relation->codeBanque*1!=0 ){ echo $relation->codeBanque; } ?></td>
|
||||
<td align="center"><?php if( $relation->codeGuichet*1!=0 ){ echo $relation->codeGuichet; }?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php } else { ?>
|
||||
<p>Aucune information.</p>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php echo $this->render('cgu.phtml', $this->cgu);?>
|
||||
</div>
|
@ -0,0 +1,214 @@
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<div id="center">
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<h1>ÉLÉMENTS FINANCIERS - BILANS</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">
|
||||
<?php echo $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"><?php echo $this->raisonSociale;?></td>
|
||||
</tr>
|
||||
<?php if (isset($this->tabResultActif) && isset($this->tabResultPassif) && isset($this->tabResultSig)){?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Type de bilans</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?php if ($this->nbBilanC==0){?>
|
||||
Réel normal ou Simplifié
|
||||
<?php } elseif ($this->nbBilanN==0){?>
|
||||
Consolidé
|
||||
<?php } else {?>
|
||||
<form>
|
||||
<select name="typeBilan">
|
||||
<option value="N"<?=($this->typeBilan=='N')? ' selected' : '';?>>Réel normal ou Simplifié</option>
|
||||
<option value="C"<?=($this->typeBilan=='C')? ' selected' : '';?>>Consolidé</option>
|
||||
</select>
|
||||
</form>
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<div id="liasse-check-result" class="ui-state-highlight ui-corner-all" style="margin-top: 5px;">
|
||||
<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
|
||||
<a title="Cliquez ici pour vérifier l'intégration des éléments financiers"
|
||||
href="<?=$this->url(array('controller'=>'finance','action'=>'liasseinfos','siren'=>$this->siren), 'default', true)?>"
|
||||
id="liasse-check">Vérifier la disponibilité des derniers états financiers au Greffe.</a></p>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
|
||||
<?php if($this->typeBilan == 'B' || $this->typeBilan == 'A') {?>
|
||||
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" class="StyleInfoLib" width="200">Bilan de banque/assurance non gérés</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php } else { ?>
|
||||
|
||||
<?php if ($this->nbBilanN==0 && $this->nbBilanC==0) {?>
|
||||
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" class="StyleInfoLib" width="200">Aucun bilan disponible.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<h2>Bilan actif - passif</h2>
|
||||
<div class="paragraph">
|
||||
<table class="bilans">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Actif</th>
|
||||
<?php foreach($this->tabResultActif as $info) { ?>
|
||||
<th class="date" >
|
||||
<?=$info['dateCloture']?><br/><?=$info['duree']?>
|
||||
</th>
|
||||
<?php }?>
|
||||
<?php $lastDateCloture = $info['dateCloture']; ?>
|
||||
<th>% T.B.</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($this->tabRatioActif as $idRatio => $info) { ?>
|
||||
<tr<?php if (!empty($info['class'])) echo ' class="'.$info['class'].'"'?>>
|
||||
<td>
|
||||
<?=$info['titre']?></td>
|
||||
<?php foreach($this->tabResultActif as $value) { ?>
|
||||
<td class="left"><?=$value['entrep'][$idRatio]?></td>
|
||||
<?php }?>
|
||||
<td><?=$value['total'][$idRatio]?></td>
|
||||
<?php }?>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="paragraph">
|
||||
<?=$this->action('bilangraph', 'finance', null, array(
|
||||
'type' => 'actif',
|
||||
'typeBilan' => $this->typeBilan,
|
||||
'dateCloture' => $this->lastDateCloture,
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
))?>
|
||||
</div>
|
||||
|
||||
<div class="paragraph">
|
||||
<table class="bilans">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Passif</th>
|
||||
<?php foreach($this->tabResultPassif as $info) { ?>
|
||||
<th class="date" >
|
||||
<?=$info['dateCloture']?><br/><?=$info['duree']?>
|
||||
</th>
|
||||
<?php }?>
|
||||
<th>% T.B.</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($this->tabRatioPassif as $idRatio => $info) { ?>
|
||||
<tr<?php if (!empty($info['class'])) echo ' class="'.$info['class'].'"'?>>
|
||||
<td>
|
||||
<?=$info['titre']?></td>
|
||||
<?php foreach($this->tabResultPassif as $value) { ?>
|
||||
<td class="left"><?=$value['entrep'][$idRatio]?></td>
|
||||
<?php }?>
|
||||
<td><?=$value['total'][$idRatio]?></td>
|
||||
<?php }?>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="paragraph">
|
||||
<?=$this->action('bilangraph', 'finance', null, array(
|
||||
'type' => 'passif',
|
||||
'typeBilan' => $this->typeBilan,
|
||||
'dateCloture' => $this->lastDateCloture,
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
))?>
|
||||
</div>
|
||||
|
||||
<h2>Soldes Intermédiaire de Gestion</h2>
|
||||
<div class="paragraph">
|
||||
<table class="bilans">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">SOLDES INTERMEDIAIRE DE GESTION</th>
|
||||
<?php foreach($this->tabResultSig as $info) { ?>
|
||||
<th class="date" >
|
||||
<?=$info['dateCloture']?><br/><?=$info['duree']?>
|
||||
</th>
|
||||
<?php }?>
|
||||
<th>% C.A.</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($this->tabRatioSig as $idRatio => $info) { ?>
|
||||
<tr<?php if (!empty($info['class'])) echo ' class="'.$info['class'].'"'?>>
|
||||
<?php if(empty($info['op'])){?>
|
||||
<td colspan="2"><?=$info['titre']?></td>
|
||||
<?php } else {?>
|
||||
<td><?=$info['op']?></td><td><?=$info['titre']?></td>
|
||||
<?php }?>
|
||||
<?php foreach($this->tabResultSig as $value) { ?>
|
||||
<td class="left"><?=$value['entrep'][$idRatio]?></td>
|
||||
<?php }?>
|
||||
<td><?=$value['total'][$idRatio]?></td>
|
||||
<?php }?>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="paragraph">
|
||||
<?=$this->action('bilangraph', 'finance', null, array(
|
||||
'type' => 'sig',
|
||||
'typeBilan' => $this->typeBilan,
|
||||
'dateCloture' => $this->lastDateCloture,
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
))?>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
<?php }?>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
</div>
|
||||
<?php }?>
|
@ -0,0 +1,286 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">INFORMATIONS BOURSIÈRES</h1>
|
||||
<div class="paragraph">
|
||||
<table id="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>
|
||||
|
||||
<?php
|
||||
if ( !empty($this->InfosBourse->Isin) ) {
|
||||
//logo
|
||||
|
||||
if (trim($this->InfosBourse->Web)!='') {
|
||||
if (substr($this->InfosBourse->Web,0,7)!='http://'){
|
||||
$siteWeb = 'http://'.$this->InfosBourse->Web;
|
||||
} else {
|
||||
$siteWeb = $this->InfosBourse->Web;
|
||||
}
|
||||
}
|
||||
?>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Code ISIN</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?php
|
||||
echo $this->InfosBourse->Isin;
|
||||
if (trim($this->InfosBourse->CodeSicovam)*1>0)
|
||||
echo ' <b>(ancien code Sicovam : </b>'.$this->InfosBourse->CodeSicovam.'<b>)</b>';
|
||||
if ($this->edition) {
|
||||
echo ' <a href="'.$this->edition.'">(Edition)</a>';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Code Mnémo</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->InfosBourse->CodeMnemo?></td>
|
||||
</tr>
|
||||
<?php if( !empty($this->InfosBourse->CodeBloomberg) ){ ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Code Bloomberg</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->InfosBourse->CodeBloomberg?></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
|
||||
<?php if( !empty($this->InfosBourse->CodeDatastream) ) { ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Code Datastream</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->InfosBourse->CodeDatastream?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if( !empty($this->InfosBourse->CodeRic) ) { ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Code Ric</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->InfosBourse->CodeRic?></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Place de cotation</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->InfosBourse->placeCotation?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Marché</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->InfosBourse->Marche?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Nombre de titres</td>
|
||||
<td width="350" class="StyleInfoData"><?=number_format($this->InfosBourse->nombreTitres,0,'', ' ')?> titres</td>
|
||||
</tr>
|
||||
<?php
|
||||
switch (trim(strtoupper($this->InfosBourse->EligibleSRD)))
|
||||
{
|
||||
case 'O': $srd='Oui'; break;
|
||||
default: $srd='Non'; break;
|
||||
}
|
||||
switch (trim(strtoupper($this->InfosBourse->EligiblePEA)))
|
||||
{
|
||||
case 'O': $pea='Oui'; break;
|
||||
default: $pea='Non'; break;
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Éligible SRD / PEA</td>
|
||||
<td width="350" class="StyleInfoData"><?=$srd?> / <?=$pea?></td>
|
||||
</tr>
|
||||
<?php
|
||||
if ($this->urlImg!='') {
|
||||
?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Logo</td>
|
||||
<td width="350" class="StyleInfoData"><?php echo $this->urlImg; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Coordonnées</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=empty($this->InfosBourse->RaisonSociale) ? $this->raisonSociale : $this->InfosBourse->RaisonSociale;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Adresse</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->InfosBourse->Adresse?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Date d'introduction en bourse</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->InfosBourse->DateIntroduction?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Date dernière assemblée générale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->InfosBourse->DateDerAG?></td>
|
||||
</tr>
|
||||
<?php if (trim($this->InfosBourse->DateRadiation)<>'' && $this->InfosBourse->DateRadiation<>'0000-00-00') { ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Date de radiation</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->InfosBourse->DateRadiation?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Téléphone</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?php
|
||||
if (strlen(trim($this->InfosBourse->Tel))>5) echo $this->InfosBourse->Tel.' ';
|
||||
if (strlen(trim($this->InfosBourse->Tel2))>5) echo $this->InfosBourse->Tel2;
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Fax</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?php
|
||||
if (strlen(trim($this->InfosBourse->Fax))>5) echo $this->InfosBourse->Fax.' ';
|
||||
if (strlen(trim($this->InfosBourse->Fax2))>5) echo $this->InfosBourse->Fax2;
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ($siteWeb<>'') { ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Site Internet</td>
|
||||
<td width="350" class="StyleInfoData"><a href="<?=$siteWeb?>" target="_blank"><?=$siteWeb?></a></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php if (trim($this->InfosBourse->Mail)<>'') { ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Courriel</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<a href="mailto:<?=$this->InfosBourse->Mail;?>" target="_blank"><?=$this->InfosBourse->Mail?></a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Activité(s)</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Activité</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->InfosBourse->Activite?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Secteur</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->InfosBourse->Secteur?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" colspan="2" class="StyleInfoData"><?=str_replace("\n", '<br/>',$this->InfosBourse->ActiviteDet)?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Dernier cours</h2>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dernière cotation connue</td>
|
||||
<?php $date = new Zend_Date($this->InfosBourse->derCoursDate, 'yyyy-MM-dd');?>
|
||||
<td width="350" class="StyleInfoData"><?=$date->toString('dd/MM/yyyy')?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Clôture</td>
|
||||
<td width="350" class="StyleInfoData"><?=number_format($this->InfosBourse->derCoursCloture,2,',', ' ')?> €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Ouverture</td>
|
||||
<td width="350" class="StyleInfoData"><?=number_format($this->InfosBourse->derCoursOuverture,2,',', ' ')?> €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Plus haut</td>
|
||||
<td width="350" class="StyleInfoData"><?=number_format($this->InfosBourse->derCoursPlusHaut,2,',', ' ')?> €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Plus Bas</td>
|
||||
<td width="350" class="StyleInfoData"><?=number_format($this->InfosBourse->derCoursPlusBas,2,',', ' ')?> €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Volume échangé</td>
|
||||
<td width="350" class="StyleInfoData"><?=number_format($this->InfosBourse->derCoursVolume,0,'', ' ')?> titres (<?=number_format($this->InfosBourse->derCoursVolume/$this->InfosBourse->nombreTitres,2,',', ' ')?> %)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Capitalisation</td>
|
||||
<td width="350" class="StyleInfoData"><?=number_format($this->InfosBourse->capitalisation,2,',', ' ')?> €</td>
|
||||
</tr>
|
||||
<tr><td colspan="3"> </td></tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Minimum historique</td>
|
||||
<td width="350" class="StyleInfoData"><?=number_format($this->InfosBourse->coursMin,2,',', ' ')?> €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Maximum historique</td>
|
||||
<td width="350" class="StyleInfoData"><?=number_format($this->InfosBourse->coursMax,2,',', ' ')?> €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Cours moyen</td>
|
||||
<td width="350" class="StyleInfoData"><?=number_format($this->InfosBourse->coursMoy,2,',', ' ')?> €</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="580" class="StyleInfoLib" colspan="3"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="550" class="StyleInfoLib" colspan="2">
|
||||
Société non côtée en bourse à ce jour.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php echo $this->render('cgu.phtml', $this->cgu);?>
|
||||
</div>
|
@ -0,0 +1,91 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">Flux de Trésorerie <span style="color:red;">(beta)</span></h1>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="340" class="StyleInfoData"><?=$this->SirenTexte($this->siret)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="340" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
<?php if ($this->nbBilanN > 0 || $this->nbBilanC > 0) { ?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Type de bilans</td>
|
||||
<td width="340" class="StyleInfoData">
|
||||
<?php if ($this->nbBilanN > 0 && $this->nbBilanC > 0) { ?>
|
||||
<input type="radio" name="typeBilan" value="<?=$this->url(array(
|
||||
'controller'=>'finance', 'action'=>'flux',
|
||||
'siret'=>$this->siret, 'id'=>$this->id, 'type'=>'N'), 'default', true)?>"
|
||||
<?php if ($this->typeBilan == 'N') { echo ' checked'; }?>/><label>Réel normal ou Simplifié</label>
|
||||
<input type="radio" name="typeBilan" value="<?=$this->url(array(
|
||||
'controller'=>'finance', 'action'=>'flux',
|
||||
'siret'=>$this->siret, 'id'=>$this->id, 'type'=>'C'), 'default', true)?>"
|
||||
<?php if ($this->typeBilan == 'C') { echo ' checked'; }?>/><label>Consolidé</label>
|
||||
<?php } else if ($this->nbBilanN > 0 && $this->nbBilanC == 0) {?>
|
||||
Réel normal ou Simplifié
|
||||
<?php } else if ($this->nbBilanN == 0 && $this->nbBilanC > 0) {?>
|
||||
Consolidé
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
|
||||
<h2>Tableau des flux</h2>
|
||||
<div class="paragraph">
|
||||
<table class="bilans">
|
||||
<tr class="subhead">
|
||||
<td colspan="2"> </td>
|
||||
<?php foreach ($this->dateCloture as $k => $date) { ?>
|
||||
<td class="center" >
|
||||
<?=substr($date,6,2).'/'.substr($date,4,2).'/'.substr($date,0,4)?><br/>
|
||||
<?=$this->bilansInfos[$date]->duree?> mois</td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php
|
||||
foreach ($this->dataTable as $ratio) {
|
||||
$trClass = '';
|
||||
if ( empty($ratio['r']) ){
|
||||
$trClass = ' class="darkblue"';
|
||||
}
|
||||
|
||||
if ( isset($ratio['class']) && $ratio['class']=='subhead' ){
|
||||
$trClass = ' class="'.$ratio['class'].'"';
|
||||
}
|
||||
?>
|
||||
<tr<?=$trClass?>>
|
||||
<td><?=$ratio['op']?></td>
|
||||
<td><?=$ratio['titre']?></td>
|
||||
<?php foreach ($this->dateCloture as $k => $date) { ?>
|
||||
<td class="right">
|
||||
<?php if ( !empty($ratio['r']) ){ ?>
|
||||
<?=$ratio['values'][$date]?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<?php }?>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php if ($this->graph) {?>
|
||||
<div class="paragraph">
|
||||
<img src="/file/image/cache/q/<?=$this->graph?>" />
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?=$this->render('cgu.phtml', $this->cgu);?>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('input[name=typeBilan]').click(function(e){
|
||||
window.location.href = $(this).val();
|
||||
});
|
||||
});
|
||||
</script>
|
@ -0,0 +1,136 @@
|
||||
<div id="center">
|
||||
<h1>ELEMENTS FINANCIERS - BILANS</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>
|
||||
|
||||
<?php if ($this->edition) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2">
|
||||
<?php if(!empty($this->dateCloture)) {?>
|
||||
<a href="<?=$this->url(array('controller'=>'saisie', 'action'=>'liasse', 'siret'=>$this->siren,
|
||||
'selection'=>$this->dateCloture.':'.$this->champType), 'default', true)?>">
|
||||
Corriger le bilan</a><br/><?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($this->exportxls) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2">
|
||||
<a href="<?=$this->url(array(
|
||||
'controller' => 'finance',
|
||||
'action' => 'liassexls',
|
||||
'siret' => $this->siret,
|
||||
'unite' => $this->unite,
|
||||
'type' => $this->champType,
|
||||
'date' => $this->dateCloture,
|
||||
))?>" id="xls">Exporter en fichier Excel.</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<?php if ( $this->champType == 'S' ) {?>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
Ce bilan a été déposé au format réel simplifié mais vous est livré au format réel normal pour des raisons de
|
||||
standardisation.
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
switch ($this->champType) {
|
||||
case 'N' : $name = 'Réel Normal'; break;
|
||||
case 'S' : $name = 'Simplifié'; break;
|
||||
case 'C' : $name = 'Consolidé'; break;
|
||||
case 'A' : $name = 'Assurance'; break;
|
||||
case 'B' : $name = 'Banque'; break;
|
||||
}
|
||||
?>
|
||||
<h2>Liasse <?=$name?> - Millésime <?=substr($this->dateCloture,0,4)?> </h2>
|
||||
<div class="paragraph">
|
||||
<form method="post" action="<?=$this->url(array('controller'=>'finance','action'=>'liasse','siret'=>$this->siret,'id'=>$this->id))?>">
|
||||
Valeurs exprimées en
|
||||
<select name="unit">
|
||||
<?php foreach ($this->unit as $id => $titre):?>
|
||||
<option value="<?=$id?>"<?=($id==$this->unite)? ' selected': '';?>><?=$titre?></option>
|
||||
<?php endforeach;?>
|
||||
</select>
|
||||
<input type="submit" value="OK" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="paragraph">
|
||||
<?php if(empty($this->dateCloture)) {?>
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" class="StyleInfoLib" width="200">Impossible d'afficher le bilan.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php } else {?>
|
||||
|
||||
<div class="tabbed_area">
|
||||
<ul class="tabs">
|
||||
<?php foreach ($this->ancres as $id => $name) {?>
|
||||
<li><a href="#<?=$id?>" title="<?=$name?>" class="tab"><?=$name?></a></li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
|
||||
<?php if( in_array($this->champType, array('S', 'N', 'C')) ) {?>
|
||||
|
||||
<?php echo $this->partial('finance/liasse/2050.phtml', array(
|
||||
'liasse' => $this->liasse,
|
||||
'dateCloture' => $this->dateClotureD,
|
||||
'dateCloturePre' => $this->dateCloturePreD,
|
||||
'dureesMois' => $this->dureesMois,
|
||||
'dureesMoisPre'=> $this->dureesMoisPre,
|
||||
'unite'=> $this->unite,
|
||||
));?>
|
||||
|
||||
<?php } elseif ($this->champType == 'B') {?>
|
||||
|
||||
<?php echo $this->partial('finance/liasse/banque.phtml', array(
|
||||
'liasse' => $this->liasse,
|
||||
'dateCloture' => $this->dateClotureD,
|
||||
'dateCloturePre' => $this->dateCloturePreD,
|
||||
'dureesMois' => $this->dureesMois,
|
||||
'dureesMoisPre'=> $this->dureesMoisPre,
|
||||
'unite'=> $this->unite,
|
||||
));?>
|
||||
|
||||
<?php } elseif ($this->champType == 'A') {?>
|
||||
|
||||
<?php echo $this->partial('finance/liasse/assurance.phtml', array(
|
||||
'liasse' => $this->liasse,
|
||||
'dateCloture' => $this->dateClotureD,
|
||||
'dateCloturePre' => $this->dateCloturePreD,
|
||||
'dureesMois' => $this->dureesMois,
|
||||
'dureesMoisPre'=> $this->dureesMoisPre,
|
||||
'unite'=> $this->unite,
|
||||
));?>
|
||||
|
||||
<?php }?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
<?php echo $this->render('cgu.phtml', $this->cgu);?>
|
||||
</div>
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,79 @@
|
||||
<a name="actif">Actif</a>
|
||||
<table id="LiasseTable">
|
||||
<tr>
|
||||
<td align="right" colspan="2"><b>Exercices, clos le :</b></td>
|
||||
<td align="right"><b><?php echo $this->dateCloture;?></b></td>
|
||||
<td align="right"><b><?php echo $this->dateCloturePre;?></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Placements</td>
|
||||
<td align="center">AA1</td>
|
||||
<td align="right"><?php echo $this->liasse['AA1'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NA1'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bold">TOTAL ACTIF</td>
|
||||
<td align="center">AA2</td>
|
||||
<td align="right"><?php echo $this->liasse['AA2'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NA2'];?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="passif">Passif</a>
|
||||
<table id="LiasseTable">
|
||||
<tr>
|
||||
<td align="right" colspan="2"><b>Exercices, clos le :</b></td>
|
||||
<td align="right"><b><?php echo $this->dateCloture;?></b></td>
|
||||
<td align="right"><b><?php echo $this->dateCloturePre;?></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Capitaux propres</td>
|
||||
<td align="center">AP1</td>
|
||||
<td align="right"><?php echo $this->liasse['AP1'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NP1'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Provisions techniques brutes</td>
|
||||
<td align="center">AP2</td>
|
||||
<td align="right"><?php echo $this->liasse['AP2'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NP2'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bold">TOTAL PASSIF</td>
|
||||
<td align="center">AP3</td>
|
||||
<td align="right"><?php echo $this->liasse['AP3'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NP3'];?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<a name="compteDeResultat">Compte de resultat</a>
|
||||
<table id="LiasseTable">
|
||||
<tr>
|
||||
<td align="right" colspan="2"><b>Exercices, clos le :</b></td>
|
||||
<td align="right"><b><?php echo $this->dateCloture;?></b></td>
|
||||
<td align="right"><b><?php echo $this->dateCloturePre;?></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Primes - cotisations acquises</td>
|
||||
<td align="center">AR1</td>
|
||||
<td align="right"><?php echo $this->liasse['AR1'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NR1'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Charges des sinistres</td>
|
||||
<td align="center">AR2</td>
|
||||
<td align="right"><?php echo $this->liasse['AR2'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NR2'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Résultat technique</td>
|
||||
<td align="center">AR3</td>
|
||||
<td align="right"><?php echo $this->liasse['AR3'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NR3'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Résultat de l'exercice</td>
|
||||
<td align="center">AR4</td>
|
||||
<td align="right"><?php echo $this->liasse['AR4'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NR5'];?></td>
|
||||
</tr>
|
||||
</table>
|
@ -0,0 +1,114 @@
|
||||
<a name="actif">Actif</a>
|
||||
<table id="LiasseTable">
|
||||
<tr>
|
||||
<td align="right" colspan="2"><b>Exercices, clos le :</b></td>
|
||||
<td align="right"><b><?php echo $this->dateCloture;?></b></td>
|
||||
<td align="right"><b><?php echo $this->dateCloturePre;?></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Créances sur les établissements de crédit</td>
|
||||
<td align="center">BA1</td>
|
||||
<td align="right"><?php echo $this->liasse['BA1'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NA1'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Créances sur la clientèle</td>
|
||||
<td align="center">BA2</td>
|
||||
<td align="right"><?php echo $this->liasse['BA2'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NA2'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bold">TOTAL ACTIF</td>
|
||||
<td align="center">BA3</td>
|
||||
<td align="right"><?php echo $this->liasse['BA3'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NA3'];?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="passif">Passif</a>
|
||||
<table id="LiasseTable">
|
||||
<tr>
|
||||
<td align="right" colspan="2"><b>Exercices, clos le :</b></td>
|
||||
<td align="right"><b><?php echo $this->dateCloture;?></b></td>
|
||||
<td align="right"><b><?php echo $this->dateCloturePre;?></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dettes envers les établissements de crédit</td>
|
||||
<td align="center">BP1</td>
|
||||
<td align="right"><?php echo $this->liasse['BP1'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NP1'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Comptes créditeurs à la clientèle</td>
|
||||
<td align="center">BP2</td>
|
||||
<td align="right"><?php echo $this->liasse['BP2'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NP2'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Capital souscrit</td>
|
||||
<td align="center">BP3</td>
|
||||
<td align="right"><?php echo $this->liasse['BP3'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NP3'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Primes d'émissions</td>
|
||||
<td align="center">BP4</td>
|
||||
<td align="right"><?php echo $this->liasse['BP4'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NP4'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Réserves</td>
|
||||
<td align="center">BP5</td>
|
||||
<td align="right"><?php echo $this->liasse['BP5'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NP5'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ecarts de réevaluation</td>
|
||||
<td align="center">BP6</td>
|
||||
<td align="right"><?php echo $this->liasse['BP6'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NP6'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Report à nouveau</td>
|
||||
<td align="center">BP7</td>
|
||||
<td align="right"><?php echo $this->liasse['BP7'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NP7'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Résultat de l'exercice</td>
|
||||
<td align="center">BP8</td>
|
||||
<td align="right"><?php echo $this->liasse['BP8'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NP8'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bold">TOTAL PASSIF</td>
|
||||
<td align="center">BP9</td>
|
||||
<td align="right"><?php echo $this->liasse['BP9'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NP9'];?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<a name="compteDeResultat">COMPTE DE RESULTAT</a>
|
||||
<table id="LiasseTable">
|
||||
<tr>
|
||||
<td align="right" colspan="2"><b>Exercices, clos le :</b></td>
|
||||
<td align="right"><b><?php echo $this->dateCloture;?></b></td>
|
||||
<td align="right"><b><?php echo $this->dateCloturePre;?></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Intérêts et produits assimilés</td>
|
||||
<td align="center">BR1</td>
|
||||
<td align="right"><?php echo $this->liasse['BR1'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NR1'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Intérêts et charges assimilées</td>
|
||||
<td align="center">BR2</td>
|
||||
<td align="right"><?php echo $this->liasse['BR2'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NR2'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Résultat de l'exercice</td>
|
||||
<td align="center">BR3</td>
|
||||
<td align="right"><?php echo $this->liasse['BR3'];?></td>
|
||||
<td align="right"><?php echo $this->liasse['NR3'];?></td>
|
||||
</tr>
|
||||
</table>
|
@ -0,0 +1,18 @@
|
||||
<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
|
||||
<?php if ( $this->BilanDateClotureIso ) { ?>
|
||||
|
||||
Le dernier millésime déposé au greffe est le <?=$this->BilanDateCloture?>.
|
||||
<?php if ( $this->SaisieDateIso != '' && $this->SaisieCode == '00' ) {?>
|
||||
Le bilan a été saisie le <?=$this->SaisieDate?>.
|
||||
<?php } else {?>
|
||||
Le bilan n'a pas été saisi par la source officielle<?php if ($this->SaisieLabel!='') {?> (<i><?=$this->SaisieLabel?>)</i><?php }?>.
|
||||
<br/>Contactez le support (support@scores-decisions.com) pour une demande de mise à jour.
|
||||
(Soumis à facturation selon vos accords contractuels)
|
||||
<?php }?>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<?=$this->msg?>
|
||||
|
||||
<?php }?>
|
||||
</p>
|
@ -0,0 +1,179 @@
|
||||
<div id="center">
|
||||
<h1>ELEMENTS FINANCIERS - LISTE DES BILANS</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>
|
||||
<?php if ($this->surveillance) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" width="550">
|
||||
<?=$this->action('infos','surveillance', null, array('source' => 'bilans', 'siret' => $this->siret))?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Dernier(s) bilan(s) disponible(s)</h2>
|
||||
<?php if ($this->edition) {?>
|
||||
<div class="paragraph">
|
||||
Saisir une nouvelle liasse au format
|
||||
<a href="<?=$this->url(array('controller'=>'saisie', 'action'=>'liasse', 'siret'=>$this->siren, 'selection'=>'NEW:N'))?>">Normal (2050)</a>,
|
||||
<a href="<?=$this->url(array('controller'=>'saisie', 'action'=>'liasse', 'siret'=>$this->siren, 'selection'=>'NEW:C'))?>">Consolidé (2050)</a>,
|
||||
<a href="<?=$this->url(array('controller'=>'saisie', 'action'=>'liasse', 'siret'=>$this->siren, 'selection'=>'NEW:S'))?>">Simplifié (2033)</a>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if ( empty($this->AutrePage) && $this->haveLiasse) {?>
|
||||
<div class="paragraph">
|
||||
<div id="liasse-check-result" class="ui-state-highlight ui-corner-all" style="margin-top:5px;">
|
||||
<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
|
||||
<a title="Cliquez ici pour vérifier l'intégration des éléments financiers"
|
||||
href="<?=$this->url(array('controller'=>'finance','action'=>'liasseinfos','siren'=>$this->siren), 'default', true)?>"
|
||||
id="liasse-check">Vérifier la disponibilité des derniers états financiers au Greffe.</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($this->saisiebilan) {?>
|
||||
<div class="paragraph">
|
||||
<a id="bilanClient" href="<?=$this->url(array('controller'=>'finance', 'action'=>'saisiebilan',
|
||||
'siren'=>$this->siren), 'default', true)?>" title="Envoi d'un bilan en saisi">
|
||||
Vous possédez un bilan plus récent</a>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if ( $this->haveLiasse ) {?>
|
||||
|
||||
<div class="paragraph">
|
||||
<table class="liasse">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Millésime</th>
|
||||
<th>Date de cloture</th>
|
||||
<th>Date de cloture N-1</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($this->BilanList as $type => $liste) {?>
|
||||
<?php if (count($liste) > 0) {?>
|
||||
<?php foreach ($liste as $element) {?>
|
||||
<?php
|
||||
switch ($type) {
|
||||
case 'N' : $name = 'Réel Normal'; break;
|
||||
case 'S' : $name = 'Simplifié'; break;
|
||||
case 'C' : $name = 'Consolidé'; break;
|
||||
case 'A' : $name = 'Assurance'; break;
|
||||
case 'B' : $name = 'Banque'; break;
|
||||
}
|
||||
?>
|
||||
<tr><td style="font-weight:bold;padding-left:20px;" colspan="4"><?=$name?></td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-weight:bold;">
|
||||
<a href="<?=$this->url(array('controller'=>'finance','action'=>'liasse',
|
||||
'siret'=>$this->siret,'id'=>$this->id, 'date'=> $type.$element->dateExercice), 'default', true)?>">
|
||||
<?=$element->millesime?></a>
|
||||
</td>
|
||||
<td align="center">
|
||||
<?php $date = new Zend_Date($element->dateExercice, 'yyyyMMdd'); ?> <?=$date->toString('dd/MM/yyyy')?>
|
||||
- <?=$element->dureeExercice?> Mois</td>
|
||||
<td align="center">
|
||||
<?php
|
||||
if ( Zend_Date::isDate($element->dateExercicePre, 'yyyyMMdd') ) {
|
||||
$date = new Zend_Date($element->dateExercicePre, 'yyyyMMdd');
|
||||
echo $date->toString('dd/MM/yyyy');
|
||||
} ?> - <?php if ($element->dureeExercicePre > 0) {?><?=$element->dureeExercicePre?> Mois<?php } ?></td>
|
||||
<td><a href="<?=$this->url(array('controller'=>'finance','action'=>'liasse',
|
||||
'siret'=>$this->siret,'id'=>$this->id, 'date'=> $type.$element->dateExercice), 'default', true)?>">
|
||||
Visualiser</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php break;?>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
<br/><br/>
|
||||
</div>
|
||||
|
||||
<?php foreach ($this->BilanList as $type => $liste) {?>
|
||||
<?php if (count($liste) > 0) {?>
|
||||
<?php
|
||||
switch ($type) {
|
||||
case 'N' : $name = 'Réel Normal - Liasse 2050'; break;
|
||||
case 'S' : $name = 'Simplifié - Liasse 2033'; break;
|
||||
case 'C' : $name = 'Consolidé - Regroupement des états financier du groupe'; break;
|
||||
case 'A' : $name = 'Assurance'; break;
|
||||
case 'B' : $name = 'Banque'; break;
|
||||
}
|
||||
?>
|
||||
<h2>Millésime(s) <?=$name?></h2>
|
||||
<div class="paragraph">
|
||||
<table class="liasse">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Millésime</th>
|
||||
<th>Date de cloture</th>
|
||||
<th>Date de cloture N-1</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($liste as $element) {?>
|
||||
<tr>
|
||||
<td align="center" style="font-weight:bold;">
|
||||
<a href="<?=$this->url(array('controller'=>'finance','action'=>'liasse',
|
||||
'siret'=>$this->siret,'id'=>$this->id, 'date'=> $type.$element->dateExercice), 'default', true)?>">
|
||||
<?=$element->millesime?></a>
|
||||
</td>
|
||||
<td align="center">
|
||||
<a href="<?=$this->url(array('controller'=>'finance','action'=>'liasse',
|
||||
'siret'=>$this->siret,'id'=>$this->id, 'date'=> $type.$element->dateExercice), 'default', true)?>">
|
||||
<?php $date = new Zend_Date($element->dateExercice, 'yyyyMMdd'); ?> <?=$date->toString('dd/MM/yyyy')?></a>
|
||||
- <?=$element->dureeExercice?> Mois</td>
|
||||
<td align="center">
|
||||
<?php
|
||||
if ( Zend_Date::isDate($element->dateExercicePre, 'yyyyMMdd') ) {
|
||||
$date = new Zend_Date($element->dateExercicePre, 'yyyyMMdd');
|
||||
echo $date->toString('dd/MM/yyyy');
|
||||
}
|
||||
?>
|
||||
- <?php if ($element->dureeExercicePre > 0) {?><?=$element->dureeExercicePre?> Mois<?php } ?>
|
||||
</td>
|
||||
<td><a href="<?=$this->url(array('controller'=>'finance', 'action'=>'liasse', 'siret'=>$this->siret,
|
||||
'id'=>$this->id, 'date'=> $type.$element->dateExercice), 'default', true)?>">
|
||||
Visualiser</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" class="StyleInfoLib" width="200">Aucun bilan disponible.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php echo $this->render('cgu.phtml', $this->cgu);?>
|
||||
</div>
|
@ -0,0 +1,6 @@
|
||||
<?php if (!empty($this->file)) { ?>
|
||||
<a href="<?=$this->url(array('module'=>'file', 'controller'=>'index', 'action'=>'liasse', 'q'=>$this->file),
|
||||
'default', true)?>" target="_blank">Télécharger le fichier excel.</a>
|
||||
<?php } else { ?>
|
||||
Erreur lors de la construction du fichier.
|
||||
<?php }?>
|
@ -0,0 +1,161 @@
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<div id="center">
|
||||
<?php }?>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<h1>RATIOS</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td class="StyleInfoLib" width="200">Numéro identifiant Siren</td>
|
||||
<td class="StyleInfoData" width="340"><?=$this->SirenTexte($this->siret);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td class="StyleInfoLib" width="200">Dénomination Sociale</td>
|
||||
<td class="StyleInfoData" width="340"><?=$this->raisonSociale;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td class="StyleInfoLib" width="200">Secteur d'activité </td>
|
||||
<td class="StyleInfoData" width="340"><?=$this->naf?> - <?=$this->nafLib?></td>
|
||||
</tr>
|
||||
<?php if ( isset($this->tabResult) ) {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Type de bilans</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?php if ($this->nbBilanC==0){?>
|
||||
Réel normal ou Simplifié
|
||||
<?php } elseif ($this->nbBilanN==0){?>
|
||||
Consolidé
|
||||
<?php } else {?>
|
||||
<form name="selectBilan">
|
||||
<select name="typeBilan">
|
||||
<option value="N"<?=($this->typeBilan=='N')? ' selected' : '';?>>Réel normal ou Simplifié</option>
|
||||
<option value="C"<?=($this->typeBilan=='C')? ' selected' : '';?>>Consolidé</option>
|
||||
</select>
|
||||
</form>
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td width="200" class="StyleInfoLib">Millésime</td>
|
||||
<td width="340" class="StyleInfoData">
|
||||
<form>
|
||||
<input type="hidden" name="typeBilan" value="<?=$this->typeBilan?>" />
|
||||
<select name="mil">
|
||||
<?php foreach ($this->annees as $annee => $value){?>
|
||||
<option value="<?=$annee?>"<?=($this->mil==$annee) ? ' selected' : '';?>><?=$value?></option>
|
||||
<?php }?>
|
||||
</select>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"></td>
|
||||
<td class="StyleInfoLib" width="200">Durée du bilan</td>
|
||||
<td class="StyleInfoData" width="340"><?=$this->duree?> Mois</td>
|
||||
</tr>
|
||||
<?php } else {?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td colspan="2" class="StyleInfoLib" width="200">Aucun bilan disponible.</td>
|
||||
<td class="StyleInfoData" width="340"></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
|
||||
<?php if ( empty($this->AutrePage) && isset($this->tabResult) ) {?>
|
||||
<div id="liasse-check-result" class="ui-state-highlight ui-corner-all" style="margin-top: 5px;">
|
||||
<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
|
||||
<a title="Cliquez ici pour vérifier l'intégration des éléments financiers"
|
||||
href="<?=$this->url(array('controller'=>'finance','action'=>'liasseinfos','siren'=>$this->siren), 'default', true)?>"
|
||||
id="liasse-check">Vérifier la disponibilité des derniers états financiers au Greffe.</a></p>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<div class="paragraph">
|
||||
|
||||
<?php if(!isset($this->tabResult)){?>
|
||||
|
||||
<?php } else {?>
|
||||
<table id="ratios" style="border-collapse:collapse">
|
||||
<tbody>
|
||||
<?php foreach ($this->tabResult as $item) { ?>
|
||||
<?php if (isset($item['ratio'])) { ?>
|
||||
<tr>
|
||||
<td>
|
||||
<a class="tooltip" title="<?=$item['comment']?>">
|
||||
<?=$item['titre']?><br/><?=$item['stitre']?></a>
|
||||
</td>
|
||||
<td class="right"><?=$item['entrep']?></td>
|
||||
<td class="right"><?=$item['secteur']?></td>
|
||||
<td class="position">
|
||||
<a class="rTip"
|
||||
href=""
|
||||
rel="<?=$this->url(array(
|
||||
'controller'=>'finance',
|
||||
'action'=>'ratiosgraph',
|
||||
'siret' => $this->siret,
|
||||
'id' => $this->id,
|
||||
'ratio' => $item['ratio']
|
||||
))?>" name="<?=$item['titre']?>">
|
||||
<?=$item['position']?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } else { ?>
|
||||
<tr class="subhead">
|
||||
<td class="center italique"><?=$item['titre']?></td>
|
||||
<td>Entreprise</td>
|
||||
<td>Secteur</td>
|
||||
<td>Position</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php
|
||||
/*
|
||||
} else if ($ratio == $item['ratio']) {
|
||||
|
||||
$row .= '<tr class="subhead">'."\n".
|
||||
'<td class="center italique">'.
|
||||
$tabRatio[$item['parent']]['titre'].'</td>'."\n".
|
||||
'<td>Entreprise</td>'."\n".
|
||||
'<td>Secteur</td>'."\n".
|
||||
'<td>Position</td>'."\n".
|
||||
'</tr>'."\n";
|
||||
$row .= '<tr>'."\n".
|
||||
'<td><a tooltip="'.
|
||||
wrapComment($ratiosInfos[$item['ratio']]['commentaires']).
|
||||
'">'.$item['titre'].'<br/>'.$item['stitre'].'</a></td>'."\n".
|
||||
'<td class="right">'.
|
||||
dRatio($bilan, $item['ratio']).'</td>'."\n".
|
||||
'<td class="right">'.
|
||||
dSecteur($bilan, $item['ratio']).'</td>'."\n".
|
||||
'<td class="position">'."\n".
|
||||
'<a href="#" name="'.$item['titre'].'">'."\n".
|
||||
dPosition($bilan, $item['ratio'], $item['position'])."\n".
|
||||
'</a>'."\n".
|
||||
'</td>'."\n".
|
||||
'</tr>'."\n";
|
||||
}
|
||||
*/
|
||||
?>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<?php }?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
||||
<?php }?>
|
@ -0,0 +1,96 @@
|
||||
<?php if ($this->msg) {?>
|
||||
<div style="padding: 0 .7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: .3em;" class="ui-icon ui-icon-alert"></span>
|
||||
<strong>Alert:</strong> <?=$this->msg?></p>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($this->ref) {?>
|
||||
|
||||
Votre référence : BS-<?=strtoupper($this->ref)?>
|
||||
<br/><br/>
|
||||
Saisie du bilan de la Société <?=$this->raisonSociale?> clôturé le <?=$this->bilanCloture?> au format <?=$this->type?>
|
||||
<br/><br/>
|
||||
<form id="uploadForm" name="uploadForm" action="<?=$this->url(array('controller'=>'finance', 'action'=>'saisiebilanup'))?>" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="ref" value="<?=$this->ref?>" />
|
||||
<input type="hidden" name="fileref" value="<?=$this->fileref?>" />
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="50000000" />
|
||||
Votre fichier : <input type="file" name="fichier" />
|
||||
<input type="submit" name="upload" value="Envoyer" />
|
||||
</form>
|
||||
<div id="uploadOutput"></div>
|
||||
<script type="text/javascript" src="/libs/form/jquery.form.min.js"/>
|
||||
<script>
|
||||
$('#uploadForm').ajaxForm({
|
||||
beforeSubmit: function() {
|
||||
$('#uploadOutput').html('Envoi en cours...');
|
||||
},
|
||||
success: function(data) {
|
||||
$('#uploadOutput').html(data);
|
||||
}
|
||||
});
|
||||
$('#dialogbilanclient').dialog({ buttons: [ {
|
||||
text: "Quitter",
|
||||
click: function() { $(this).dialog("close"); }
|
||||
} ] });
|
||||
</script>
|
||||
|
||||
<?php } else {?>
|
||||
|
||||
<form id="formEnvoiBilan" name="formEnvoiBilan" method="post" action="<?=$this->url(array('controller'=>'finance',
|
||||
'action'=>'saisiebilan'), 'default', true)?>">
|
||||
<input type="hidden" name="mode" value="order" />
|
||||
<input type="hidden" name="siren" value="<?=$this->siren?>" />
|
||||
<label>Format : </label><br/>
|
||||
<input type="radio" name="format" value="N" checked> Réel normal (Liasse 2050)<br/>
|
||||
<input type="radio" name="format" value="S"> Simplifé (Liasse 2033)<br/>
|
||||
<input type="radio" name="format" value="C"> Consolidé <span style="color:gray;">
|
||||
(Ne peut être utilisé dans l'évaluation des enrtreprises.)</span><br/>
|
||||
<br/>
|
||||
<label>Date de clôture du bilan : </label>
|
||||
<input type="text" name="dateCloture" value="" size="10" maxlength="10" id="datepicker">
|
||||
(JJ/MM/AAAA)
|
||||
<br/><br/>
|
||||
<label>Durée de l'exercice (en mois) : </label>
|
||||
<select name="dureeExercice">
|
||||
<?php for ($i=1; $i<24; $i++) { $select = ''; if ($i == 12) { $select = 'selected'; } ?>
|
||||
<option value="<?=$i?>" <?=$select?>><?=$i?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<br/><br/>
|
||||
<label>Confidentialité : </label><br/>
|
||||
<input type="radio" name="confidentiel" value="0" checked>
|
||||
Ce bilan n'est pas confidentiel (saisie gratuite)
|
||||
<br/>
|
||||
<input type="radio" name="confidentiel" value="1">
|
||||
Ce bilan est confidentiel et ne doit être utilisé que pour les utilisateurs
|
||||
de votre société (+7€ HT par bilan saisi)
|
||||
<br/><br/>
|
||||
<span><i>
|
||||
Vous obtiendrez une référence à l'étape suivante avec la possibilité
|
||||
de nous transmettre directement par Internet votre bilan au format numérique (PDF, TIFF)
|
||||
</i></span>
|
||||
<br/><br/>
|
||||
<span><i>
|
||||
Si le bilan communiqué n'est pas conforme aux formulaires CERFA de la DGI des
|
||||
frais de traitement de 10€ vous seront facturés en sus.
|
||||
</i></span>
|
||||
</form>
|
||||
<script type="text/javascript" src="/libs/form/jquery.form.min.js"/>
|
||||
<script type="text/javascript">
|
||||
$('#dialogbilanclient').dialog({ buttons: {
|
||||
'Valider': function() {
|
||||
var url = $('#dialogbilanclient form#formEnvoiBilan').attr('action');
|
||||
$.post(url, $('#dialogbilanclient form#formEnvoiBilan').serialize(), function(data){
|
||||
$('div#dialogbilanclient.ui-dialog-content').html(data);
|
||||
});
|
||||
},
|
||||
'Annuler': function() { $(this).dialog('close'); }
|
||||
}, });
|
||||
|
||||
$('#datepicker').datepicker( $.datepicker.regional['fr'] );
|
||||
$('#datepicker').datepicker( "option", "dateFormat", 'dd/mm/yy' );
|
||||
$('#datepicker').datepicker( "option", "defaultDate", '31/12/<?=date('Y')-1?>' );
|
||||
</script>
|
||||
|
||||
<?php }?>
|
@ -0,0 +1,19 @@
|
||||
<?php if (isset($this->upload) && $this->upload == true){?>
|
||||
|
||||
<strong>Fichier envoyé <a href="<?=$this->url(array('module'=>'file', 'controller'=>'index', 'action'=>'bilanclient',
|
||||
'q'=>$this->file), 'default', true)?>"></a></strong>
|
||||
<script>
|
||||
$('#dialogbilanclient').dialog({ buttons: [ {
|
||||
text: "Quitter",
|
||||
click: function() { $(this).dialog("close"); }
|
||||
} ] });
|
||||
</script>
|
||||
|
||||
<?php } elseif (isset($this->upload) && $this->upload == false) {?>
|
||||
|
||||
<div style="padding: 0 .7em;" class="ui-state-error ui-corner-all">
|
||||
<p><span style="float: left; margin-right: .3em;" class="ui-icon ui-icon-alert"></span>
|
||||
<strong>Alert:</strong> <?=$this->errMsg?></p>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
@ -0,0 +1,67 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">SUBVENTIONS</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SirenTexte($this->siren)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Détail de la subvention</h2>
|
||||
<div class="paragraph">
|
||||
<table class="data">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Année</td>
|
||||
<td><?=$this->Millesime?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Subvention versée à</td>
|
||||
<td><?=$this->AssoNom?> (<?=$this->SirenTexte($this->AssoSiren)?>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Budget</td>
|
||||
<td><?=$this->Budget?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Subvention reçue de </td>
|
||||
<td><a href="<?=$this->url(array('controller'=>'identite', 'action'=>'fiche', 'siret'=>$this->OrigineSiren), 'default', true)?>">
|
||||
<?=$this->SirenTexte($this->OrigineSiren)?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Origine de la subvention</td>
|
||||
<td><?=$this->OrigineLib?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Imputation / Programme</td>
|
||||
<td><?=$this->Programme?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Montant</td>
|
||||
<td nowrap><?=number_format($this->Montant, 2, ',', ' ')?> €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Objet</td>
|
||||
<td><?=$this->SubventionObjet?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Evaluation</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mission</td>
|
||||
<td><?=$this->Mission?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
@ -0,0 +1,75 @@
|
||||
<div id="center">
|
||||
<h1 class="titre">SUBVENTIONS</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Numéro identifiant Siren</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->SirenTexte($this->siren)?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Dénomination Sociale</td>
|
||||
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Liste des subventions</h2>
|
||||
<div class="paragraph">
|
||||
<?php if ($this->msg) {?>
|
||||
<?=$this->msg?>
|
||||
<?php } else { ?>
|
||||
|
||||
<?php if (count($this->subventions)>0) {?>
|
||||
<table class="data">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Année</th>
|
||||
<th>Type</th>
|
||||
<th>Origine</th>
|
||||
<th>Entité subventionnée</th>
|
||||
<th>Programme</th>
|
||||
<th>Montant</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ( $this->subventions as $item ) {?>
|
||||
<tr>
|
||||
<td><?=$item->Millesime?></td>
|
||||
<td>
|
||||
<?php if ($item->Type=='IN') {?>
|
||||
Reçue
|
||||
<?php } else { ?>
|
||||
Versée
|
||||
<?php }?>
|
||||
</td>
|
||||
<td><?=$item->OrigineLib?></td>
|
||||
<td><?=$item->AssoNom?> (<?=$this->SirenTexte($item->AssoSiren)?>)</td>
|
||||
<td><a href="<?=$this->url(array('controller'=>'finance', 'action'=>'subvention', 'subventionId'=>$item->Id, 'siret'=>$this->siret, 'id'=>$this->id), 'default', true)?>" title="Détail de la subvention">
|
||||
<?=$item->Programme?></a></td>
|
||||
<td nowrap><?=number_format($item->Montant, 2, ',', ' ')?> €</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php } else {?>
|
||||
Aucune subvention.
|
||||
<?php }?>
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<div class="paragraph">
|
||||
<?php if ($this->lienPagePrecedente) { ?>
|
||||
<a href="<?=$this->lienPagePrecedente?>" title="Page précédente..."><<</a>
|
||||
<?php }?>
|
||||
<?php if ($this->nbPages>1) { ?>
|
||||
<span>Page <?=$this->p?>/<?=$this->nbPages?></span>
|
||||
<?php } ?>
|
||||
<?php if ($this->lienPageSuivante) {?>
|
||||
<a href="<?=$this->lienPageSuivante?>" title="Page suivante...">>></a>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
</div>
|
@ -0,0 +1,121 @@
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<div id="center">
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)){?>
|
||||
<h1>SYNTHÈSE</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>
|
||||
<?php if (isset($this->tabResult)){?>
|
||||
<tr>
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib">Type de bilans</td>
|
||||
<td width="350" class="StyleInfoData">
|
||||
<?php if ($this->nbBilanC==0){?>
|
||||
Réel normal ou Simplifié
|
||||
<?php } elseif ($this->nbBilanN==0){?>
|
||||
Consolidé
|
||||
<?php } else {?>
|
||||
<form>
|
||||
<select name="typeBilan">
|
||||
<option value="N"<?=($this->typeBilan=='N')? ' selected' : '';?>>Réel normal ou Simplifié</option>
|
||||
<option value="C"<?=($this->typeBilan=='C')? ' selected' : '';?>>Consolidé</option>
|
||||
</select>
|
||||
</form>
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</table>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<div id="liasse-check-result" class="ui-state-highlight ui-corner-all" style="margin-top: 5px;">
|
||||
<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
|
||||
<a title="Cliquez ici pour vérifier l'intégration des éléments financiers"
|
||||
href="<?=$this->url(array('controller'=>'finance','action'=>'liasseinfos','siren'=>$this->siren), 'default', true)?>"
|
||||
id="liasse-check">Vérifier la disponibilité des derniers états financiers au Greffe.</a></p>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<?php if (!isset($this->tabResult)){?>
|
||||
<div class="paragraph">
|
||||
Aucun bilan disponible.
|
||||
</div>
|
||||
<?php } else {?>
|
||||
<div class="paragraph">
|
||||
<table id="synthese">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center">
|
||||
<?php if (count($this->tabRatio)==1){?>
|
||||
<a href="<?=$this->url(array('controller'=>'finance', 'action'=>'synthese', 'siret'=>$this->siret, 'id'=>$this->id), 'default', true)?>">
|
||||
<img src="/themes/default/images/finance/char_bar.png" alt="Retour à la page complète" />
|
||||
</a>
|
||||
<?php }?>
|
||||
</th>
|
||||
<th class="date"><?=$this->tabResult[0]['dateCloture']?><br/><?=$this->tabResult[0]['duree']?></th>
|
||||
<th class="date">Evolution</th>
|
||||
<th class="date"><?=$this->tabResult[1]['dateCloture']?><br/><?=$this->tabResult[1]['duree']?></th>
|
||||
<th class="date">Evolution</th>
|
||||
<th class="date"><?=$this->tabResult[2]['dateCloture']?><br/><?=$this->tabResult[2]['duree']?></th>
|
||||
<th class="date">Evolution</th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($this->tabRatio as $ratio => $info) { ?>
|
||||
<tr>
|
||||
<td class="head qtip-tooltip" data-tooltip="<?=$info['comment']?>"><?=$info['titre']?></td>
|
||||
<td class="right"><?=$this->tabResult[0]['entrep'][$ratio]?></td>
|
||||
<td class="right"><?=$this->tabResult[0]['entrepEvol'][$ratio]?></td>
|
||||
<td class="right"><?=$this->tabResult[1]['entrep'][$ratio]?></td>
|
||||
<td class="right"><?=$this->tabResult[1]['entrepEvol'][$ratio]?></td>
|
||||
<td class="right"><?=$this->tabResult[2]['entrep'][$ratio]?></td>
|
||||
<td class="right"><?=$this->tabResult[2]['entrepEvol'][$ratio]?></td>
|
||||
<td>
|
||||
<?php if ($this->graph) { ?>
|
||||
<a class="sTip" data-url="<?=$this->url(array('controller'=>'finance', 'action'=>'synthesegraphevol',
|
||||
'siret'=>$this->siret, 'id'=>$this->id, 'ratio'=>$ratio), 'default', true)?>" data-title="<?=$info['titre']?>"
|
||||
href="<?=$this->url(array('controller'=>'finance', 'action'=>'synthese', 'siret'=>$this->siret,
|
||||
'id'=>$this->id, 'ratio'=>$ratio), 'default', true)?>">
|
||||
<img src="/themes/default/images/finance/char_bar.png" alt="Visionner le graphique">
|
||||
</a>
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="paragraph">
|
||||
<?php if ($this->graph) {?>
|
||||
<?=$this->action('synthesegraphcompare', 'finance', null, array('siret'=>$this->siret, 'id'=>$this->id, 'typeBilan'=>$this->typeBilan))?>
|
||||
<?php } else {?>
|
||||
<b>Les informations sont insuffisantes pour générer le graphique de synthèse.</b>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<?php }?>
|
||||
|
||||
<?php if ( empty($this->AutrePage) ) {?>
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
</div>
|
||||
<?php }?>
|
Loading…
Reference in New Issue
Block a user