Gestion du profil, données pour l'enrichissement
This commit is contained in:
parent
e579d3a90a
commit
9a0853c2ea
@ -47,10 +47,11 @@ class GestionController extends Zend_Controller_Action
|
||||
$fields = array();
|
||||
foreach($allFields as $name => $item)
|
||||
{
|
||||
if ( array_key_exists('extract', $item) ) {
|
||||
$fields[$name] = $item;
|
||||
if ( array_key_exists('export', $item) ) {
|
||||
$fields[$name] = $item['label'];
|
||||
}
|
||||
}
|
||||
}
|
||||
$this->view->assign('fields', $fields);
|
||||
}
|
||||
|
||||
public function profildelAction(){}
|
||||
|
@ -11,12 +11,21 @@
|
||||
<input type="text" name="reference" />
|
||||
<br/>
|
||||
|
||||
<label>tarifLigne</label>
|
||||
<input type="text" name="tarifLigne" /> €
|
||||
<br/>
|
||||
|
||||
<div style="width:100%;">
|
||||
|
||||
<div style="width:45%;float:left;">
|
||||
<label>Selection des données pour l'enrichissement</label>
|
||||
<select name="listcriteres">
|
||||
<option value="">-</option>
|
||||
<?php if ( count($this->fields)>0 ) {?>
|
||||
<?php foreach ( $this->fields as $value => $lib ) {?>
|
||||
<option value="<?=$value?>"><?=$lib?></option>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@ -28,10 +37,5 @@ Criteres
|
||||
|
||||
<div style="clear:both;"></div>
|
||||
|
||||
<label>tarifLigne</label>
|
||||
<input type="text" name="tarifLigne" /> €
|
||||
<br/>
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user