Création du formulaire Juridique
This commit is contained in:
parent
b0a6f73fd0
commit
7b15b7bba7
@ -1,30 +1,12 @@
|
|||||||
<div>
|
<div>
|
||||||
<ul id="fieldsblock">
|
<ul id="fieldsblock">
|
||||||
<?php
|
<li><?php echo $this->Field('cj', $this->fields->get('cj'));?></li>
|
||||||
$i=0;
|
<li><?php echo $this->Field('actifEco', $this->fields->get('actifEco'));?></li>
|
||||||
foreach($this->champs as $champ) {
|
<li><?php echo $this->Field('procolHisto', $this->fields->get('procolHisto'));?></li>
|
||||||
$valeur = explode(':', $champ['type']);
|
<li><?php echo $this->Field('tvaIntraValide', $this->fields->get('tvaIntraValide'));?></li>
|
||||||
switch ($valeur[0]) {
|
<li><?php echo $this->Field('dateImmat', $this->fields->get('dateImmat'));?></li>
|
||||||
case 'select':
|
|
||||||
echo '<li>'.$this->Select($champ['name'], $champ['libelle'], $champ['parametres']).'</li>';
|
|
||||||
break;
|
|
||||||
case 'interval':
|
|
||||||
echo '<li>'.$this->Interval($champ['name'], $champ['libelle'], (isset($valeur[1])?$valeur[1]:false)).'</li>';
|
|
||||||
break;
|
|
||||||
case 'text':
|
|
||||||
echo '<li>'.$this->Text($champ['name'], $champ['libelle']).'</li>';
|
|
||||||
break;
|
|
||||||
case 'textarea':
|
|
||||||
echo '<li>'.$this->Textarea($champ['name'], $champ['libelle']).'</li>';
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
echo '<li>'.$champ['name'].'</li>'.'<br />';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="text-align:right;margin-top:20px;">
|
||||||
<div style="text-align:right;">
|
<a href="">Réinitialiser les critères entreprises</a>
|
||||||
<a href="">Réinitialiser les critères juridiques</a>
|
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue
Block a user