86 lines
2.1 KiB
PHTML
86 lines
2.1 KiB
PHTML
<div id="center">
|
|
|
|
<h1>PIÈCES OFFICIELLES</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>
|
|
</table>
|
|
</div>
|
|
|
|
<h2>Comptes annuels</h2>
|
|
<div class="paragraph">
|
|
<?php if (count($this->bilans)==0){?>
|
|
<p>Il n'est pas possible de visualiser les bilans des associations en ligne.</p><br/>
|
|
<?php } else {?>
|
|
<table class="greffe">
|
|
<thead>
|
|
<tr><th>Date de clôture</th><th>Type</th><th>Décisions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach($this->bilans as $bilan):?>
|
|
<tr>
|
|
<td class="date"><?=$bilan['date']?></td>
|
|
<td class="type"><?=$bilan['type']?>
|
|
<span class="fichier">
|
|
<a href="<?=$bilan['href']?>" title="<?=$bilan['title']?>">
|
|
<img alt="PDF" src="/themes/default/images/interfaces/icone_pdf.gif"/>
|
|
</a>
|
|
</span>
|
|
</td>
|
|
<td class="decision"><?=$bilan['decision']?></td>
|
|
</tr>
|
|
<?php endforeach;?>
|
|
</tbody>
|
|
</table>
|
|
<?php } ?>
|
|
|
|
<?php
|
|
//Lien pour upload acte association
|
|
if ($this->ModeEdition) {
|
|
?>
|
|
<a id="acteUpload" href="<?=$this->url(array('controller'=>'saisie', 'action'=>'association', 'type'=>'bilan', 'siren'=>$this->siren))?>" title="Envoi Bilan Association">
|
|
<b>Envoyer un bilan</b>
|
|
</a>
|
|
<script>
|
|
$('#acteUpload').on('click', function(e){
|
|
e.preventDefault();
|
|
var url = $(this).attr('href');
|
|
var title = $(this).attr('title');
|
|
var dialogOpts = {
|
|
bgiframe: true,
|
|
title: title,
|
|
width: 500,
|
|
height: 400,
|
|
modal: true,
|
|
open: function(event, ui) {
|
|
$(this).html('Chargement...');
|
|
$(this).load(url);
|
|
},
|
|
buttons: {
|
|
Fermer: function() { $(this).dialog('close'); }
|
|
},
|
|
close: function() { $('#dialogacteupload').remove(); }
|
|
};
|
|
$('<div id="dialogacteupload"></div>').dialog(dialogOpts);
|
|
return false;
|
|
});
|
|
</script>
|
|
<?php }?>
|
|
|
|
</div>
|
|
|
|
</div>
|