extranet/includes/liasse/bilan_banque.php
2010-02-17 14:44:28 +00:00

121 lines
4.3 KiB
PHP

<h2>Bilan de banque - <?=substr($_REQUEST['siret'],0,3).' '.substr($_REQUEST['siret'],3,3).' '.substr($_REQUEST['siret'],6,3)?></h2>
<style>
.bilan_banque { width:100%; border-collapse: collapse; }
.bilan_banque td { border:1px solid black; padding:5px; }
.bilan_banque td.bold { font-weight:bold; }
</style>
<table class="bilan_banque">
<tbody>
<tr>
<td align="right" colspan="2">Montants exprimés en :</td>
<td align="right"><?=$unite?><?=$tabBilan['MONNAIE']?></td>
<td align="right"><?=$unite?><?=$tabBilan['MONNAIE']?></td>
</tr>
<tr>
<td align="right" colspan="2">Exercices, clos le :</td>
<td align="right"><?=Wdate::dateT('Ymd', 'd/m/Y',$tabBilan['DATE_CLOTURE'])?></td>
<td align="right"><?=Wdate::dateT('Ymd', 'd/m/Y',$tabBilan['DATE_CLOTURE_PRE'])?></td>
</tr>
<tr>
<td align="right" colspan="2">Durée des exercices :</td>
<td align="right"><?=$tabBilan['DUREE_MOIS'];?> mois</td>
<td align="right"><?=$tabBilan['DUREE_MOIS_PRE'];?> mois</td>
</tr>
<tr><td colspan="4" class="bold">ACTIF</td></tr>
<tr>
<td>Créances sur les établissements de crédit</td>
<td align="center">BA1</td>
<td align="right"><?=bilanMonnaie($tabBilan['BA1'], $unite)?></td>
<td align="right"><?=bilanMonnaie($tabBilan['NA1'], $unite)?></td>
</tr>
<tr>
<td>Créances sur la clientèle</td>
<td align="center">BA2</td>
<td align="right"><?=bilanMonnaie($tabBilan['BA2'], $unite)?></td>
<td align="right"><?=bilanMonnaie($tabBilan['NA2'], $unite)?></td>
</tr>
<tr>
<td class="bold">TOTAL ACTIF</td>
<td align="center">BA3</td>
<td align="right"><?=bilanMonnaie($tabBilan['BA3'], $unite)?></td>
<td align="right"><?=bilanMonnaie($tabBilan['NA3'], $unite)?></td>
</tr>
<tr><td colspan="4" class="bold">PASSIF</td></tr>
<tr>
<td>Dettes envers les établissements de crédit</td>
<td align="center">BP1</td>
<td align="right"><?=bilanMonnaie($tabBilan['BP1'], $unite)?></td>
<td align="right"><?=bilanMonnaie($tabBilan['NP1'], $unite)?></td>
</tr>
<tr>
<td>Comptes créditeurs à la clientèle</td>
<td align="center">BP2</td>
<td align="right"><?=bilanMonnaie($tabBilan['BP2'], $unite)?></td>
<td align="right"><?=bilanMonnaie($tabBilan['NP2'], $unite)?></td>
</tr>
<tr>
<td>Capital souscrit</td>
<td align="center">BP3</td>
<td align="right"><?=bilanMonnaie($tabBilan['BP3'], $unite)?></td>
<td align="right"><?=bilanMonnaie($tabBilan['NP3'], $unite)?></td>
</tr>
<tr>
<td>Primes d'émissions</td>
<td align="center">BP4</td>
<td align="right"><?=bilanMonnaie($tabBilan['BP4'], $unite)?></td>
<td align="right"><?=bilanMonnaie($tabBilan['NP4'], $unite)?></td>
</tr>
<tr>
<td>Réserves</td>
<td align="center">BP5</td>
<td align="right"><?=bilanMonnaie($tabBilan['BP5'], $unite)?></td>
<td align="right"><?=bilanMonnaie($tabBilan['NP5'], $unite)?></td>
</tr>
<tr>
<td>Ecarts de réevaluation</td>
<td align="center">BP6</td>
<td align="right"><?=bilanMonnaie($tabBilan['BP6'], $unite)?></td>
<td align="right"><?=bilanMonnaie($tabBilan['NP6'], $unite)?></td>
</tr>
<tr>
<td>Report à nouveau</td>
<td align="center">BP7</td>
<td align="right"><?=bilanMonnaie($tabBilan['BP7'], $unite)?></td>
<td align="right"><?=bilanMonnaie($tabBilan['NP7'], $unite)?></td>
</tr>
<tr>
<td>Résultat de l'exercice</td>
<td align="center">BP8</td>
<td align="right"><?=bilanMonnaie($tabBilan['BP8'], $unite)?></td>
<td align="right"><?=bilanMonnaie($tabBilan['NP8'], $unite)?></td>
</tr>
<tr>
<td class="bold">TOTAL PASSIF</td>
<td align="center">BP9</td>
<td align="right"><?=bilanMonnaie($tabBilan['BP9'], $unite)?></td>
<td align="right"><?=bilanMonnaie($tabBilan['NP9'], $unite)?></td>
</tr>
<tr><td colspan="4" class="bold">COMPTE DE RESULTAT</td></tr>
<tr>
<td>Intérêts et produits assimilés</td>
<td align="center">BR1</td>
<td align="right"><?=bilanMonnaie($tabBilan['BR1'], $unite)?></td>
<td align="right"><?=bilanMonnaie($tabBilan['NR1'], $unite)?></td>
</tr>
<tr>
<td>Intérêts et charges assimilées</td>
<td align="center">BR2</td>
<td align="right"><?=bilanMonnaie($tabBilan['BR2'], $unite)?></td>
<td align="right"><?=bilanMonnaie($tabBilan['NR2'], $unite)?></td>
</tr>
<tr>
<td>Résultat de l'exercice</td>
<td align="center">BR3</td>
<td align="right"><?=bilanMonnaie($tabBilan['BR3'], $unite)?></td>
<td align="right"><?=bilanMonnaie($tabBilan['NR3'], $unite)?></td>
</tr>
</tbody>
</table>
<?php