2012-02-16 17:15:54 +00:00
< 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" >
2012-02-17 10:04:23 +00:00
<?php if ( count ( $this -> bilans ) == 0 ){ ?>
2012-02-16 17:15:54 +00:00
< p > Il n'est pas possible de visualiser les bilans des associations en ligne.< / p > < br / >
2012-02-17 10:04:23 +00:00
<?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" >
2012-02-17 10:43:43 +00:00
< a href = " <? = $bilan [ 'href' ] ?> " title = " <? = $bilan [ 'title' ] ?> " >
2012-02-17 10:04:23 +00:00
< 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 } ?>
2012-02-16 17:15:54 +00:00
<?php
//Lien pour upload acte association
if ($this->ModeEdition) {
?>
2012-02-17 10:04:23 +00:00
< a id = "acteUpload" href = " <? = $this -> url ( array ( 'controller' => 'saisie' , 'action' => 'association' , 'type' => 'bilan' , 'siren' => $this -> siren )) ?> " title = "Envoi Bilan Association" >
2012-02-16 17:15:54 +00:00
< 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: {
2012-02-17 10:04:23 +00:00
Fermer: function() { $(this).dialog('close'); }
2012-02-16 17:15:54 +00:00
},
close: function() { $('#dialogacteupload').remove(); }
};
$('< div id = "dialogacteupload" > < / div > ').dialog(dialogOpts);
return false;
});
< / script >
<?php } ?>
< / div >
< / div >