2011-04-26 13:39:19 +00:00
|
|
|
<div id="center">
|
2011-05-18 13:35:56 +00:00
|
|
|
<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">Raison Sociale</td>
|
|
|
|
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
|
|
|
</tr>
|
2011-07-04 08:49:06 +00:00
|
|
|
|
2011-06-23 09:14:03 +00:00
|
|
|
<?php if($this->haveLiasse):?>
|
2011-07-07 14:44:49 +00:00
|
|
|
<form method="post" action="<?=$this->url(array('controller' => 'finance', 'action' => 'liasse', 'siret' => $this->siret, 'id' => $this->id))?>">
|
2011-05-18 13:35:56 +00:00
|
|
|
<tr>
|
2011-06-07 09:21:24 +00:00
|
|
|
<td width="30"> </td>
|
2011-06-07 10:05:47 +00:00
|
|
|
<td width="200" class="StyleInfoLib">Valeurs exprimées en</td>
|
2011-06-07 09:21:24 +00:00
|
|
|
<td width="350" class="StyleInfoData">
|
2011-05-18 13:35:56 +00:00
|
|
|
<select name="unit">
|
2011-07-07 14:44:49 +00:00
|
|
|
<?php foreach ($this->unit as $id => $titre):?>
|
|
|
|
<option value="<?=$id?>"<?=($id==$this->unite)? ' selected': '';?>><?=$titre?></option>
|
2011-05-18 13:35:56 +00:00
|
|
|
<?php endforeach;?>
|
|
|
|
</select>
|
2011-06-07 09:21:24 +00:00
|
|
|
</td>
|
2011-05-18 13:35:56 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2011-06-07 09:21:24 +00:00
|
|
|
<td width="30"> </td>
|
2011-06-07 10:05:47 +00:00
|
|
|
<td width="200" class="StyleInfoLib">Millesime</td>
|
2011-06-07 09:21:24 +00:00
|
|
|
<td width="350" class="StyleInfoData">
|
2011-05-18 13:35:56 +00:00
|
|
|
<select name="date">
|
|
|
|
<?php foreach ($this->type as $champType => $name):?>
|
|
|
|
<?php foreach ($this->liste[$champType] as $element):?>
|
2012-08-22 10:37:49 +00:00
|
|
|
<option value="<?=$element.':'.$champType?>"<?=($this->date == $element && $champType == $this->champType)? ' selected': '';?>>
|
2011-07-07 14:44:49 +00:00
|
|
|
<?=$this->dateFunction->dateT('Ymd', 'd/m/Y', $element).' '.$name;?>
|
|
|
|
</option>
|
2011-05-18 13:35:56 +00:00
|
|
|
<?php endforeach;?>
|
|
|
|
<?php endforeach;?>
|
|
|
|
</select>
|
2012-09-14 09:50:24 +00:00
|
|
|
<input type="submit" value="OK" />
|
2011-05-18 13:35:56 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</form>
|
2012-09-19 12:28:18 +00:00
|
|
|
<?php endif;?>
|
|
|
|
|
2012-09-14 09:50:24 +00:00
|
|
|
<?php if ($this->edition) {?>
|
|
|
|
<tr>
|
|
|
|
<td width="30"> </td>
|
|
|
|
<td colspan="2">
|
|
|
|
<?php if ($this->haveLiasse) {?>
|
|
|
|
<a href="<?=$this->url(array('controller'=>'saisie', 'action'=>'liasse', 'siret'=>$this->siren, 'selection'=>$this->date.':'.$this->champType))?>">
|
|
|
|
Corriger le bilan sélectionné</a><br/> ou <?php }?>
|
|
|
|
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>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php }?>
|
|
|
|
|
2011-05-18 14:06:36 +00:00
|
|
|
<?php if ($this->exportxls) {?>
|
|
|
|
<tr>
|
|
|
|
<td width="30"> </td>
|
|
|
|
<td colspan="2">
|
|
|
|
<a href="<?=$this->url(array(
|
|
|
|
'controller' => 'finance',
|
|
|
|
'action' => 'liassexls',
|
|
|
|
'siret' => $this->siret,
|
2011-08-16 10:47:11 +00:00
|
|
|
'unite' => $this->unite,
|
2011-05-18 14:06:36 +00:00
|
|
|
'type' => $this->champType,
|
|
|
|
'date' => $this->dateCloture,
|
|
|
|
))?>" id="xls">Exporter en fichier Excel.</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php }?>
|
2011-07-12 15:13:03 +00:00
|
|
|
<?php if ($this->saisiebilan) {?>
|
|
|
|
<tr>
|
|
|
|
<td width="30"> </td>
|
|
|
|
<td colspan="2" width="550" class="StyleInfoData">
|
|
|
|
<a id="bilanClient" href="<?=$this->url(array(
|
2012-08-22 10:37:49 +00:00
|
|
|
'controller'=>'finance',
|
|
|
|
'action'=>'saisiebilan',
|
2011-07-12 15:13:03 +00:00
|
|
|
'siren'=>$this->siren
|
|
|
|
), null, true)?>" title="Envoi du bilan">
|
|
|
|
Vous possèdez un bilan plus récent
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php }?>
|
2012-03-01 13:10:25 +00:00
|
|
|
<?php if ($this->surveillance) {?>
|
2011-06-07 10:05:47 +00:00
|
|
|
<tr>
|
|
|
|
<td width="30"> </td>
|
|
|
|
<td colspan="2" width="550" class="StyleInfoData">
|
|
|
|
<?=$this->action('infos','surveillance', null, array(
|
|
|
|
'source' => 'bilans',
|
|
|
|
'siret' => $this->siret
|
|
|
|
))?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2012-03-01 13:10:25 +00:00
|
|
|
<?php }?>
|
2012-02-07 16:11:28 +00:00
|
|
|
<?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 endif;?>
|
2011-05-18 13:35:56 +00:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
2011-08-26 08:37:21 +00:00
|
|
|
<div class="paragraph">
|
2011-07-04 08:49:06 +00:00
|
|
|
<?php if(empty($this->date)):?>
|
|
|
|
<table>
|
2011-08-26 08:37:21 +00:00
|
|
|
<tr>
|
|
|
|
<td width="30"> </td>
|
|
|
|
<td colspan="2" class="StyleInfoLib" width="200">Aucun bilan disponible.</td>
|
|
|
|
</tr>
|
2011-07-04 08:49:06 +00:00
|
|
|
</table>
|
|
|
|
<?php else:?>
|
2011-07-07 13:43:22 +00:00
|
|
|
|
2011-05-18 14:06:36 +00:00
|
|
|
<div class="tabbed_area">
|
|
|
|
<ul class="tabs">
|
2011-07-07 13:43:22 +00:00
|
|
|
<?php foreach ($this->ancres as $id => $name):?>
|
2012-08-27 15:43:37 +00:00
|
|
|
<li><a href="#<?=$id?>" title="<?=$name?>" class="tab"><?=$name?></a></li>
|
2011-05-18 14:06:36 +00:00
|
|
|
<?php endforeach;?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2011-07-07 13:43:22 +00:00
|
|
|
|
2012-08-27 15:43:37 +00:00
|
|
|
<div class="content">
|
|
|
|
|
|
|
|
<?php if( in_array($this->champType, array('S', 'N', 'C')) ):?>
|
2012-08-24 10:12:39 +00:00
|
|
|
|
2012-08-27 15:43:37 +00:00
|
|
|
<?php echo $this->partial('finance/liasse/2050.phtml', array(
|
|
|
|
'liasse' => $this->liasse,
|
|
|
|
'dateCloture' => $this->dateFunction->dateT('Ymd', 'd/m/Y', $this->dateCloture),
|
|
|
|
'dateCloturePre' => $this->dateFunction->dateT('Ymd', 'd/m/Y', $this->dateCloturePre),
|
|
|
|
'dureesMois' => $this->dureesMois,
|
|
|
|
'dureesMoisPre'=> $this->dureesMoisPre,
|
|
|
|
'unite'=> $this->unite,
|
|
|
|
));?>
|
2011-09-13 09:19:23 +00:00
|
|
|
|
2012-08-27 15:43:37 +00:00
|
|
|
<?php elseif ($this->champType == 'B'):?>
|
|
|
|
|
|
|
|
<?php echo $this->partial('finance/liasse/banque.phtml', array(
|
|
|
|
'liasse' => $this->liasse,
|
|
|
|
'dateCloture' => $this->dateFunction->dateT('Ymd', 'd/m/Y', $this->dateCloture),
|
|
|
|
'dateCloturePre' => $this->dateFunction->dateT('Ymd', 'd/m/Y', $this->dateCloturePre),
|
|
|
|
'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->dateFunction->dateT('Ymd', 'd/m/Y', $this->dateCloture),
|
|
|
|
'dateCloturePre' => $this->dateFunction->dateT('Ymd', 'd/m/Y', $this->dateCloturePre),
|
|
|
|
'dureesMois' => $this->dureesMois,
|
|
|
|
'dureesMoisPre'=> $this->dureesMoisPre,
|
|
|
|
'unite'=> $this->unite,
|
|
|
|
));?>
|
|
|
|
|
|
|
|
<?php endif;?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2011-05-18 14:06:36 +00:00
|
|
|
<?php endif;?>
|
|
|
|
</div>
|
2011-06-23 09:14:03 +00:00
|
|
|
<?php echo $this->render('cgu.phtml', $this->cgu);?>
|
2011-04-26 13:39:19 +00:00
|
|
|
</div>
|