400 lines
25 KiB
PHP
Executable File
400 lines
25 KiB
PHP
Executable File
<?php
|
||
$this->titre = "INTER-SANTE - "._("Recherche du patient") ;
|
||
$_SESSION['etatFeuille'] = "2";
|
||
?>
|
||
|
||
<!-- Ajout du style CSS pour l'icône d'aide -->
|
||
|
||
<form id="frmrecherche" name="frmrecherche" method="post" action="Recherche/index/" style='font-size:10pt;' >
|
||
<legend><i class="fa fa-search" ></i> <?= _("Recherche du patient") ?>
|
||
<!-- Icône d'aide simple (?) -->
|
||
<span class="help-icon" data-bs-toggle="modal" data-bs-target="#helpModal">?</span>
|
||
</legend>
|
||
|
||
<!-- Modal d'aide -->
|
||
<div class="modal fade" id="helpModal" tabindex="-1" role="dialog" aria-labelledby="helpModalLabel">
|
||
<div class="modal-dialog" role="document">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||
<h4 class="modal-title" id="helpModalLabel"><?= _("Aide - Utilisation") ?></h4>
|
||
</div>
|
||
<div class="modal-body">
|
||
<h5 ><?=_("Recherche du patient")?></h5>
|
||
<p><?= _("Cette page permet de rechercher un patient selon différents critères").":" ?></p>
|
||
<ul>
|
||
<li><?= _("Par numéro de patient (carte d'assurance).") ?></li>
|
||
<li><?= _("Par numéro de bon (consultation, pharmacie, hospitalisation, etc.) pour retrouver un dossier médical particulier.") ?></li>
|
||
</ul>
|
||
<p><?= _("Pour effectuer une recherche").":" ?></p>
|
||
<ul>
|
||
<li><?= _("Saisissez le numéro du patient ou un numéro de bon dans le champ correspondant.") ?></li>
|
||
<li><?= _("Appuyez sur Entrée ou cliquez sur le bouton <strong>Soumettre</strong> en haut, pour lancer la recherche.") ?></li>
|
||
</ul>
|
||
|
||
<div class="alert alert-info mt-3">
|
||
<strong><?= _("Note").":" ?></strong> <?= _("Les champs disponibles dépendent de votre profil (pharmacien, opticien, laboratoire, etc.).") ?>
|
||
</div>
|
||
<h5 ><?=_("Historique des activités")?></h5>
|
||
<ol>
|
||
<li><?= _("Pour ouvrir un dossier médical particulier").":" ?></li>
|
||
<ul>
|
||
<li><?= _("Allez dans l'onglet <strong>Dossiers des patients</strong>.") ?></li>
|
||
<li><?= _("Si le dossier médical n'est pas visible dans le tableau, recherchez-le en modifiant les critères Etat, ou Période du, ou au.") ?></li>
|
||
<li><?= _("Si le dossier médical est trouvé, cliquez sur le bouton de la colonne <em>No Bon</em> pour l'ouvrir.") ?></li>
|
||
</ul>
|
||
<li><?= _("Pour consulter le statut d'une demande d'accord à l'assureur").":" ?></li>
|
||
<ul>
|
||
<li><?= _("Allez dans l'onglet <strong>Demandes d'accord</strong>.") ?></li>
|
||
<li><?= _("Si la demande n'est pas visible dans le tableau, recherchez-la en modifiant les critères Etat, ou Période du, ou au.") ?></li>
|
||
<li><?= _("Si la demande est trouvée, en fonction de la légende des couleurs vous connaîtrez son statut.") ?></li>
|
||
</ul>
|
||
</ol>
|
||
<h5 ><?=_("Les boutons d'action de la page")?></h5>
|
||
<ul>
|
||
<li><?= _("<strong>Retour</strong>").": "._("Renvoie à la page en cours.") ?></li>
|
||
<li><?= _("<strong>Initialiser Recherche</strong>").": "._("Réinitialise tous les champs de recherche de la page.") ?></li>
|
||
<li><?= _("<strong>Soumettre</strong>").": "._("Permet de lancer la recherche du patient en fonction des critères saisis par l’utilisateur connecté.") ?></li>
|
||
<li><?= _("<strong>Laboratoire et imagerie externe</strong>").": "._("Ouvre la page <strong>LABORATOIRE ET IMAGERIE EXTERNE</strong> pour traiter et facturer les bons d’examens générés par le prestataire courant ou par un autre.") ?></li>
|
||
<li><?= _("<strong>Gestion des séances</strong>").": "._("Ouvre la page <strong>GESTION DES SEANCES</strong> pour traiter et facturer les bons de séances générés par le prestataire courant ou un autre.") ?></li>
|
||
<li><?= _("<strong>Autres prestations</strong>").": "._("Ouvre la page <strong>AUTRES PRESTATIONS</strong> pour traiter et facturer les bons de pharmacie et/ou d’optique générés par le prestataire courant à condition que ce dernier pratique cette spécialité (Pharmacie interne et/ou lunetterie interne).") ?></li>
|
||
<li><?= _("<strong>Rendez-vous</strong>").": "._("Ouvre la page <strong>HISTORIQUE DES PRISES DE RENDEZ-VOUS</strong> pour consulter les demandes de rendez-vous et les traiter.") ?></li>
|
||
</ul>
|
||
</div>
|
||
<div class="modal-footer">
|
||
<button type="button" class="btn btn-primary" data-bs-dismiss="modal"><?= _("Fermer") ?></button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<table class="table table-condensed table-responsive" style='font-size:10pt;'>
|
||
<tbody>
|
||
<tr>
|
||
<td width="10%" style='font-weight:bold;'> <?= _("Numéro Patient") ?></td>
|
||
<td width="23%" colspan="7" >
|
||
<INPUT style='font-size:10pt;' class="form-control" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" autofocus AUTOCOMPLETE="OFF" placeholder="<?= _("Numéro de carte d'assurance du patient")?>">
|
||
</td>
|
||
|
||
<tr style='background-color:white'>
|
||
<td colspan="8" height="10"></td>
|
||
</tr>
|
||
|
||
<?php if ($_SESSION['p_codeProfil_C']=="PHA") : ?>
|
||
|
||
<tr>
|
||
<td style='font-weight:bold;'> <?= _("Bon Consultation") ?> </td>
|
||
<td><INPUT width="15%" style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonConsultation" name="numeroBonConsultation" placeholder="Consultation" readonly > </td>
|
||
|
||
<td width="10%" style='font-weight:bold;' align="center"> <?= _("Bon Pharmacie") ?> </td>
|
||
<td><INPUT width="20%" style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonOrdonnance" NAME="numeroBonOrdonnance" placeholder="<?= _("Ordonnance") ?>" AUTOCOMPLETE="OFF"> </td>
|
||
|
||
<td style='font-weight:bold;' align="center"> <?= _("Bon Hospitalisation") ?> </td>
|
||
<td colspan="2"><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonHospitalisation" NAME="numeroBonHospitalisation" placeholder="<?= _("Hospitalisation") ?>" readonly> </td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td style='font-weight:bold;' > <?= _("Bon Examen") ?> </td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonExamen" NAME="numeroBonExamen" readonly></td>
|
||
|
||
<td style='font-weight:bold;' align="center"> <?= _("Bon Optique") ?> </td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonOptique" NAME="numeroBonOptique" readonly></td>
|
||
|
||
<td style='font-weight:bold;' align="center"> <?= _("Séances Kine") ?> </td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonKine" NAME="numeroBonKine" placeholder="<?= _("Prescription Séance") ?>" readonly></td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonSeance" NAME="numeroBonSeance" placeholder="<?= _("Exécution Séance") ?>" readonly></td>
|
||
</tr>
|
||
|
||
<?php elseif($_SESSION['p_codeProfil_C']=="OPT"): ?>
|
||
|
||
<tr>
|
||
<td style='font-weight:bold;'> <?= _("Bon Consultation") ?> </td>
|
||
<td><INPUT width="15%" style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonConsultation" name="numeroBonConsultation" placeholder="Consultation" readonly > </td>
|
||
|
||
<td width="10%" style='font-weight:bold;' align="center"> <?= _("Bon Pharmacie") ?> </td>
|
||
<td><INPUT width="20%" style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonOrdonnance" NAME="numeroBonOrdonnance" placeholder="<?= _("Ordonnance") ?>" readonly > </td>
|
||
|
||
<td style='font-weight:bold;' align="center"> <?= _("Bon Hospitalisation") ?> </td>
|
||
<td colspan="2"><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonHospitalisation" NAME="numeroBonHospitalisation" placeholder="<?= _("Hospitalisation") ?>" readonly> </td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td style='font-weight:bold;'> <?= _("Bon Examen") ?> </td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonExamen" NAME="numeroBonExamen" readonly></td>
|
||
|
||
<td style='font-weight:bold;' align="center"> <?= _("Bon Optique") ?> </td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonOptique" NAME="numeroBonOptique" placeholder="<?= _("Optique") ?>" AUTOCOMPLETE="OFF"></td>
|
||
|
||
<td style='font-weight:bold;' align="center"> <?= _("Séances Kine") ?> </td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonKine" NAME="numeroBonKine" placeholder="<?= _("Prescription Séance") ?>" readonly></td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonSeance" NAME="numeroBonSeance" placeholder="<?= _("Exécution Séance") ?>" readonly></td>
|
||
</tr>
|
||
|
||
<?php elseif($_SESSION['p_codeProfil_C']=="LAB"): ?>
|
||
|
||
<tr>
|
||
<td style='font-weight:bold;' > <?= _("Bon Consultation") ?> </td>
|
||
<td><INPUT width="15%" style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonConsultation" name="numeroBonConsultation" placeholder="Consultation" readonly > </td>
|
||
|
||
<td width="10%" style='font-weight:bold;' align="center"> <?= _("Bon Pharmacie") ?> </td>
|
||
<td><INPUT width="20%" style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonOrdonnance" NAME="numeroBonOrdonnance" placeholder="<?= _("Ordonnance") ?>" readonly > </td>
|
||
|
||
<td style='font-weight:bold;' align="center"> <?= _("Bon Hospitalisation") ?> </td>
|
||
<td colspan="2"><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonHospitalisation" NAME="numeroBonHospitalisation" placeholder="<?= _("Hospitalisation") ?>" readonly> </td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td style='font-weight:bold;'> <?= _("Bon Examen") ?> </td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonExamen" NAME="numeroBonExamen" placeholder="<?= _("Examen - Radiologie") ?>" AUTOCOMPLETE="OFF"></td>
|
||
|
||
<td style='font-weight:bold;' align="center"> <?= _("Bon Optique") ?> </td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonOptique" NAME="numeroBonOptique" readonly></td>
|
||
|
||
<td style='font-weight:bold;' align="center"> <?= _("Séances Kine") ?> </td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonKine" NAME="numeroBonKine" placeholder="<?= _("Prescription Séance") ?>" readonly></td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonSeance" NAME="numeroBonSeance" placeholder="<?= _("Exécution Séance") ?>" readonly></td>
|
||
</tr>
|
||
|
||
<?php elseif($_SESSION['p_codeProfil_C']=="SEA"): ?>
|
||
|
||
<tr>
|
||
<td style='font-weight:bold;'> <?= _("Bon Consultation") ?> </td>
|
||
<td><INPUT width="15%" style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonConsultation" name="numeroBonConsultation" placeholder="Consultation" readonly > </td>
|
||
|
||
<td width="10%" style='font-weight:bold;' align="center"> <?= _("Bon Pharmacie") ?> </td>
|
||
<td><INPUT width="20%" style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonOrdonnance" NAME="numeroBonOrdonnance" placeholder="<?= _("Ordonnance") ?>" readonly > </td>
|
||
|
||
<td style='font-weight:bold;' align="center"> <?= _("Bon Hospitalisation") ?> </td>
|
||
<td colspan="2"><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonHospitalisation" NAME="numeroBonHospitalisation" placeholder="<?= _("Hospitalisation") ?>" readonly> </td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td style='font-weight:bold;' > <?= _("Bon Examen") ?> </td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonExamen" NAME="numeroBonExamen" readonly></td>
|
||
|
||
<td style='font-weight:bold;' align="center"> <?= _("Bon Optique") ?> </td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonOptique" NAME="numeroBonOptique" readonly></td>
|
||
|
||
<td style='font-weight:bold;' align="center"> <?= _("Séances Kine") ?> </td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonKine" NAME="numeroBonKine" placeholder="<?= _("Prescription Séance") ?>" AUTOCOMPLETE="OFF"></td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonSeance" NAME="numeroBonSeance" placeholder="<?= _("Exécution Séance") ?>" AUTOCOMPLETE="OFF"></td>
|
||
</tr>
|
||
|
||
<?php else: ?>
|
||
<tr>
|
||
<td style='font-weight:bold;'> <?= _("Bon Consultation") ?> </td>
|
||
<td><INPUT width="15%" style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonConsultation" name="numeroBonConsultation" placeholder="Consultation" AUTOCOMPLETE="OFF"></td>
|
||
|
||
<td width="10%" style='font-weight:bold;' align="center"> <?= _("Bon Pharmacie") ?> </td>
|
||
<td width="20%"><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonOrdonnance" NAME="numeroBonOrdonnance" placeholder="<?= _("Ordonnance") ?>" AUTOCOMPLETE="OFF"></td>
|
||
|
||
<td colspan="2" style='font-weight:bold;' align="center"> <?= _("Bon Hospitalisation") ?> </td>
|
||
<td colspan="2"><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonHospitalisation" NAME="numeroBonHospitalisation" placeholder="<?= _("Hospitalisation") ?>" AUTOCOMPLETE="OFF"></td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td style='font-weight:bold;' > <?= _("Bon Examen") ?> </td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonExamen" NAME="numeroBonExamen" placeholder="<?= _("Examen - Radiologie") ?>" AUTOCOMPLETE="OFF"></td>
|
||
|
||
<td style='font-weight:bold;' align="center"> <?= _("Bon Optique") ?> </td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonOptique" NAME="numeroBonOptique" placeholder="<?= _("Optique") ?>" AUTOCOMPLETE="OFF"></td>
|
||
|
||
<td colspan="2" style='font-weight:bold;' align="center"> <?= _("Séances Kine") ?> </td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonKine" NAME="numeroBonKine" placeholder="<?= _("Prescription Séance") ?>" AUTOCOMPLETE="OFF"></td>
|
||
<td><INPUT style='font-size:10pt;text-align:center;' class="form-control" type="number" id="numeroBonSeance" NAME="numeroBonSeance" placeholder="<?= _("Exécution Séance") ?>" AUTOCOMPLETE="OFF"></td>
|
||
</tr>
|
||
|
||
<?php endif; ?>
|
||
|
||
<tr>
|
||
<td><input id="lancerrecherche" name="lancerrecherche" class="sr-only" type="submit" value="<?= _("Rechercher") ?>" ></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
<?php if (is_array($derniernumerobeneficiaires) && $derniernumerobeneficiaires['nouveau']>0): ?>
|
||
<div class="alert alert-danger" style="height:40px; padding:5px; text-align:center; margin-bottom:5px;" >
|
||
<H4> <?= _("Cette carte ")." => ".$derniernumerobeneficiaires['ancien'] . " "._("a été déclarée perdue !") ." "._("Veuillez contacter")." ".$_SESSION['p_nomSociete_C'] ?> </H4>
|
||
</div>
|
||
<?php endif; ?>
|
||
<?php if (
|
||
$_SESSION['p_codePrestataire_C']!='000'
|
||
): ?>
|
||
|
||
<?php endif; ?>
|
||
|
||
</form>
|
||
|
||
|
||
<div id="div_dossiers">
|
||
|
||
</div>
|
||
|
||
|
||
<div class="wrapper" style="margin-top:30px;">
|
||
<h5 style="text-align:center; font-weight:bold; border-style: outset; width:25%; margin: auto;"><?= _("Historique des activités")?></h5>
|
||
|
||
<div class="tabs">
|
||
<div class="tab">
|
||
<input type="radio" name="css-tabs" id="tab-1" checked class="tab-switch">
|
||
<label for="tab-1" class="tab-label"> <i class="fa fa-folder-open" ></i> <?=_("Dossiers des patients") ?></label>
|
||
<div class="tab-content" >
|
||
<div id="div_legende_couleur" style="width:100%; margin: 15px; background-color: #fff;" class="tab-container">
|
||
<table class="table-responsive" style="width:28%; margin:auto; background-color: #fff; font-size:10pt; white-space:nowrap;">
|
||
<tbody>
|
||
<tr>
|
||
<td style="font-weight:bold; text-align:right; background-color: #fff; text-decoration-line: underline;"> <?= _("Légende").":"; ?></td>
|
||
|
||
<td style="font-weight:bold; text-align:right; background-color: #fff;"> <?= _("Dossiers clôturés"); ?></td>
|
||
<td width="1%" style="background-color: #fff"></td>
|
||
<td width="7%" style="background-color: blue"></td >
|
||
<td style="font-weight:bold; text-align:right; background-color: #fff;" ><?= _("Dossiers en cours"); ?></td>
|
||
<td style="background-color: red"></td>
|
||
<td width="7%" style="background-color: red;"></td >
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div id="div_filtrefeuillerecher">
|
||
<?php
|
||
require 'Vue/Ajaxcloturerfeuillemaladie/filtrefeuillerecher.php';
|
||
?>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<?php $actVisible = $_SESSION['p_actVisible']; ?>
|
||
|
||
<div class="tab">
|
||
<input type="radio" name="css-tabs" id="tab-2" class="tab-switch">
|
||
|
||
<label for="tab-2" class="tab-label" onclick><i class="fa fa-upload" ></i> <?=_("Demandes d'accord") ?></label>
|
||
|
||
<div class="tab-content">
|
||
<div id="div_legende_couleur" style="width:100%; margin: 5px;">
|
||
<table class="table-responsive" style="width:50%; margin:auto;">
|
||
<tbody>
|
||
<tr>
|
||
<td style="font-weight:bold; text-align:left; background-color:#fff; text-decoration-line: underline;"> <?= _("Légende").":"; ?></td>
|
||
|
||
<td style="font-weight:bold; background-color:#fff; text-align:right;"> <?= _("Attente réponse") ?></td>
|
||
<td width="4%" style="background-color:yellow"></td>
|
||
<td width="2%" style="background-color:#fff;"></td>
|
||
<td style="font-weight:bold; background-color:#fff; text-align:right;"><?= _("Accord assureur") ?></td>
|
||
<td width="4%" style="background-color: #00ff00"></td>
|
||
<td width="2%" style="background-color:#fff;"></td>
|
||
<td style="font-weight:bold; background-color:#fff; text-align:right;"><?= _("Non garanti / refus") ?></td>
|
||
<td width="4%" style="background-color: red;"></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div id="div_ententeprealable">
|
||
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
||
<tr>
|
||
<td width="5%" align="center"> <i class="fa fa-flag"></i><?= _("Etat") ?> </td>
|
||
<td width="20%">
|
||
<SELECT class="form-select" id="codeReponseEntentePrealable" NAME="codeReponseEntentePrealable" style='font-size:10pt;'>
|
||
<?php liste_options_consultation($reponseententeprealable, $_SESSION['etatEntente']); ?>
|
||
</SELECT>
|
||
</td>
|
||
<td align="center" class="required"><i class="fa fa-calendar" ></i> <?= _("Période du") ?> </td>
|
||
<td width="20%"> <INPUT style='text-align:center; font-size:10pt; height:30px !important;' class="form-control datepicker" TYPE="text" id="debut_entente" NAME="debut_entente" value="<?= dateLang($_SESSION['p_dEntente_C'], $_SESSION['p_codeLanguePrestataire']) ?>" required </td>
|
||
|
||
<td width="5%" align="center" class="required"> <i class="fa fa-calendar" ></i> <?= _("au") ?> </td>
|
||
<td width="20%"> <INPUT style='text-align:center; font-size:10pt; height:30px !important;' class="form-control datepicker" TYPE="text" id="fin_entente" NAME="fin_entente" value="<?= dateLang($_SESSION['p_d2_C'], $_SESSION['p_codeLanguePrestataire']) ?>" required> </td>
|
||
|
||
<td> </td>
|
||
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:listeententeprealables();"><i class="fa fa-search" ></i> <?= _("Rechercher...") ?></button> </td>
|
||
</tr>
|
||
</table>
|
||
<?php
|
||
$totalEntentes = count($ententeprealables);
|
||
$libelleEntentes = ($totalEntentes > 1) ? format_N($totalEntentes)." ". _("lignes") : $totalEntentes." ". _("ligne");
|
||
?>
|
||
<table class="table table-striped table-bordered table-condensed table-responsive" style="font-size:8pt;">
|
||
<thead>
|
||
<tr>
|
||
<th colspan="9" style='text-align:center'> <?= $libelleEntentes ;?> </th>
|
||
</tr>
|
||
<tr>
|
||
<th rowspan="2" style='text-align:center'> Date </th>
|
||
<th rowspan="2" colspan="2" style='text-align:center'> <?= _("Actes") ?> </th>
|
||
<th rowspan="2" width="5%" style="text-align:center" > <?= _("Accord") ?> </th>
|
||
<th rowspan="2" width="5%" style='text-align:center' > <?= _("Bon No") ?> </th>
|
||
<!-- <th rowspan="2" style='text-align:center' width="20%"> <?= _("Motif Médical") ?> </th>-->
|
||
<th rowspan="2" colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
|
||
<th colspan="2" style='text-align:center'> <?= _("Répondue") ?> </th>
|
||
</tr>
|
||
<tr>
|
||
<th style='text-align:center'> <?= _("le") ?> </th>
|
||
<th style='text-align:center'> <?= _("par") ?> </th>
|
||
</tr>
|
||
</thead>
|
||
|
||
<tbody>
|
||
<?php foreach ($ententeprealables as $ententeprealable):
|
||
$idDemandeententeprealable = $this->nettoyer($ententeprealable['idDemandeententeprealable']);
|
||
$codeReponseEntentePrealable = $this->nettoyer($ententeprealable['codeReponseEntentePrealable']);
|
||
$numeroEntentePrealable = $this->nettoyer($ententeprealable['numeroEntentePrealable']);
|
||
$facture = $this->nettoyer($ententeprealable['facture']);
|
||
$motifPrestataire = $this->nettoyer($ententeprealable['motifPrestataire']);
|
||
$codeActe = $this->nettoyer($ententeprealable['codeActe']);
|
||
$libelleActe = $this->nettoyer($ententeprealable['libelleActe']);
|
||
$numeroBonExamen = $this->nettoyer($ententeprealable['numeroBonExamen']);
|
||
$numeroBon = $this->nettoyer($ententeprealable['numeroBon']);
|
||
|
||
$fraisReelExamen = $this->nettoyer($ententeprealable['fraisReelExamen']);
|
||
|
||
if($actVisible!="1")
|
||
{
|
||
$libelleActe = $codeActe;
|
||
}
|
||
|
||
$codeAdministrateur = $this->nettoyer($ententeprealable['codeAdministrateur']);
|
||
$codeTypePrestation = $this->nettoyer($ententeprealable['codeTypePrestation']);
|
||
?>
|
||
<tr valign="top">
|
||
<td align='center'><?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?></td>
|
||
|
||
<td align='center'> <?= $codeTypePrestation ?> </td>
|
||
<td > <?= $libelleActe ?> </td>
|
||
<?php if($codeReponseEntentePrealable<>"0"): ?>
|
||
<?php if($codeReponseEntentePrealable=='2'): ?>
|
||
<td align='center' style="background-color: yellow;"> <input type="checkbox" checked disabled> </td>
|
||
<?php elseif($codeReponseEntentePrealable=='1'): ?>
|
||
<td align='center' style="background-color: #00ff00;"> <input type="checkbox" checked disabled> </td>
|
||
<?php elseif($codeReponseEntentePrealable=='9'): ?>
|
||
<td align='center' style="background-color: red;color:white;"> <input type="checkbox" checked disabled> </td>
|
||
<?php else: ?>
|
||
<td align='center'> <input type="checkbox" checked disabled> </td>
|
||
<?php endif; ?>
|
||
<?php else: ?>
|
||
<td align='center' > <input type="checkbox" disabled></td>
|
||
<?php endif; ?>
|
||
|
||
<td align='center'><?= $numeroBon ?> </td>
|
||
|
||
<!--<td ><?= $motifPrestataire?></td>-->
|
||
|
||
<td align='center'><?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?></td>
|
||
|
||
<td><?= $this->nettoyer($ententeprealable['beneficiaire']).' - ( '.$this->nettoyer($ententeprealable['souscripteur']).' )' ?></td>
|
||
|
||
<td align='center'><?= dateheureLang($this->nettoyer($ententeprealable['dateReponse'])) ?></td>
|
||
|
||
<td align='center'><?= $this->nettoyer($ententeprealable['codeAdministrateur']) ?></td>
|
||
</tr>
|
||
<?php endforeach; ?>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div id="div_recap_feuille_maladie" class="modal fade" role="dialog">
|
||
</div>
|