121 lines
4.0 KiB
PHP
121 lines
4.0 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"><?=$tabBilan['MONNAIE']?></td>
|
|
<td align="right"><?=$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'])?></td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['NA1'])?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Créances sur la clientèle</td>
|
|
<td align="center">BA2</td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['BA2'])?></td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['NA2'])?></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="bold">TOTAL ACTIF</td>
|
|
<td align="center">BA3</td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['BA3'])?></td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['NA3'])?></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'])?></td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['NP1'])?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Comptes créditeurs à la clientèle</td>
|
|
<td align="center">BP2</td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['BP2'])?></td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['NP2'])?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Capital souscrit</td>
|
|
<td align="center">BP3</td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['BP3'])?></td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['NP3'])?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Primes d'émissions</td>
|
|
<td align="center">BP4</td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['BP4'])?></td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['NP4'])?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Réserves</td>
|
|
<td align="center">BP5</td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['BP5'])?></td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['NP5'])?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Ecarts de réevaluation</td>
|
|
<td align="center">BP6</td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['BP6'])?></td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['NP6'])?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Report à nouveau</td>
|
|
<td align="center">BP7</td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['BP7'])?></td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['NP7'])?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Résultat de l'exercice</td>
|
|
<td align="center">BP8</td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['BP8'])?></td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['NP8'])?></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="bold">TOTAL PASSIF</td>
|
|
<td align="center">BP9</td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['BP9'])?></td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['NP9'])?></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'])?></td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['NR1'])?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Intérêts et charges assimilées</td>
|
|
<td align="center">BR2</td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['BR2'])?></td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['NR2'])?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Résultat de l'exercice</td>
|
|
<td align="center">BR3</td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['BR3'])?></td>
|
|
<td align="right"><?=bilanMonnaie($tabBilan['NR3'])?></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<?php
|