correction fiche de l'identite

This commit is contained in:
Jean Vladimir TWAHIRWA 2016-09-28 17:57:34 +02:00
parent 49a44becc8
commit b57e391ed6
38 changed files with 384 additions and 193 deletions

View File

@ -0,0 +1,17 @@
<?php
return array(
array(
'label' => "Retour à la fiche d'identite",
'uri' => "#",
'pages' => array(
array(
'label' => "Fiche",
'module' => 'legal',
'controller' => 'identite',
'action' => 'fiche',
),
),
),
);

View File

@ -547,7 +547,7 @@ class Input_IndexController extends Zend_Controller_Action
{
$request = $this->getRequest();
$champ = $request->getParam('champ', '');
$this->renderScript('saisie/champs/'.$champ.'.phtml');
$this->renderScript('index/champs/'.$champ.'.phtml');
}
/**

View File

@ -260,15 +260,15 @@ class Input_MandataireController extends Zend_Controller_Action
$error = true;
}
if($tabMandataires['Nom']=='' ){$fields[] ='Nom'; $error = true;}
if($tabMandataires['type']==''){$fields[] ='Type'; $error = true;}
if($tabMandataires['tribunal']==''){$fields[] ='Tribunal'; $error = true;}
if($tabMandataires['coursAppel']==''){$fields[] ='Cours d\'appel'; $error = true;}
if($tabMandataires['Statut']==''){$fields[] ='Statut'; $error = true;}
if($tabMandataires['adresse']==''){$fields[] ='Adresse'; $error = true;}
if($tabMandataires['cp']==''){$fields[] ='Code Postal'; $error = true;}
if($tabMandataires['ville']==''){$fields[] ='Ville'; $error = true;}
if($tabMandataires['tel']==''){$fields[] ='Téléphone'; $error = true;}
if($tabMandataires['Nom']=='' ){$fields ='Nom'; $error = true;}
if($tabMandataires['type']==''){$fields ='Type'; $error = true;}
if($tabMandataires['tribunal']==''){$fields ='Tribunal'; $error = true;}
if($tabMandataires['coursAppel']==''){$fields ='Cours d\'appel'; $error = true;}
if($tabMandataires['Statut']==''){$fields ='Statut'; $error = true;}
if($tabMandataires['adresse']==''){$fields='Adresse'; $error = true;}
if($tabMandataires['cp']==''){$fields ='Code Postal'; $error = true;}
if($tabMandataires['ville']==''){$fields ='Ville'; $error = true;}
if($tabMandataires['tel']==''){$fields ='Téléphone'; $error = true;}
//Envoi de la requête au webservices
if ($error==true){

View File

@ -34,7 +34,7 @@ Siren / Siret : <input type="text" name="siretOut" value="" />
<input type="hidden" name="op" value="<?=$this->op?>" />
<input type="hidden" name="siret" value="<?=$this->siret?>"/>
<input type="hidden" name="idan" value="<?=$this->idan?>">
<?=$this->action('form', 'saisie', null, array('siret'=>$this->siret))?>
<?=$this->action('form', 'index', 'input', array('siret'=>$this->siret))?>
</form>
<?php } else { echo $this->message; }?>

View File

@ -5,15 +5,19 @@ if ( !isset($inEditDialog) || $inEditDialog === false ) {
$tribunal = $saisie['tribunal'];
}
?>
<label>Administrateur <font color="Red">*</font></label>
<input class="searchMandataires" type="text" name="admin" value="">
<div class="form-group">
<label class="col-sm-4 control-label">Administrateur <font color="Red">*</font></label>
<div class="col-sm-8 form-inline"">
<input class="form-control input-sm " class="searchMandataires" type="text" name="admin" value="" size="50";>
<input type="hidden" name="jugement[admin]" value="">
<a id="lienAdministrateurEdit" class="lienMandataire" title="Editer le mandataire"
href="<?=$this->url(array('controller'=>'mandataire', 'action'=>'add'))?>">
href="<?=$this->url(array('module'=>'input','controller'=>'mandataire', 'action'=>'add'))?>">
<img src="/themes/default/images/interfaces/edit1.gif" alt="Edition mandataire"/>
</a>
<p>
<a id="lienAdministrateurAdd" class="lienMandataire" title="Ajouter un administrateur"
href="<?=$this->url(array('controller'=>'mandataire', 'action'=>'edit', 'tribunal'=>$tribunal))?>">
href="<?=$this->url(array('module'=>'input','controller'=>'mandataire', 'action'=>'edit', 'tribunal'=>$tribunal))?>">
Ajouter un administrateur
</a></p>
</a></p>
</div>
</div>

View File

@ -5,15 +5,19 @@ if ( !isset($inEditDialog) || $inEditDialog === false ) {
$tribunal = $saisie['tribunal'];
}
?>
<label>Mandataire <font color="Red">*</font></label>
<input class="searchMandataires" type="text" name="mand" value="">
<div class="form-group">
<label class="col-sm-4 control-label">Mandataire <font color="Red">*</font></label>
<div class="col-sm-8 form-inline"">
<input class="form-control input-sm " class="searchMandataires" type="text" name="mand" value="" size="50">
<input type="hidden" name="jugement[mand]" value="">
<a id="lienMandataireEdit" class="lienMandataire" title="Editer le mandataire"
href="<?=$this->url(array('controller'=>'mandataire', 'action'=>'add'))?>">
href="<?=$this->url(array('module'=>'input','controller'=>'mandataire', 'action'=>'add'))?>">
<img src="/themes/default/images/interfaces/edit1.gif" alt="Edition mandataire"/>
</a>
<p>
<a id="lienMandataireAdd" class="lienMandataire" title="Ajouter un mandataire"
href="<?=$this->url(array('controller'=>'mandataire', 'action'=>'edit', 'tribunal'=>$tribunal))?>">
href="<?=$this->url(array('module'=>'input','controller'=>'mandataire', 'action'=>'edit', 'tribunal'=>$tribunal))?>">
Ajouter un mandataire
</a></p>
</a></p>
</div>
</div>

View File

@ -1 +1 @@
<p>Sélectionner l'évènement ou le jugement, pour faire apparaître le formulaire.</p>
<p class="col-sm-offset-2">Sélectionner l'évènement ou le jugement, pour faire apparaître le formulaire.</p>

View File

@ -1,7 +1,17 @@
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<div class="form-group">
<label class="col-sm-4 control-label">Date cessation de paiement </label>
<div class="col-sm-4 form-inline">
<input type="text" class="form-control input-sm date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />
</div>
</div>
<?=$this->action('champs', 'index', "input", array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', "input", array( 'champ' => 'mandataire'))?>
<div class="form-group">
<label class="col-sm-4 control-label">Compl&eacute;ment, huissier, opposition, etc...</label>
<div class="col-sm-4">
<input class="form-control input-sm " type="text" name="jugement[comp]" size="70" maxlength="255" value="" />
</div>
</div>

View File

@ -1,4 +1,4 @@
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -1,4 +1,4 @@
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -1,7 +1,7 @@
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -1,7 +1,7 @@
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -1,7 +1,7 @@
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -1,7 +1,7 @@
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index','input', array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -1,7 +1,7 @@
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -1,7 +1,7 @@
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -1,7 +1,7 @@
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -1,7 +1,7 @@
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -1,7 +1,7 @@
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -1,7 +1,7 @@
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -1,7 +1,7 @@
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -1,7 +1,7 @@
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input',array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', 'input',array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -1,7 +1,7 @@
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -1,7 +1,7 @@
<label>Date cessation de paiement </label>
<input type="text" class="date" name="jugement[datePaie]" size="10" maxlength="10" value="" />
<span class="left">(Format JJ/MM/AAAA)</span>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'saisie', null, array( 'champ' => 'mandataire'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'administrateur'))?>
<?=$this->action('champs', 'index', 'input', array( 'champ' => 'mandataire'))?>
<label>Compl&eacute;ment, huissier, opposition, etc...</label>
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />

View File

@ -16,7 +16,7 @@ $tabPerimetreVente = array(
);
?>
<?=$this->action('champs', 'saisie', null, array('champ' => 'opposition'))?>
<?=$this->action('champs', 'index', 'input', array('champ' => 'opposition'))?>
<label>Date de jouissance / effet :</label>
<input type="text" maxlength="10" class="date" name="jugement[dateFinPeriode]" value="<?=$this->saisie['dateFinPeriode']?>" />
<span class="left">(Format JJ/MM/AAAA)</span>

View File

@ -1,5 +1,7 @@
<label>Source <font color="Red">*</font></label>
<select name="jugement[source]">
<div class="form-group">
<label class="col-sm-4 control-label">Source <font color="Red">*</font></label>
<div class="col-sm-4 ">
<select class="form-control" name="jugement[source]">
<?php
$select = '';
if ( !isset($this->saisie['source']) || $this->saisie['source']=='TS' ){
@ -34,24 +36,37 @@ if (count($this->ListeJalCollecte)>0) {
}
?>
</select>
<div id="dateParution">
<label>Date de parution <font color="Red">*</font></label>
<input class="date" type="text" name="jugement[dateParution]" size="10" maxlength="10" value="<?=$this->saisie['dateParution']?>" />
<span class="left">(Format JJ/MM/AAAA)</span>
</div>
</div>
<div id="numParution">
<label>N&deg; de parution</label>
<input type="text" name="jugement[numParution]" size="10" maxlength="10" value="<?=$this->saisie['numParution']?>" />
<div class="form-group" id="dateParution">
<label class="col-sm-4 control-label">Date de parution <font color="Red">*</font></label>
<div class="col-sm-8 form-inline">
<input class="form-control input-sm" class="date" type="text" name="jugement[dateParution]" value="<?=$this->saisie['dateParution']?>" />
<span class="small">(Format JJ/MM/AAAA)</span>
</div>
</div>
<label>Date &eacute;v&egrave;nement / jugement<font color="Red">*</font></label>
<input class="date" type="text" name="jugement[dateJuge]" size="10" maxlength="10" value="<?=$this->saisie['dateJugement']?>" />
<span class="left">(Format JJ/MM/AAAA)</span>
<div class="form-group" id="numParution">
<label class="col-sm-4 control-label">N&deg; de parution</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" type="text" name="jugement[numParution]" value="<?=$this->saisie['numParution']?>" />
</div>
</div>
<label>Tribunal <font color="Red">*</font></label>
<select id="tribunal" name="jugement[tribunal]">
<div class="form-group">
<label class="col-sm-4 control-label">Date &eacute;v&egrave;nement / jugement<font color="Red">*</font></label>
<div class="col-sm-4 form-inline">
<input class="form-control input-sm date" type="text" name="jugement[dateJuge]" value="<?=$this->saisie['dateJugement']?>" />
<span class="small">(Format JJ/MM/AAAA)</span>
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label">Tribunal <font color="Red">*</font></label>
<div class="col-sm-4 ">
<select class="form-control" id="tribunal" name="jugement[tribunal]">
<option value="INCONU" selected>-</option>
<?php
$codeCmp = $this->codeTribunalCmp;
@ -76,9 +91,13 @@ if (count($this->ListeTribunaux)>0) {
}
?>
</select>
</div>
</div>
<label>&Eacute;v&egrave;nement / Jugement <font color="Red">*</font></label>
<select id="jugement" name="jugement[even][]" size="5">
<div class="form-group">
<label class="col-sm-4 control-label">&Eacute;v&egrave;nement / Jugement <font color="Red">*</font></label>
<div class="col-sm-4 ">
<select class="form-control" id="jugement" name="jugement[even][]" size="5" multiple>
<option value="0000">-</option>
<?php
if (count($this->tabEvent)>0) {
@ -104,6 +123,9 @@ if (count($this->tabEvent)>0) {
}
?>
</select>
<div id="subFormSaisie">
</div>
</div>
<div id="subFormSaisie">
<?=$this->action('even','index', 'input', array('num'=> $this->eventNum, 'siren'=>substr($this->siret,0,9)))?>
</div>
</div>

View File

@ -1,4 +1,4 @@
<div id="center">
<div id="center" class="small">
<?php if ($message!='') { ?>
<div style="margin:5px; padding: 0pt 0.7em;" class="ui-state-highlight ui-corner-all">
@ -71,43 +71,73 @@ else
?>
</div>
<h2 id="dFormLogo" href="<?=$this->url(array('controller'=>'logo', 'action'=>'index', 'siren'=>$this->etab->Siren))?>">Logo</h2>
<div class="paragraph">
<div class="bg-primary"><h2 id="dFormLogo" href="<?=$this->url(array('module'=>'user','controller'=>'logo', 'action'=>'index', 'siren'=>$this->etab->Siren))?>">Logo</h2></div>
<div >
<div id="formLogo"></div>
</div>
<h2>Dénomination sociale et coordonnées</h2>
<form name="form_saisie" action="<?=$this->url(array('module'=>'input', 'controller'=>'index', 'action'=>'save'), null, true)?>" method="post" enctype="multipart/form-data">
<div class="bg-primary"><h2>Dénomination sociale et coordonnées</h2></div>
<form class="form-group-sm form-horizontal" name="form_saisie" action="<?=$this->url(array('module'=>'input', 'controller'=>'index', 'action'=>'save'), null, true)?>" method="post" enctype="multipart/form-data">
<input type="hidden" name="siret" value="<?=$this->siret?>"/>
<input type="hidden" name="id" value="<?=$this->id?>"/>
<input type="hidden" name="siren" value="<?=$this->etab->Siren?>"/>
<input type="hidden" name="nic" value="<?=$this->etab->Nic?>"/>
<div class="paragraph">
<label>T&eacute;l&eacute;phone</label>
<input type="text" name="frmSaisie[tel]" size="25" maxlength="100" value="<?=trim($this->etab->Tel)?>" />
<label>Fax</label>
<input type="text" name="frmSaisie[fax]" size="25" maxlength="100" value="<?=trim($this->etab->Fax)?>" />
<label>Site Internet</label>
<input type="text" name="frmSaisie[web]" size="40" maxlength="100" value="<?=$siteWeb?>" />
<label>E-mail</label>
<input type="text" name="frmSaisie[mail]" size="40" maxlength="100" value="<?=trim($this->etab->Mail)?>" />
<div class="form-group">
<label class="col-sm-4 control-label">T&eacute;l&eacute;phone</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" type="text" name="frmSaisie[tel]" size="25" maxlength="100" value="<?=trim($this->etab->Tel)?>" />
</div>
</div>
<h2>Activité(s) et Chiffres d'Affaires</h2>
<div class="paragraph">
<div class="form-group">
<label class="col-sm-4 control-label">Fax</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" type="text" name="frmSaisie[fax]" size="25" maxlength="100" value="<?=trim($this->etab->Fax)?>" />
</div>
</div>
<label>Code ISIN</label>
<input type="text" name="frmSaisie[isin]" size="15" maxlength="15" value="<?=trim($this->etab->Isin)?>" />
<label>Activit&eacute; d&eacute;clar&eacute;e de l'entreprise</label>
<textarea name="frmSaisie[activite]" rows="5" cols="40"><?=$this->etab->Activite?></textarea>
<div class="form-group">
<label class="col-sm-4 control-label">Site Internet</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" type="text" name="frmSaisie[web]" size="40" maxlength="100" value="<?=$siteWeb?>" />
</div>
</div>
<label>Capital Montant</label>
<input type="text" name="frmSaisie[capital_mt]" size="10" maxlength="11" value="<?=trim($this->etab->Capital)*1.0?>" disabled="disabled"/>
<label>Capital Devise</label>
<select disabled="disabled" name="frmSaisie[capital_dev]">
<div class="form-group">
<label class="col-sm-4 control-label">E-mail</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" type="text" name="frmSaisie[mail]" size="40" maxlength="100" value="<?=trim($this->etab->Mail)?>" />
</div>
</div>
<div class="bg-primary"><h2>Activité(s) et Chiffres d'Affaires</h2></div>
<div class="form-group">
<label class="col-sm-4 control-label">Code ISIN</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" type="text" name="frmSaisie[isin]" size="15" maxlength="15" value="<?=trim($this->etab->Isin)?>" />
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label">Activit&eacute; d&eacute;clar&eacute;e de l'entreprise</label>
<div class="col-sm-4 ">
<textarea class="form-control " name="frmSaisie[activite]" rows="5" cols="40"><?=$this->etab->Activite?></textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label">Capital Montant</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" type="text" name="frmSaisie[capital_mt]" size="10" maxlength="11" value="<?=trim($this->etab->Capital)*1.0?>" disabled="disabled"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label">Capital Devise</label>
<div class="col-sm-4 ">
<select class="form-control" disabled="disabled" name="frmSaisie[capital_dev]">
<?php
$selOne=false;
foreach($this->devises as $dev) {
@ -120,43 +150,55 @@ if (!$selOne) echo '<option value="0000" selected>-</option>';
?>
</select>
</div>
</div>
<h2>BODACC</h2>
<div class="paragraph">
<div class="bg-primary"><h2>BODACC</h2></div>
<div>
<?=$this->action('form','index', 'input', array( 'siret' => $this->siret))?>
</div>
<h2>Informations diverses</h2>
<div class="paragraph">
<div class="bg-primary"><h2>Informations diverses</h2></div>
<div>
<label>Autre siren (doublon)</label>
<input type="text" size="11" name="frmSaisie[sirenDoublon]" value="<?=$this->etab->sirenDoublon?>"/>
<div class="form-group">
<label class="col-sm-4 control-label">Autre siren (doublon)</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" type="text" size="11" name="frmSaisie[sirenDoublon]" value="<?=$this->etab->sirenDoublon?>"/>
</div>
</div>
<label>Refus dinscription au Registre du Commerce et des Sociétés</label>
<input type="checkbox" name="refusRNCS" value="1"/>
<div id="divRefusRNCS"></div>
<div class="form-group">
<label class="col-sm-4 control-label">Refus dinscription au Registre du Commerce et des Sociétés</label>
<div class="col-sm-4 ">
<input class="form-control" type="checkbox" name="refusRNCS" value="1"/>
</div>
</div>
<div class="form-group" id="divRefusRNCS"></div>
<?php
$waldec = '';
if (substr($this->etab->autreId,0,1)=='W'){
$waldec = $this->etab->autreId;
}
?>
<div>
<label>Identifiant R.N.A.</label>
<input type="text" size="11" name="frmSaisie[waldec]" value="<?=$waldec?>"/>
<div class="form-group">
<label class="col-sm-4 control-label">Identifiant R.N.A.</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" type="text" size="11" name="frmSaisie[waldec]" value="<?=$waldec?>"/>
</div>
</div>
<div>
<label>Entreprise de domiciliation</label>
<select name="frmSaisie[domiciliataire]">
<div class="form-group">
<label class="col-sm-4 control-label">Entreprise de domiciliation</label>
<div class="col-sm-4 ">
<select class="form-control" name="frmSaisie[domiciliataire]">
<option value="nd">Sans objet</option>
<option value="oui">Oui</option>
<option value="non">Non</option>
</select>
</div>
</div>
<?php
$disable = ' disabled';
@ -164,15 +206,18 @@ if(substr($this->etab->FJ,0,1)=='1' || in_array($this->etab->FJ, array(2310, 232
$disable = '';
}
?>
<div>
<label>Entreprise ayant exercée son droit d'opposition en</label>
<input type="checkbox" name="oppositionInsee" value="1"<?=$disable?>/>
<div class="form-group">
<label class="col-sm-4 control-label">Entreprise ayant exercée son droit d'opposition en</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" type="checkbox" name="oppositionInsee" value="1"<?=$disable?>/>
<div id="divOppositionInsee"></div>
</div>
</div>
<div class="submit clearfix"><input type="submit" name="submit" value="Sauver"/></div>
</div>
</form>
</div>

View File

@ -1,4 +1,5 @@
<select name="frmSaisie[moisRefusRCS]">
<div class="col-sm-4 col-sm-offset-4">
<select class="form-control" name="frmSaisie[moisRefusRCS]">
<option value="">-</option>
<?php
setlocale (LC_TIME, 'fr_FR.UTF-8', 'fra');
@ -13,4 +14,6 @@ for($i=0;$i<12;$i++)
<?php
}
?>
</select>
</select>
</div>

View File

@ -1,5 +1,5 @@
<div id="center">
<h2>Saisie</h2>
<div id="center" class="small">
<div class="bg-primary"><h2>Saisie</h2></div>
<div class="paragraph">
<?php if (!empty($this->message)) { ?>
<div style="margin:5px; padding:0.7em;" class="ui-state-highlight ui-corner-all">
@ -8,25 +8,25 @@
</p></div>
<?php } ?>
<br/>
<a href="<?=$this->url(array('controller'=>'juridique', 'action'=>'annonces', 'siret'=>$this->siret, 'id'=>$this->id))?>">
<a href="<?=$this->url(array('module'=>'legal','controller'=>'juridique', 'action'=>'annonces', 'siret'=>$this->siret, 'id'=>$this->id))?>">
Retour à la liste des annonces légales.
</a><br/>
<a href="<?=$this->url(array('controller'=>'identite', 'action'=>'fiche', 'siret'=>$this->siret, 'id'=>$this->id))?>">
<a href="<?=$this->url(array('module'=>'legal','controller'=>'identite', 'action'=>'fiche', 'siret'=>$this->siret, 'id'=>$this->id))?>">
Retour à la fiche identité.
</a><br/>
<a href="<?=$this->url(array('controller'=>'recherche', 'action'=>'entreprise'))?>">
<a href="<?=$this->url(array('module'=>'search','controller'=>'entreprise', 'action'=>'index'))?>">
Retour à la recherche
</a>
</div>
<h2>Paramètres</h2>
<div class="bg-primary"><h2>Paramètres</h2></div>
<pre>
<?php print_r($this->params);?>
</pre>
<h2>Infos Envoyés</h2>
<div class="bg-primary"><h2>Infos Envoyés</h2></div>
<pre>
<?php print_r($this->tabInfos);?>
</pre>

View File

@ -0,0 +1 @@
<?=json_encode($this->identifiant);

View File

@ -253,15 +253,15 @@ function AddSelectCountry(code, n){
if (!n) { n=1; } else {n++;}
if (n<=3){
var html = 'Aucun identifiant !';
$.getJSON('/lien/countryid', {code: code}, function(data){
$.getJSON('/input/lien/countryid', {code: code}, function(data){
var option = '';
$.each(data, function(i, item){
option = option + '<option value="'+item.internalId+'">'+item.name+'</option>';
});
if (option!=''){
html = '<div class="fieldgrp"><label>Identifiant local</label>'+
'<div class="field"><input size="35" type="text" name="idLoc'+n+'Num"/>'+
'<select name="idLoc'+n+'Type">'+option+'</select>';
html = '<div class="form-group"><label class="col-sm-4 control-label">Identifiant local</label>'+
'<div class="col-sm-8 form-inline"><input class=" form-control" type="text" name="idLoc'+n+'Num" />'+
'<select class="form-control" name="idLoc'+n+'Type " style="width:150px;">'+option+'</select>';
if (n<3) { html = html+'<a href="'+n+'" class="addIdLocal" id="ad'+n+'">[+]</a>';}
html = html+'<a href="'+n+'" class="removeIdLocal" id="rm'+n+'">[-]</a></div></div>';
}
@ -270,6 +270,7 @@ function AddSelectCountry(code, n){
}
}
$('a#google').on('click', function(e){
var val = $('input[name=nom]').val();
window.open('https://www.google.fr/#q='+encodeURIComponent(val));

View File

@ -67,7 +67,7 @@
</div>
</div>
<div class="form-group">
<div class="col-md-offset-1">
<a href="<?=$this->url(array('module'=>'input', 'controller'=>'lien', 'action'=>'pp'), 'default', true)?>" class="lienRef">Personne physique</a>,
<a href="<?=$this->url(array('module'=>'input', 'controller'=>'lien', 'action'=>'etranger'), 'default', true)?>" class="lienRef">Société étrangère</a>
</div>

View File

@ -48,8 +48,7 @@ $('input[name=naissance_date]').datepicker({ changeMonth: true, changeYear: true
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label"></label>
<div class="col-sm-7">
<div class="col-sm-7 col-md-offset-4">
<select class=" form-control" name="naissance_dept_pays">
<option>-</option>
<?php foreach($this->countries as $code => $item) {?>

View File

@ -1,25 +1,43 @@
<div id="dMessage"><?=$this->message?></div>
<form id="frmCreateMandataires" name="mandataires" method="post" action="<?=$this->url(array('controller'=>'mandataire', 'action'=>'save'))?>">
<form class="form-group-sm form-horizontal well small" id="frmCreateMandataires" name="mandataires" method="post" action="<?=$this->url(array('module'=>'input','controller'=>'mandataire', 'action'=>'save'))?>">
<input type="hidden" name="tabMandataires[id]" value="<?=$this->tabMandataires['id'];?>">
<label>Siren de la société Civile <em>*</em>:</label>
<input name="tabMandataires[sirenGrp]" type="text" value="<?=$this->tabMandataires['sirenGrp'];?>" maxlength="25">
<span class="left"><a href="#" id="getInfo_sirenGrp">Obtenir les informations.</a></span>
<div class="form-group">
<label class="col-sm-5 control-label">Siren de la société Civile <em>*</em>:</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" name="tabMandataires[sirenGrp]" type="text" value="<?=$this->tabMandataires['sirenGrp'];?>" maxlength="25">
<span class="small"><a href="#" id="getInfo_sirenGrp">Obtenir les informations.</a></span>
</div>
</div>
<div class="form-group">
<label class="col-sm-5 control-label">Siren de la professions libérale :</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" name="tabMandataires[sirenMand]" type="text" value="<?=$this->tabMandataires['sirenMand'];?>" maxlength="17">
<span class="small"><a href="#" id="getInfo_sirenMand">Obtenir les informations.</a></span>
</div>
</div>
<label>Siren de la professions libérale :</label>
<input name="tabMandataires[sirenMand]" type="text" value="<?=$this->tabMandataires['sirenMand'];?>" maxlength="17">
<span class="left"><a href="#" id="getInfo_sirenMand">Obtenir les informations.</a></span>
<div class="form-group">
<label class="col-sm-5 control-label">Nom <em>*</em>:</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" name="tabMandataires[Nom]" type="text" value="<?=$this->tabMandataires['Nom'];?>" maxlength="81">
</div>
</div>
<label>Nom <em>*</em>:</label>
<input name="tabMandataires[Nom]" type="text" value="<?=$this->tabMandataires['Nom'];?>" maxlength="81">
<div class="form-group">
<label class="col-sm-5 control-label">Prenom :</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" name="tabMandataires[Prenom]" type="text" value="<?=$this->tabMandataires['Prenom'];?>" maxlength="21">
</div>
</div>
<label>Prenom :</label>
<input name="tabMandataires[Prenom]" type="text" value="<?=$this->tabMandataires['Prenom'];?>" maxlength="21">
<label>Type d'intervenant <em>*</em>:</label>
<select name="tabMandataires[type]">
<div class="form-group">
<label class="col-sm-5 control-label">Type d'intervenant <em>*</em>:</label>
<div class="col-sm-4 ">
<select class="form-control" name="tabMandataires[type]">
<option value="" >-</option>
<option value="A" <?=($this->tabMandataires['type']=='A' ? 'selected' : '')?>>Administrateur</option>
<option value="AS" <?=($this->tabMandataires['type']=='AS' ? 'selected' : '')?>>Administrateur Stagiaire</option>
@ -30,9 +48,13 @@
<option value="N" <?=($this->tabMandataires['type']=='N' ? 'selected' : '')?>>Notaire</option>
<option value="T" <?=($this->tabMandataires['type']=='T' ? 'selected' : '')?>>Autre</option>
</select>
</div>
</div>
<label>Cours d'appel par defaut n°1 <em>*</em>:</label>
<select name="tabMandataires[coursAppel]">
<div class="form-group">
<label class="col-sm-5 control-label">Cours d'appel par defaut n°1 <em>*</em>:</label>
<div class="col-sm-4 ">
<select class="form-control" name="tabMandataires[coursAppel]">
<option value="">Choix de la cours d'appel</option>
<?php
foreach ($this->coursAppel as $value)
@ -43,9 +65,13 @@ foreach ($this->coursAppel as $value)
}
?>
</select>
</div>
</div>
<label>Cours d'appel par defaut n°2 :</label>
<select name="tabMandataires[coursAppel2]">
<div class="form-group">
<label class="col-sm-5 control-label">Cours d'appel par defaut n°2 :</label>
<div class="col-sm-4 ">
<select class="form-control" name="tabMandataires[coursAppel2]">
<option value="">Choix de la cours d'appel</option>
<?php
foreach ($this->coursAppel as $value)
@ -56,9 +82,13 @@ foreach ($this->coursAppel as $value)
}
?>
</select>
</div>
</div>
<label>Libellé du tribunal <em>*</em>:</label>
<select name="tabMandataires[tribunal]">
<div class="form-group">
<label class="col-sm-5 control-label">Libellé du tribunal <em>*</em>:</label>
<div class="col-sm-4 ">
<select class="form-control" name="tabMandataires[tribunal]">
<option value="">Choix du tribunal</option>
<?php
foreach ($this->tribunaux as $item)
@ -72,10 +102,14 @@ foreach ($this->tribunaux as $item)
}
?>
</select>
<span class="left">(Vérifier le tribunal du mandataire)</span>
<span class="small">(Vérifier le tribunal du mandataire)</span>
</div>
</div>
<label>Forme Juridique <em>*</em>:</label>
<select name="tabMandataires[Statut]">
<div class="form-group">
<label class="col-sm-5 control-label">Forme Juridique <em>*</em>:</label>
<div class="col-sm-4 ">
<select class="form-control" name="tabMandataires[Statut]">
<option value="" selected>-</option>
<option value="1500" <?=($this->tabMandataires['Statut']=='1500' ? 'selected' : '')?>>Profession libérale</option>
<option value="1400" <?=($this->tabMandataires['Statut']=='1400' ? 'selected' : '')?>>Officier public ou ministériel</option>
@ -135,32 +169,70 @@ foreach ($this->tribunaux as $item)
<option value="2120" <?=($this->tabMandataires['Statut']=='2120' ? 'selected' : '')?>>Indivision avec personne morale</option>
<option value="8420" <?=($this->tabMandataires['Statut']=='8420' ? 'selected' : '')?>>Syndicat patronal</option>
</select>
</div>
</div>
<label>Adresse <em>*</em>:</label>
<textarea name="tabMandataires[adresse]"><?=$this->tabMandataires['adresse'];?></textarea>
<div class="form-group">
<label class="col-sm-5 control-label">Adresse <em>*</em>:</label>
<div class="col-sm-4 ">
<textarea class="form-control" name="tabMandataires[adresse]"><?=$this->tabMandataires['adresse'];?></textarea>
</div>
</div>
<label>Complément adresse :</label>
<input name="tabMandataires[adresseComp]" type="text" value="<?=$this->tabMandataires['adresseComp'];?>" maxlength="8">
<div class="form-group">
<label class="col-sm-5 control-label">Complément adresse :</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" name="tabMandataires[adresseComp]" type="text" value="<?=$this->tabMandataires['adresseComp'];?>" maxlength="8">
</div>
</div>
<label>Code Postal <em>*</em>:</label>
<input name="tabMandataires[cp]" type="text" value="<?=$this->tabMandataires['cp'];?>" maxlength="5">
<div class="form-group">
<label class="col-sm-5 control-label">Code Postal <em>*</em>:</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" name="tabMandataires[cp]" type="text" value="<?=$this->tabMandataires['cp'];?>" maxlength="5">
</div>
</div>
<label>Ville ou commune <em>*</em>:</label>
<input name="tabMandataires[ville]" type="text" value="<?=$this->tabMandataires['ville'];?>" maxlength="28">
<div class="form-group">
<label class="col-sm-5 control-label">Ville ou commune <em>*</em>:</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" name="tabMandataires[ville]" type="text" value="<?=$this->tabMandataires['ville'];?>" maxlength="28">
</div>
</div>
<label>Téléphone <em>*</em>:</label>
<input name="tabMandataires[tel]" type="text" value="<?=$this->tabMandataires['tel'];?>" maxlength="16">
<div class="form-group">
<label class="col-sm-5 control-label">Téléphone <em>*</em>:</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" name="tabMandataires[tel]" type="text" value="<?=$this->tabMandataires['tel'];?>" maxlength="16">
</div>
</div>
<label>Télécopie :</label>
<input name="tabMandataires[fax]" type="text" value="<?=$this->tabMandataires['fax'];?>" maxlength="16">
<div class="form-group">
<label class="col-sm-5 control-label">Télécopie :</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" name="tabMandataires[fax]" type="text" value="<?=$this->tabMandataires['fax'];?>" maxlength="16">
</div>
</div>
<label>Email :</label>
<input name="tabMandataires[email]" type="text" value="<?=$this->tabMandataires['email'];?>" maxlength="51">
<div class="form-group">
<label class="col-sm-5 control-label">Email :</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" name="tabMandataires[email]" type="text" value="<?=$this->tabMandataires['email'];?>" maxlength="51">
</div>
</div>
<label>Web :</label>
<input name="tabMandataires[web]" type="text" value="<?=$this->tabMandataires['web'];?>" maxlength="35">
<div class="form-group">
<label class="col-sm-5 control-label">Web :</label>
<div class="col-sm-4 ">
<input class="form-control input-sm" name="tabMandataires[web]" type="text" value="<?=$this->tabMandataires['web'];?>" maxlength="35">
</div>
</div>
<label>Informations diverses :</label>
<textarea name="tabMandataires[contact]"><?=$this->tabMandataires['contact'];?></textarea>
<div class="form-group">
<label class="col-sm-5 control-label">Informations diverses :</label>
<div class="col-sm-4 ">
<textarea class="form-control" name="tabMandataires[contact]"><?=$this->tabMandataires['contact'];?></textarea>
</div>
</div>
</form>

View File

@ -54,7 +54,7 @@
<?=$this->SirenTexte($dir->Siren)?></a>
<?php if (empty($this->AutrePage) && $this->UserModeEdit) {?>
<a class="dialog" title="<?=$this->translate("Ajouter un actionnaire")?>" href="<?=$this->url(array('module'=>'input', 'controller'=>'index','action'=>'lien','type'=>'actionnaire','mode'=>'add','siren'=>$this->siren,'createfiche'=>$dir->Siren),null,true)?>">
<a class="dialog" title="<?=$this->translate("Ajouter un actionnaire")?>" href="<?=$this->url(array('module'=>'input', 'controller'=>'lien','action'=>'index','type'=>'actionnaire','mode'=>'add','siren'=>$this->siren,'createfiche'=>$dir->Siren),null,true)?>">
<img style="vertical-align:middle;" src="/themes/default/images/interfaces/ajouter.png" /></a>
<?php }?>
<?php }?>

View File

@ -1,6 +1,5 @@
<?php if ( empty($this->AutrePage) ) {?>
<div id="content">
<div class="page-header">
<h1><?=$this->raisonSociale?> <small><?=$this->SirenTexte($this->siret)?></small></h1>
</div>

View File

@ -98,6 +98,20 @@ class Application_Controller_Plugin_Menu extends Zend_Controller_Plugin_Abstract
$view->headScript()
->appendFile('/libs/metisMenu/metisMenu.min.js', 'text/javascript');
break;
case 'input':
$view = $layout->getView();
$view->MenuAdvanced = true;
// $view->MenuLabel = 'Informations légales';
$config = include APPLICATION_PATH . '/configs/menu.input.php';
$this->container = new Zend_Navigation($config);
$this->setPageParams($request);
$view->navigation($this->container);
$view->headLink()
->appendStylesheet('/libs/metisMenu/metisMenu.min.css', 'all');
$view->headScript()
->appendFile('/libs/metisMenu/metisMenu.min.js', 'text/javascript');
break;
default:
// Menu Default
// --- Affichage page error
@ -114,7 +128,7 @@ class Application_Controller_Plugin_Menu extends Zend_Controller_Plugin_Abstract
$menu = $computeMenu->getMenu();
$view = $layout->getView();
$view->navigation($menu);
// --- Identifiant Menu
$view->menuId = $computeMenu->getIdMenu($controller, $action);

View File

@ -113,7 +113,7 @@ $(function(){
$('[name=oppositionInsee]').on('change', function(e){
e.preventDefault();
if($(this).prop('checked')) {
$('#divOppositionInsee').load('/saisie/oppositioninsee');
$('#divOppositionInsee').load('/input/index/oppositioninsee');
} else { $('#divOppositionInsee').html(''); }
});
@ -121,7 +121,7 @@ $(function(){
$('[name=refusRNCS]').on('change', function(e){
e.preventDefault();
if($(this).prop('checked')) {
$('#divRefusRNCS').load('/saisie/refusrncs');
$('#divRefusRNCS').load('/input/index/refusrncs');
} else { $('#divRefusRNCS').html(''); }
});
@ -161,7 +161,7 @@ $(function(){
delay: 1000,
minLength:3,
source: function(request, response) {
$.getJSON('/mandataire/search', { search: request.term },
$.getJSON('/input/mandataire/search', { search: request.term },
function(data) { response(data); }
);
},
@ -184,7 +184,7 @@ $(function(){
case 'oppo': var lien = 'Opposition'; break;
case 'admin': var lien = 'Administrateur'; break;
}
$('#lien'+lien+'Edit').attr('href', '/mandataire/add/tribunal/'+tribunal+'/idMand/'+idMandataire);
$('#lien'+lien+'Edit').attr('href', '/input/mandataire/add/tribunal/'+tribunal+'/idMand/'+idMandataire);
}
});
});
@ -286,9 +286,9 @@ function displayBlock(block){
function loadFormSaisie(eventValue, params){
$('#subFormSaisie').html('<p>Chargement...</p>');
if(params!=''){
$('#subFormSaisie').load('/saisie/even/num/'+eventValue, params);
$('#subFormSaisie').load('/input/index/even/num/'+eventValue, params);
}else{
$('#subFormSaisie').load('/saisie/event/num/'+eventValue);
$('#subFormSaisie').load('/input/index/event/num/'+eventValue);
}
}