83 lines
3.5 KiB
PHP
83 lines
3.5 KiB
PHP
<?php
|
|
$this->titre = "INTER SANTE - ". _("Historiques des Cartes assurés");
|
|
?>
|
|
|
|
<div id="div_patienter" ></div>
|
|
|
|
<legend> <?= _("HISTOTIQUE DES CARTES DES ASSURES") . " => " . $this->nettoyer($_SESSION['adherent_C']) ?> </legend>
|
|
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center'> <?= _("Nom") ?> </th>
|
|
<th style='text-align:center'> <?= _("Prénoms") ?> </th>
|
|
<th style='text-align:center'> <?= _("Matricule") ?> </th>
|
|
<th style='text-align:center'> <?= _("Date Création") ?> </th>
|
|
<th style='text-align:center'> <?= _("En cours?") ?> </th>
|
|
<th style='text-align:center'> <?= _("Révoquée par") ?> </th>
|
|
<th style='text-align:center'> <?= _("Date Révocation") ?> </th>
|
|
<th style='text-align:center'> <?= _("Motif Révocation") ?> </th>
|
|
<th style='text-align:center'> <?= _("Action") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($htagcartes as $v):
|
|
$idHtagcarte = $this->nettoyer($v['idHtagcarte']);
|
|
?>
|
|
<tr valign="top">
|
|
<td align='center'><?= $this->nettoyer($v['nomBeneficiaire']) ?></td>
|
|
<td align='center'><?= $this->nettoyer($v['prenomsBeneficiaire']) ?></td>
|
|
<td align='center'><?= $this->nettoyer($v['numeroBeneficiaire']) ?></td>
|
|
<td align='center'><?= dateheureLang($this->nettoyer($v['dateSysteme'])) ?></td>
|
|
<td align='center' >
|
|
<?php ebene_check_box_disabled($v['enCours']); ?>
|
|
</td>
|
|
<td align='center'><?= $this->nettoyer($v['userRevocation']) ?></td>
|
|
<td align='center'><?= dateheureLang($this->nettoyer($v['dateRevocation'])) ?></td>
|
|
<td align='center'><?= $this->nettoyer($v['motifRevocation']) ?></td>
|
|
<td>
|
|
<?php if ($v['enCours']=="1"): ?>
|
|
<button type="button" class="form-control btn btn-primary" onclick="javascript:init_revoquer_htagcarte(<?= $idHtagcarte ?>);"> <?= _("Révoquer") ?> </button>
|
|
<?php endif; ?>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div id="div_revoquer_carte" class="modal fade" role="dialog">
|
|
<div class="modal-dialog" style="max-width: 70%;" role="document" data-bs-backdrop="static" data-bs-keyboard="false">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-bs-dismiss="modal">×</button>
|
|
<legend class="modal-title text-center"><?= _("Révocation de cartes");?></legend>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
<form class="form-horizontal" action="Htagcarte/revoquercarte" method="post" style='font-size:10pt;'>
|
|
<INPUT class="sr-only" TYPE="text" id="idHtagcarte" name="idHtagcarte" value="">
|
|
<table class="table table-responsive table-condensed" style='font-size:12pt;'>
|
|
<tbody>
|
|
<tr>
|
|
<td> <?= _("Motif Révocation");?></td>
|
|
<td >
|
|
<INPUT class="form-control" name="motifRevocation" id="motifRevocation" required AUTOCOMPLETE="OFF" autofocus >
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="2">
|
|
<input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="submit" value="<?= _("Enregistrer") ?>" style='font-size:12pt;'>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button type="button" id="btn-fermer-modal" class="btn btn-default" data-bs-dismiss="modal"><?= _("Fermer") ?></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|