100 lines
2.6 KiB
PHTML
Raw Normal View History

2012-11-07 17:21:39 +00:00
<form name="lienDoc" action="<?=$this->url(array('controller'=>'saisie', 'action'=>'liendocsave'),null,true)?>">
<input type="hidden" name="idType" value="<?=$this->idType?>"/>
<input type="hidden" name="idNum" value="<?=$this->idNum?>"/>
<fieldset>
<legend>Documents</legend>
<div class="fieldgrp">
<label>Périmètre du document : </label>
<div class="field">
<select name="periDoc">
<option value="G">Groupe complet</option>
<option value="GE">Groupe à l'étranger</option>
<option value="GF">Groupe en FR</option>
<option value="A">Action. directs et ind.</option>
<option value="AD">Action. directs</option>
<option value="Ad">L'actionnaire direct</option>
<option value="P">Participations directes et ind.</option>
<option value="PD">Part. directes,</option>
<option value="Pd">La participation directe</option>
</select>
</div>
</div>
<div class="fieldgrp">
<label>Type :</label>
<div class="field">
<select name="typeDocument">
<option value="greffeactes">Greffe - Actes</option>
<option value="greffebilans">Greffe - Bilans</option>
<option value="sendfile">Autre</option>
</select>
</div>
</div>
<div id="greffebilans" style="display:none;">
Liste des documents Infogreffe
</div>
<div id="greffeactes" style="display:none;">
Liste des documents Infogreffe
</div>
<div id="sendfile" style="display:none;">
<div class="fieldgrp">
<label>Fichier :</label>
<div class="field">
<input type="file" name="fileName" />
</div>
</div>
<div class="fieldgrp">
<label>Type : </label>
<div class="field">
<select name="fileType">
<option value="CA">Comptes Annuels</option>
<option value="CC">Comptes Consolidés</option>
<option value="DR">Document de référence</option>
<option value="RA">Rapport Annuel ou d'Activité</option>
<option value="RS">Rapport Semestriel</option>
<option value="RG">Rapport de gestion</option>
<option value="RF">Rapport financier</option>
<option value="OR">Organigramme</option>
<option value="AP">Article de presse</option>
<option value="AC">Acte</option>
<option value="ST">Statuts</option>
<option value="DW">Document Web/Internet</option>
</select>
</div>
</div>
<div class="fieldgrp">
<label>Date du document ou date de cloture de l'exercice :</label>
<div class="field">
<input type="text" name="fileDate" value="" /> (JJ/MM/AAAAA)
</div>
</div>
</div>
</fieldset>
</form>
<script>
2012-11-07 17:21:39 +00:00
$('select[name=typeDocument]').on('change', function(e){
e.preventDefault();
switch($(this).val()){
case 'greffeactes':
break;
case 'greffebilans':
break;
case 'sendfile':
$('div#sendfile').css('display','block');
break;
}
});
</script>