Contentieux : libellé demandeur/defendeur

This commit is contained in:
Michael RICOIS 2016-04-14 15:27:19 +00:00
parent f3b2ab1b8c
commit b27361b00f
2 changed files with 4 additions and 4 deletions

View File

@ -239,8 +239,8 @@ class JuridiqueController extends Zend_Controller_Action
$type = $request->getParam('type', 'DF');
$this->view->Type = $type;
$typeList = array(
'DE' => 'Demandeur',
'DF' => 'Défendeur',
'DE' => 'demandeur',
'DF' => 'défendeur',
);
$this->view->TypeLabel = '';
if (array_key_exists($type, $typeList)) {

View File

@ -26,7 +26,7 @@
<td width="30">&nbsp;</td>
<td width="200" class="StyleInfoLib">Affaire(s) en tant que</td>
<td width="350" class="StyleInfoData">
<form action="<?=$this->url(array('module'=>'default','controller'=>'juridique',
<form action="<?=$this->url(array('module'=>'default','controller'=>'juridique',
'action'=>'ctx'))?>" method="post">
<select name="type">
<?php foreach($this->TypeList as $k => $v) {?>
@ -40,7 +40,7 @@
</table>
</div>
<h2>Liste des affaires en tant que défendeur</h2>
<h2>Liste des affaires en tant que <?=$this->TypeLabel?></h2>
<div class="paragraph">
<?php if (count($this->List) > 0) {?>
<table class="data">