Demande de reference

This commit is contained in:
Michael RICOIS 2012-02-22 12:56:54 +00:00
parent eb6586aaac
commit f3805d0982
4 changed files with 18 additions and 5 deletions

View File

@ -130,7 +130,12 @@ class EnrichissementController extends Zend_Controller_Action
*/
public function referenceAction()
{
$this->_helper->layout()->disableLayout();
$this->_helper->layout()->disableLayout();
$request = $this->getRequest();
$id = $request->getParam('id', null);
$this->view->assign('id', $id);
}

View File

@ -30,7 +30,7 @@ Liste de vos ciblages
<td><a class="chargement" href="<?=$this->url(array('controller'=> 'dashboard','action'=>'ciblagedetail', 'id'=>$item['id']))?>">Detail</a></td>
<td><a href="<?=$this->url(array('controller'=> 'index','action'=>'index', 'id'=>$item['id']))?>">Recharger les critères de ciblage</a></td>
<td><a href="<?=$this->url(array('controller'=> 'comptage','action'=>'update', 'id'=>$item['id']))?>">Actualiser le comptage</a></td>
<td><a href="<?=$this->url(array('controller'=> 'enrichissement','action'=>'commande', 'id'=>$item['id']))?>">Enrichissement</a></td>
<td><a href="<?=$this->url(array('controller'=> 'enrichissement','action'=>'reference', 'id'=>$item['id']))?>">Enrichissement</a></td>
</tr>
<?php endforeach;?>
</tbody>

View File

@ -6,8 +6,9 @@
<div id="menu">
<a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>'ciblages'))?>">Historique de vos ciblages</a> -
<a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>'enrichissements'))?>">Historique de vos enrichissements</a> -
<a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>'configuration'))?>">Préférences de l'application</a> -
<a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>'exports'))?>">Enrichissement de fichier</a>
<a href="<?=$this->url(array('controller'=>'dashboard', 'action'=>''))?>">Enrichissement de fichier</a>
</div>
<div id="rechercheCiblage">
@ -39,7 +40,7 @@
<td><a class="chargement" href="<?=$this->url(array('controller'=> 'dashboard','action'=>'ciblagedetail', 'id'=>$item['id']))?>">Detail</a></td>
<td><a href="<?=$this->url(array('controller'=> 'index','action'=>'index', 'id'=>$item['id']))?>">Recharger les critères de ciblage</a></td>
<td><a href="<?=$this->url(array('controller'=> 'comptage','action'=>'update', 'id'=>$item['id']))?>">Actualiser le comptage</a></td>
<td><a href="<?=$this->url(array('controller'=> 'enrichissement','action'=>'commande', 'id'=>$item['id']))?>">Enrichissement</a></td>
<td><a href="<?=$this->url(array('controller'=> 'enrichissement','action'=>'reference', 'id'=>$item['id']))?>">Enrichissement</a></td>
</tr>
<?php endforeach;?>
</tbody>

View File

@ -1 +1,8 @@
<?php
<?php if ( empty($this->id) ) {?>
Erreur
<?php } else {?>
<form>
<input type="hidden" name="id" value="" />
<label>Référence</label><input type="text" name="ref">
</form>
<?php }?>