a
This commit is contained in:
parent
c8268cd43d
commit
f50854493d
|
|
@ -60,6 +60,10 @@ class ControleurAjaxbaremelettrecletemp extends Controleur {
|
||||||
|
|
||||||
public function detailactes()
|
public function detailactes()
|
||||||
{
|
{
|
||||||
|
if($_SESSION['OrigineBareme']=="Detailbaremecollegetemp" && $_SESSION['vueCollege']=="Consultercollege"){
|
||||||
|
$this->executerAction("detailactescons");
|
||||||
|
}
|
||||||
|
|
||||||
$idActesbaremepriseenchargelettrecle_temp = $this->requete->getParametreFormulaire("idActesbaremepriseenchargelettrecle_temp");
|
$idActesbaremepriseenchargelettrecle_temp = $this->requete->getParametreFormulaire("idActesbaremepriseenchargelettrecle_temp");
|
||||||
$lettreCle = $this->requete->getParametreFormulaire("lettreCle");
|
$lettreCle = $this->requete->getParametreFormulaire("lettreCle");
|
||||||
|
|
||||||
|
|
@ -81,4 +85,20 @@ class ControleurAjaxbaremelettrecletemp extends Controleur {
|
||||||
$this->garantie->supprimerActeBaremeTemp($idActe);
|
$this->garantie->supprimerActeBaremeTemp($idActe);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function detailactescons()
|
||||||
|
{
|
||||||
|
$idActesbaremepriseenchargelettrecle_temp = $this->requete->getParametreFormulaire("idActesbaremepriseenchargelettrecle_temp");
|
||||||
|
$lettreCle = $this->requete->getParametreFormulaire("lettreCle");
|
||||||
|
|
||||||
|
$_SESSION['idActesbaremepriseenchargelettrecle_temp'] = $idActesbaremepriseenchargelettrecle_temp;
|
||||||
|
$_SESSION['lettreCle'] = $lettreCle;
|
||||||
|
|
||||||
|
$detailactes = $this->garantie->getActesGarantieBaremeLettreCleDetailacteTemp($idActesbaremepriseenchargelettrecle_temp);
|
||||||
|
|
||||||
|
$this->genererVueAjax(array
|
||||||
|
(
|
||||||
|
'detailactes' => $detailactes
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -18,9 +18,9 @@ class ControleurBaremepriseenchargelettrecletemp extends Controleur
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
if($_SESSION['OrigineBareme']=="Detailbaremecollegetemp" && $_SESSION['vueCollege']=="Consultercollege"){
|
if($_SESSION['OrigineBareme']=="Detailbaremecollegetemp" && $_SESSION['vueCollege']=="Consultercollege"){
|
||||||
// $this->rediriger("Baremepriseenchargelettrecletcons");
|
|
||||||
$this->executerAction("consulter");
|
$this->executerAction("consulter");
|
||||||
}
|
}
|
||||||
|
|
||||||
$idBaremePriseEnCharge = $_SESSION['idBaremePriseEnCharge'];
|
$idBaremePriseEnCharge = $_SESSION['idBaremePriseEnCharge'];
|
||||||
$idCollegeTemp = $_SESSION['idCollegeTemp'];
|
$idCollegeTemp = $_SESSION['idCollegeTemp'];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
|
consultation detail actes lettres clé
|
||||||
<INPUT class="sr-only" TYPE="text" id="datejour" NAME="datejour" value="<?= datefr(date('Y/m/d')); ?>">
|
<INPUT class="sr-only" TYPE="text" id="datejour" NAME="datejour" value="<?= datefr(date('Y/m/d')); ?>">
|
||||||
|
|
||||||
<hr style="border: 10px double blue; border-radius: 5px; background-color: blue;" />
|
<hr style="border: 10px double blue; border-radius: 5px; background-color: blue;" />
|
||||||
|
|
@ -28,8 +29,6 @@
|
||||||
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Plafond Acte") ?> </th>
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Plafond Acte") ?> </th>
|
||||||
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("TM") ?> </th>
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("TM") ?> </th>
|
||||||
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Actif") ?> </th>
|
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Actif") ?> </th>
|
||||||
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Ajout") ?> </th>
|
|
||||||
<th style='text-align:center; border: 2px solid #939597; background-color: #dff2ff; color: #6A645A;'> <?= _("Suppr") ?> </th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
|
|
@ -49,13 +48,6 @@
|
||||||
}else{
|
}else{
|
||||||
$actif = "Non";
|
$actif = "Non";
|
||||||
}
|
}
|
||||||
|
|
||||||
if($this->nettoyer($v['ajout'])=="1"){
|
|
||||||
$ajout = "Oui";
|
|
||||||
}else{
|
|
||||||
$ajout = "Non";
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php if($supprime=='1'): ?>
|
<?php if($supprime=='1'): ?>
|
||||||
|
|
@ -68,22 +60,6 @@
|
||||||
<td style='text-align:center; border: 2px solid #939597;'><?= format_N($this->nettoyer($v['forfaitPlafond']));?></td>
|
<td style='text-align:center; border: 2px solid #939597;'><?= format_N($this->nettoyer($v['forfaitPlafond']));?></td>
|
||||||
<td style='text-align:center; border: 2px solid #939597;'><?= $this->nettoyer($v['ticketModerateur']);?></td>
|
<td style='text-align:center; border: 2px solid #939597;'><?= $this->nettoyer($v['ticketModerateur']);?></td>
|
||||||
<td style='text-align:center; border: 2px solid #939597;'><?= $actif;?></td>
|
<td style='text-align:center; border: 2px solid #939597;'><?= $actif;?></td>
|
||||||
|
|
||||||
<?php if($ajout=='Oui'): ?>
|
|
||||||
<td style='text-align:center; border: 2px solid #939597; background-color: #FFC107;'><?= $ajout;?></td>
|
|
||||||
<?php else: ?>
|
|
||||||
<td style='text-align:center; border: 2px solid #939597;'><?= $ajout;?></td>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if($supprime=='0'): ?>
|
|
||||||
<td style='text-align:center; border: 2px solid #939597;'>
|
|
||||||
<button type="button" class="form-control btn btn-danger" onClick="javascript:supprimer_baremeacte_lettre_cle_detail_temp('<?= $adminProd?>',<?= $idActe ?>);">
|
|
||||||
<i class="fa fa-times" aria-hidden="true"></i>
|
|
||||||
</button>
|
|
||||||
</td>
|
|
||||||
<?php else: ?>
|
|
||||||
<td style='text-align:center; border: 2px solid #939597;'> </td>
|
|
||||||
<?php endif; ?>
|
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user