extranet/application/views/default/scripts/pieces/associationactes.phtml

110 lines
2.8 KiB
PHTML
Raw Normal View History

<div id="center">
<h1>PI&Egrave;CES OFFICIELLES</h1>
<div class="paragraph">
<table class="identite">
<tr>
<td width="30">&nbsp;</td>
<td width="200" class="StyleInfoLib">
Num&eacute;ro identifiant Siren
</td>
<td width="350" class="StyleInfoData">
<?=$this->SirenTexte($this->siren)?>
</td>
</tr>
<tr>
<td width="30">&nbsp;</td>
<td width="200" class="StyleInfoLib">Raison Sociale</td>
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
</tr>
</table>
</div>
<h2>Actes & Status</h2>
<div class="paragraph">
<p>Il n'est pas possible de visualiser les statuts des associations en ligne.</p><br/>
<p>Commander les statuts de l'association (d&eacute;lai approximatif de 15 jours)</p>
<script type="text/javascript">
$(document).ready(function(){
$('form[name=commandeAsso]').submit(function(){
var eMail = $('input[name=email]').val();
if(!checkEmail(eMail)){
alert('Veuillez saisir une adresse email.');
return false;
} else { return true; }
});
});
</script>
<style>
.fieldgrp label {width:200px;}
</style>
<form name="commandeAsso" action="<?=$this->url(array('controller'=>'pieces', 'action'=>'cmdassociation'))?>" method="post">
<input type="hidden" name="siret" value="<?=$this->siret?>" />
<input type="hidden" name="id" value="<?=$this->id?>" />
<div class="fieldgrp">
<label>Votre Référence</label>
<div class="field">
<input type="text" class="longfield" name="ref" value="">
</div>
</div>
<div class="fieldgrp">
<label>Votre téléphone</label>
<div class="field">
<input type="text" name="tel" value="" maxlength="14" />
</div>
</div>
<div class="fieldgrp">
<label>Adresse email du destinataire</label>
<div class="field">
<input name="email" type="text" value="<?=$this->email?>" size="50"/>
</div>
</div>
<div class="fieldgrp">
<label>&nbsp;</label>
<div class="field">
<input type="submit" class="button" name="kbis" value="Valider" title="Commander les statuts de l'association...">
</div>
</div>
</form>
<?php
//Lien pour upload acte association
if ($this->ModeEdition) {
?>
<a id="acteUpload" href="<?=$this->url(array('controller'=>'saisie', 'action'=>'association'))?>" title="Envoi Acte/Statut Association">
<b>Envoyer un acte</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: {
Annuler: function() { $(this).dialog('close'); }
},
close: function() { $('#dialogacteupload').remove(); }
};
$('<div id="dialogacteupload"></div>').dialog(dialogOpts);
return false;
});
</script>
<?php }?>
</div>
</div>