Delete partials views
This commit is contained in:
parent
63ee7fe5d0
commit
bcc2fb77e4
@ -1,8 +1,8 @@
|
||||
<?php if (empty($this->AutrePage)):?>
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<div id="center">
|
||||
<?php endif;?>
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)):?>
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<h1>ÉLÉMENTS FINANCIERS - BILANS</h1>
|
||||
<div class="paragraph">
|
||||
<table class="identite">
|
||||
@ -42,10 +42,10 @@
|
||||
<?php }?>
|
||||
</table>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php }?>
|
||||
|
||||
|
||||
<?php if($this->typeBilan == 'B' and $this->typeBilan == 'A'):?>
|
||||
<?php if($this->typeBilan == 'B' and $this->typeBilan == 'A') {?>
|
||||
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
@ -56,9 +56,9 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php else: ?>
|
||||
<?php } else { ?>
|
||||
|
||||
<?php if ($this->nbBilanN==0 && $this->nbBilanN==0):?>
|
||||
<?php if ($this->nbBilanN!=0 || $this->nbBilanC!=0) {?>
|
||||
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
@ -69,23 +69,140 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php else:?>
|
||||
<?php } else {?>
|
||||
|
||||
<h2>Bilan actif - passif</h2>
|
||||
<?=$this->partial('finance/bilan/actif.phtml')?>
|
||||
<?=$this->partial('finance/bilan/passif.phtml')?>
|
||||
<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>
|
||||
<?=$this->partial('finance/bilan/sig.phtml')?>
|
||||
<?php
|
||||
$tabResult = $this->partial()->view->tabResultSig;
|
||||
$tabRatio = $this->partial()->view->tabRatioSig;
|
||||
?>
|
||||
<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>
|
||||
|
||||
<?php endif;?>
|
||||
<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 endif;?>
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)):?>
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||
<?php endif;?>
|
||||
<?php }?>
|
||||
|
||||
<?php if (empty($this->AutrePage)):?>
|
||||
<?php if (empty($this->AutrePage)) {?>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<?php }?>
|
@ -1,42 +0,0 @@
|
||||
<?php
|
||||
$tabResult = $this->partial()->view->tabResultActif;
|
||||
$tabRatio = $this->partial()->view->tabRatioActif;
|
||||
?>
|
||||
<div class="paragraph">
|
||||
<table class="bilans">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Actif</th>
|
||||
<?php foreach($tabResult 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($tabRatio as $idRatio => $info) { ?>
|
||||
<tr<?php if (!empty($info['class'])) echo ' class="'.$info['class'].'"'?>>
|
||||
<td>
|
||||
<?=$info['titre']?></td>
|
||||
<?php foreach($tabResult 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->partial()->view->typeBilan,
|
||||
'dateCloture' => $this->partial()->view->lastDateCloture,
|
||||
'siret' => $this->partial()->view->siret,
|
||||
'id' => $this->partial()->view->id,
|
||||
))?>
|
||||
</div>
|
@ -1,41 +0,0 @@
|
||||
<?php
|
||||
$tabResult = $this->partial()->view->tabResultPassif;
|
||||
$tabRatio = $this->partial()->view->tabRatioPassif;
|
||||
?>
|
||||
<div class="paragraph">
|
||||
<table class="bilans">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Passif</th>
|
||||
<?php foreach($tabResult as $info) { ?>
|
||||
<th class="date" >
|
||||
<?=$info['dateCloture']?><br/><?=$info['duree']?>
|
||||
</th>
|
||||
<?php }?>
|
||||
<th>% T.B.</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($tabRatio as $idRatio => $info) { ?>
|
||||
<tr<?php if (!empty($info['class'])) echo ' class="'.$info['class'].'"'?>>
|
||||
<td>
|
||||
<?=$info['titre']?></td>
|
||||
<?php foreach($tabResult 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->partial()->view->typeBilan,
|
||||
'dateCloture' => $this->partial()->view->lastDateCloture,
|
||||
'siret' => $this->partial()->view->siret,
|
||||
'id' => $this->partial()->view->id,
|
||||
))?>
|
||||
</div>
|
@ -1,44 +0,0 @@
|
||||
<?php
|
||||
$tabResult = $this->partial()->view->tabResultSig;
|
||||
$tabRatio = $this->partial()->view->tabRatioSig;
|
||||
?>
|
||||
<div class="paragraph">
|
||||
<table class="bilans">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">SOLDES INTERMEDIAIRE DE GESTION</th>
|
||||
<?php foreach($tabResult as $info) { ?>
|
||||
<th class="date" >
|
||||
<?=$info['dateCloture']?><br/><?=$info['duree']?>
|
||||
</th>
|
||||
<?php }?>
|
||||
<th>% C.A.</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($tabRatio 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($tabResult 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->partial()->view->typeBilan,
|
||||
'dateCloture' => $this->partial()->view->lastDateCloture,
|
||||
'siret' => $this->partial()->view->siret,
|
||||
'id' => $this->partial()->view->id,
|
||||
))?>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user