2012-08-28 08:34:14 +00:00

66 lines
1.7 KiB
PHTML

<div id="center">
<?php if ($message!='') {?>
<div style="margin:5px; padding: 0pt 0.7em;" class="ui-state-highlight ui-corner-all">
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>
<?=$message?></p>
</div>
<?php } ?>
<h1 class="titre">Saisie ou Correction Liasse</h1>
<div class="paragraph">
<div class="clearfix">
<label>Num&eacute;ro identifiant Siret</label>
<?=$this->SiretTexte($this->siret)?>
</div>
<div class="clearfix">
<label>Raison Sociale</label>
<?=$this->raisonSociale?>
</div>
<div class="clearfix">
<label>Liste des liasses</label>
<select>
<option>-</option>
<?php foreach ($this->bilans as $item) {?>
<option><?=$item['type']?> - <?=$item['date']?></option>
<?php }?>
</select>
</div>
</div>
<div class="paragraph">
<?php if ($this->infos) {?>
<div class="tabbed_area">
<ul class="tabs">
<?php foreach ($this->ancres as $id => $name):?>
<li><a href="#<?=$id?>" title="<?=$name?>" class="tab"><?=$name?></a></li>
<?php endforeach;?>
</ul>
</div>
<div class="content"><?=$this->partial('saisie/liasse/2050.phtml')?></div>
<div style="text-align:center;"><input type="submit" class="button" id="save" name="save" value="Enregistrer" /></div>
<script>
$('input#save').click(function(e){
e.preventDefault();
var strPostes = '';
$('span.poste').each(function(){
id = $(this).attr('id');
val = $(this).html();
if (val != id && val != '' && val != '-') {
if (strPostes!='') strPostes = strPostes + ';';
strPostes = strPostes + id + '=' + val;
}
});
alert(strPostes);
});
</script>
<?php } else {?>
Aucune sélection.
<?php }?>
</div>
</div>