fge
This commit is contained in:
parent
54d24c9c09
commit
0a5651c998
33
Controleur/ControleurRemplaceradherent.php
Normal file
33
Controleur/ControleurRemplaceradherent.php
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Adherent.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
|
||||
class ControleurRemplaceradherent extends Controleur {
|
||||
private $adherent;
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue('Remplaceradherent');
|
||||
|
||||
$this->adherent = new Adherent();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$idPolice = $_SESSION['idPolice_C'];
|
||||
$idAdherent = $_SESSION['idAdherent_C'];
|
||||
|
||||
// $adherent = $this->adherent->getAdherentIdConso($idAdherent);
|
||||
$adherent = $this->adherent->getAdherentIdRempl($idAdherent);
|
||||
|
||||
$this->genererVue(array('adherent' => $adherent));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
71
Controleur/ControleurRemplaceradherentcons.php
Normal file
71
Controleur/ControleurRemplaceradherentcons.php
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Adherent.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
require_once 'Modele/Garantieadherent.php';
|
||||
|
||||
class ControleurRemplaceradherentcons extends Controleur {
|
||||
private $adherent;
|
||||
private $garantieadherent;
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue('Remplaceradherentcons');
|
||||
|
||||
$this->adherent = new Adherent();
|
||||
$this->garantieadherent = new Garantieadherent();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$idPolice = $_SESSION['idPolice_C'];
|
||||
|
||||
$idAdherent_sortant = $_SESSION['idAdherent_C'];
|
||||
|
||||
$adherent_sortant = $this->adherent->getAdherentIdConso($idAdherent_sortant);
|
||||
|
||||
$remplacementadherent = $this->adherent->getremplacementadherent($idAdherent_sortant);
|
||||
|
||||
$idRemplacementadherent = $remplacementadherent['idRemplacementadherent'];
|
||||
|
||||
$idAdherent_entrant = $adherent_sortant['idRemplacant'];
|
||||
|
||||
$adherent_entrant = $this->adherent->getAdherentIdConso($idAdherent_entrant);
|
||||
|
||||
$garantieadherents = $this->adherent->getgarantieremplacementadherent($idAdherent_sortant);
|
||||
|
||||
$beneficiaires = $this->adherent->getbeneficiaireremplacementadherent($idRemplacementadherent);
|
||||
|
||||
$this->genererVue(array('adherent_sortant' => $adherent_sortant, 'remplacementadherent' => $remplacementadherent,
|
||||
'adherent_entrant' => $adherent_entrant, 'garantieadherents' => $garantieadherents, 'beneficiaires' => $beneficiaires));
|
||||
}
|
||||
|
||||
public function remplacant()
|
||||
{
|
||||
$idPolice = $_SESSION['idPolice_C'];
|
||||
|
||||
$idAdherent_entrant = $_SESSION['idAdherent_C'];
|
||||
$adherent_entrant = $this->adherent->getAdherentIdConso($idAdherent_entrant);
|
||||
|
||||
$idAdherent_sortant = $adherent_entrant['idRemplace'];
|
||||
$adherent_sortant = $this->adherent->getAdherentIdConso($idAdherent_sortant);
|
||||
|
||||
$remplacementadherent = $this->adherent->getremplacementadherent($idAdherent_sortant);
|
||||
$idRemplacementadherent = $remplacementadherent['idRemplacementadherent'];
|
||||
|
||||
$garantieadherents = $this->adherent->getgarantieremplacementadherent($idAdherent_sortant);
|
||||
|
||||
$beneficiaires = $this->adherent->getbeneficiaireremplacementadherent($idRemplacementadherent);
|
||||
|
||||
$this->genererVue(array('adherent_sortant' => $adherent_sortant, 'remplacementadherent' => $remplacementadherent,
|
||||
'adherent_entrant' => $adherent_entrant, 'garantieadherents' => $garantieadherents, 'beneficiaires' => $beneficiaires));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
121
Js/fonctions.js
121
Js/fonctions.js
|
|
@ -5764,4 +5764,125 @@ function enregistrer_validation_rd(idDemande){
|
|||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function remplacer_adherent()
|
||||
{
|
||||
nbAdh = $("#nbAdh_C").val();
|
||||
codeTypeContrat = $("#codeTypeContrat_C").val();
|
||||
|
||||
if ( (codeTypeContrat!="G") && (nbAdh>0) )
|
||||
{
|
||||
v_msg="Ce n\'est pas une police GROUPE!";
|
||||
v_msgEng="This is not a GROUP policy!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if ($("#idAdherent_C" ).val()<= " ")
|
||||
{
|
||||
v_msg="Veuillez sélectionner une famille!";
|
||||
v_msgEng="Please select a family!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
remplacementAdherent=$("#remplacementAdherent").val();
|
||||
if (remplacementAdherent!="1")
|
||||
{
|
||||
v_msg="Remplacement de famille non actif pour cette police!";
|
||||
v_msgEng="Family replacement inactive for this policy!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
remplace=$("#remplace").val();
|
||||
remplacant=$("#remplacant").val();
|
||||
|
||||
if (remplacant=="1")
|
||||
{
|
||||
if (remplace=="1")
|
||||
{
|
||||
v_msg="Famille déjà remplacée!";
|
||||
v_msgEng="Family already replaced!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
consulter_remplacement_adherent();
|
||||
}
|
||||
else
|
||||
{
|
||||
v_msg="Cette famille en a déjà remplacé une autre, confirmez-vous son remplacement à son tour?";
|
||||
v_msgEng="This family has already replaced another, do you confirm its replacement in turn?";
|
||||
|
||||
if(confirm_ebene(v_msg, v_msgEng))
|
||||
{
|
||||
fiche_remplacer_adherent();
|
||||
}
|
||||
else
|
||||
{
|
||||
consulter_remplacant_adherent();
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
if (remplace=="1")
|
||||
{
|
||||
v_msg="Famille déjà remplacée!";
|
||||
v_msgEng="Family already replaced!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
consulter_remplacement_adherent();
|
||||
}
|
||||
else
|
||||
{
|
||||
fiche_remplacer_adherent();
|
||||
// window.location.assign($("#racineWeb" ).val()+"Remplaceradherent/");
|
||||
}
|
||||
}
|
||||
|
||||
function consulter_remplacement_adherent()
|
||||
{
|
||||
idAdherent = $("#idAdherent_C" ).val();
|
||||
|
||||
if (idAdherent>"0")
|
||||
{
|
||||
window.location.assign($("#racineWeb" ).val()+"Remplaceradherentcons/");
|
||||
}
|
||||
}
|
||||
|
||||
function fiche_remplacer_adherent()
|
||||
{
|
||||
etat=$("#codeEtatPolice_C").val();
|
||||
|
||||
if (etat=="RE")
|
||||
{
|
||||
v_msg="Attention! Police résiliée!";
|
||||
v_msgEng="Warning! Terminated policy!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (etat=="SU")
|
||||
{
|
||||
v_msg="Attention! Police suspendue!";
|
||||
v_msgEng="Warning! Suspended policy!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (etat=="AN")
|
||||
{
|
||||
v_msg="Attention! Police annulée!";
|
||||
v_msgEng="Warning! Canceled policy!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
window.location.assign($("#racineWeb" ).val()+"Remplaceradherent/");
|
||||
}
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
<INPUT class="sr-only" TYPE="text" id="primeArchive" name="primeArchive" value="<?= $adherent['primeArchive'] ?>" >
|
||||
<INPUT class="sr-only" TYPE="text" id="remplacementAdherent" name="remplacementAdherent" value="<?= $adherent['remplacementAdherent'] ?>" >
|
||||
<INPUT class="sr-only" TYPE="text" id="remplace" name="remplace" value="<?= $adherent['remplace'] ?>" >
|
||||
<INPUT class="sr-only" TYPE="text" id="remplacant" name="remplace" value="<?= $adherent['remplacant'] ?>" >
|
||||
<INPUT class="sr-only" TYPE="text" id="remplacant" name="remplacant" value="<?= $adherent['remplacant'] ?>" >
|
||||
<INPUT class="sr-only" TYPE="text" id="idApporteur" name="idApporteur" value="<?= $idApporteur ?>" >
|
||||
|
||||
<div id="div_adherent" class="container-fluid py-1 animate__animated animate__fadeIn">
|
||||
|
|
|
|||
66
Vue/Remplaceradherent/index.php
Normal file
66
Vue/Remplaceradherent/index.php
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
<?php $this->titre = "INTER-SANTE - Remplacement Famille"; ?>
|
||||
|
||||
<INPUT class="sr-only" TYPE="text" id="idPolice" name="idPolice" value="<?= $_SESSION['idPolice_C'] ?>">
|
||||
<INPUT class="sr-only" TYPE="text" id="numeroPolice" name="numeroPolice" value="<?= $_SESSION['numeroPolice_C'] ?>">
|
||||
<INPUT class="sr-only" TYPE="text" id="codeEtatFacturation" name="codeEtatFacturation" value="<?=$adherent['codeEtatFacturation']?>" >
|
||||
<INPUT class="sr-only" TYPE="text" id="consommation_adherent" name="consommation_adherent" value="<?=$adherent['consommation_adherent']?>" >
|
||||
<INPUT class="sr-only" TYPE="text" id="rapport_sp_police" name="rapport_sp_police" value="<?=$adherent['rapport_sp_police']?>" >
|
||||
<INPUT class="sr-only" TYPE="text" id="idCollege" name="idCollege" value="<?=$adherent['idCollege']?>" >
|
||||
|
||||
<INPUT class="sr-only" TYPE="text" id="dateEffetAdherent" name="dateEffetAdherent" value="<?=$adherent['dateEffetAdherent']?>" >
|
||||
<INPUT class="sr-only" TYPE="text" id="dateSortieAdherent" name="dateSortieAdherent" value="<?=$adherent['dateSortieAdherent']?>" >
|
||||
|
||||
<INPUT class="sr-only" TYPE="text" id="remplacementAdherent" name="remplacementAdherent" value="<?= $adherent['remplacementAdherent'] ?>" >
|
||||
|
||||
<INPUT class="sr-only" TYPE="text" id="etatRetrait" name="etatRetrait" value="<?= $adherent['etatRetrait'] ?>" >
|
||||
<INPUT class="sr-only" TYPE="text" id="dateRetrait" name="dateRetrait" value="<?=$adherent['dateRetrait']?>" >
|
||||
<INPUT class="sr-only" TYPE="text" id="ristourneRetrait" name="ristourneRetrait" value="<?=$adherent['ristourneRetrait']?>" >
|
||||
|
||||
|
||||
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="10%" > <?= _("Famille Sortante") ?> </th>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= $this->nettoyer($adherent['nom']) ?>" readonly > </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= $this->nettoyer($adherent['prenoms']) ?>" readonly > </td>
|
||||
<td style='text-align:center'> <?= _("Effet Police") ?> </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($adherent['dateEffetPolice'])) ?>" readonly > </td>
|
||||
<th style='text-align:center'> <?= _("Effet Famille") ?> </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($adherent['dateEffetAdherent'])) ?>" readonly > </td>
|
||||
<td style='text-align:center'> <?= _("Echéance") ?> </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($adherent['dateFinPolice'])) ?>" readonly > </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div id="div_remplacement_adherent">
|
||||
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="10%" > <?= _("Sortie") ?> </td>
|
||||
<td width="25%" >
|
||||
<INPUT style='font-size:9pt; text-align:center' class="form-control datepicker" TYPE="text" id="dateSortieAdh" NAME="dateSortieAdh" Value="<?= dateCouranteLang($_SESSION['lang']) ?>" required >
|
||||
</td>
|
||||
|
||||
<td width="10%" style='font-size:9pt; text-align:center' > <?= _("Remplacement") ?> </td>
|
||||
<td width="25%" >
|
||||
<INPUT style='font-size:9pt; text-align:center' class="form-control datepicker" TYPE="text" id="dateRemplacement" NAME="dateRemplacement" Value="<?= dateCouranteLang($_SESSION['lang']) ?>" required >
|
||||
</td>
|
||||
|
||||
<td width="10%" style='font-size:9pt; text-align:center' > <?= _("Carte") ?> </td>
|
||||
<td > <INPUT style='font-size:9pt;' class="form-control" id="fraisCarte" NAME="fraisCarte" TYPE="text" value="<?=$adherent['fraisCarte']?>"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td > <?= _("Motif") ?> </td>
|
||||
<td colspan="3" > <INPUT style='font-size:9pt;' class="form-control" TYPE="text" id="motifavenant" NAME="motifavenant"> </td>
|
||||
|
||||
<td> </td>
|
||||
|
||||
<td> <button style='font-size:9pt;' type="button" class="form-control btn btn-primary" onclick="javascript:init_remplacement_adherent();"> <?= _("Initier...") ?> </button> </td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
93
Vue/Remplaceradherentcons/index.php
Normal file
93
Vue/Remplaceradherentcons/index.php
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
<?php
|
||||
$this->titre = "INTER-SANTE - Consultation remplacement famille ";
|
||||
?>
|
||||
|
||||
<legend> <?= _("RECAPITULATIF REMPLACEMENT DE FAMILLE => SORTANT") ?> </legend>
|
||||
|
||||
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="10%" > <?= _("Famille Sortante") ?> </th>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= $this->nettoyer($adherent_sortant['nom']) ?>" readonly > </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= $this->nettoyer($adherent_sortant['prenoms']) ?>" readonly > </td>
|
||||
<td style='text-align:center'> <?= _("Effet Police") ?> </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($adherent_sortant['dateEffetPolice'])) ?>" readonly > </td>
|
||||
<th style='text-align:center'> <?= _("Effet Famille") ?> </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($adherent_sortant['dateEffetAdherent'])) ?>" readonly > </td>
|
||||
<td style='text-align:center'> <?= _("Echéance") ?> </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($adherent_sortant['dateFinPolice'])) ?>" readonly > </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td width="10%" > <?= _("Date Sortie") ?> </td>
|
||||
<td width="15%" >
|
||||
<INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($remplacementadherent['dateSortie'])) ?>" readonly >
|
||||
</td>
|
||||
|
||||
<td width="10%" style='font-size:9pt; text-align:center' > <?= _("Remplacement") ?> </td>
|
||||
<td width="15%" >
|
||||
<INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($remplacementadherent['dateRemplacement'])) ?>" readonly>
|
||||
</td>
|
||||
|
||||
<td width="5%" style='font-size:9pt; text-align:center' > <?= _("Motif") ?> </td>
|
||||
<td > <INPUT style='font-size:9pt;' class="form-control" TYPE="text" Value="<?= $this->nettoyer($remplacementadherent['motif']) ?>" readonly> </td>
|
||||
|
||||
<td width="10%" > <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" Value="<?= $this->nettoyer($remplacementadherent['codeUtilisateur']) ?>" readonly> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="10%" > <?= _("Famille Entrante") ?> </th>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= $this->nettoyer($adherent_entrant['nom']) ?>" readonly > </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= $this->nettoyer($adherent_entrant['prenoms']) ?>" readonly > </td>
|
||||
<td style='text-align:center'> <?= _("Effet Police") ?> </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($adherent_entrant['dateEffetPolice'])) ?>" readonly > </td>
|
||||
<th style='text-align:center'> <?= _("Effet Famille") ?> </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($adherent_entrant['dateEffetAdherent'])) ?>" readonly > </td>
|
||||
<td style='text-align:center'> <?= _("Echéance") ?> </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($adherent_entrant['dateFinPolice'])) ?>" readonly > </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align:center"> <?= _("Garanties et soldes transmis") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Limites en vigeur") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Consommations") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Solde") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Par tête?") ?> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<?php foreach ($garantieadherents as $garantieadherent):
|
||||
$champApplication = $this->nettoyer($garantieadherent['champApplication']);
|
||||
?>
|
||||
<tr valign="top">
|
||||
<td align='center'> <?= $this->nettoyer($garantieadherent['garantie'])?> </td>
|
||||
<td align='center'><?= format_N($this->nettoyer($garantieadherent['plafond'])) ?></td>
|
||||
<?php if($champApplication=='1'): ?>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td align='center'> <input type="checkbox" checked value="<?php echo $champApplication ; ?>" disabled ></td>
|
||||
<?php else: ?>
|
||||
<td align='center'><?= format_N($this->nettoyer($garantieadherent['consommation'])) ?></td>
|
||||
<td align='center'><?= format_N($this->nettoyer($garantieadherent['solde'])) ?></td>
|
||||
<td align='center'> <input type="checkbox" value="<?php echo $champApplication ; ?>" disabled ></td>
|
||||
<?php endif; ?>
|
||||
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
94
Vue/Remplaceradherentcons/remplacant.php
Normal file
94
Vue/Remplaceradherentcons/remplacant.php
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
<?php
|
||||
$this->titre = "INTER-SANTE - Consultation remplacement famille ";
|
||||
?>
|
||||
|
||||
<legend> <?= _("RECAPITULATIF REMPLACEMENT DE FAMILLE => ENTRANT") ?> </legend>
|
||||
|
||||
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="10%" > <?= _("Famille Sortante") ?> </th>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= $this->nettoyer($adherent_sortant['nom']) ?>" readonly > </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= $this->nettoyer($adherent_sortant['prenoms']) ?>" readonly > </td>
|
||||
<td style='text-align:center'> <?= _("Effet Police") ?> </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($adherent_sortant['dateEffetPolice'])) ?>" readonly > </td>
|
||||
<th style='text-align:center'> <?= _("Effet Famille") ?> </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($adherent_sortant['dateEffetAdherent'])) ?>" readonly > </td>
|
||||
<td style='text-align:center'> <?= _("Echéance") ?> </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($adherent_sortant['dateFinPolice'])) ?>" readonly > </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td width="10%" > <?= _("Date Sortie") ?> </td>
|
||||
<td width="15%" >
|
||||
<INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($remplacementadherent['dateSortie'])) ?>" readonly >
|
||||
</td>
|
||||
|
||||
<td width="10%" style='font-size:9pt; text-align:center' > <?= _("Remplacement") ?> </td>
|
||||
<td width="15%" >
|
||||
<INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($remplacementadherent['dateRemplacement'])) ?>" readonly>
|
||||
</td>
|
||||
|
||||
<td width="5%" style='font-size:9pt; text-align:center' > <?= _("Motif") ?> </td>
|
||||
<td > <INPUT style='font-size:9pt;' class="form-control" TYPE="text" Value="<?= $this->nettoyer($remplacementadherent['motif']) ?>" readonly> </td>
|
||||
|
||||
<td width="10%" > <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" Value="<?= $this->nettoyer($remplacementadherent['codeUtilisateur']) ?>" readonly> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="10%" > <?= _("Famille Entrante") ?> </th>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= $this->nettoyer($adherent_entrant['nom']) ?>" readonly > </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= $this->nettoyer($adherent_entrant['prenoms']) ?>" readonly > </td>
|
||||
<td style='text-align:center'> <?= _("Effet Police") ?> </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($adherent_entrant['dateEffetPolice'])) ?>" readonly > </td>
|
||||
<th style='text-align:center'> <?= _("Effet Famille") ?> </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($adherent_entrant['dateEffetAdherent'])) ?>" readonly > </td>
|
||||
<td style='text-align:center'> <?= _("Echéance") ?> </td>
|
||||
<td> <INPUT style='font-size:9pt; text-align:center' class="form-control" TYPE="text" Value="<?= dateLang($this->nettoyer($adherent_entrant['dateFinPolice'])) ?>" readonly > </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align:center"> <?= _("Garanties et soldes transmis") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Limites en vigeur") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Consommations") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Solde") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Par tête?") ?> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<?php foreach ($garantieadherents as $garantieadherent):
|
||||
$champApplication = $this->nettoyer($garantieadherent['champApplication']);
|
||||
?>
|
||||
<tr valign="top">
|
||||
<td align='center'> <?= $this->nettoyer($garantieadherent['garantie'])?> </td>
|
||||
<td align='center'><?= format_N($this->nettoyer($garantieadherent['plafond'])) ?></td>
|
||||
<?php if($champApplication=='1'): ?>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td align='center'> <input type="checkbox" checked value="<?php echo $champApplication ; ?>" disabled ></td>
|
||||
<?php else: ?>
|
||||
<td align='center'><?= format_N($this->nettoyer($garantieadherent['consommation'])) ?></td>
|
||||
<td align='center'><?= format_N($this->nettoyer($garantieadherent['solde'])) ?></td>
|
||||
<td align='center'> <input type="checkbox" value="<?php echo $champApplication ; ?>" disabled ></td>
|
||||
<?php endif; ?>
|
||||
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
|
@ -663,7 +663,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
|
|||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
|
||||
<!-- Application Scripts -->
|
||||
<script src="/Js/fonctions.js?ver=2026.01.22.09"></script>
|
||||
<script src="/Js/fonctions.js?ver=2026.01.22.10"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
raffraichier_gabarit();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user