production/Vue/Modifierdossierclassique/index.php
2025-12-01 16:12:12 +00:00

193 lines
9.2 KiB
PHP
Executable File

<?php
$this->titre = "INTER SANTE - Modification Dossier Remboursement Classique";
$numeroLotDecompte = $dossier['numeroLotDecompte'];
$idDossierClassique = $dossier['idDossierClassique'];
$regle = $dossier['regle'];
$affection = $dossier['affection'];
if(est_anglophone()){
$affection = $dossier['affectionEng'];
}
?>
<input class="sr-only" type="text" id="nomForm" name="nomForm" value="modifierRembClassique" >
<input class="sr-only" type="text" id="idDossierClassique" name="idDossierClassique" value="<?= $idDossierClassique ?>" >
<input class="sr-only" type="text" id="regle" name="regle" value="<?= $regle ?>" >
<legend>
<?= _("Dossier de remboursement classique") . " => " . _("No Lot") . " : " . $numeroLotDecompte ?>
</legend>
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("Prestataire Consulté") ?> </td>
<td colspan="5" > <INPUT style='font-size:9pt;' class="form-control" TYPE="text" value="<?= $this->nettoyer($dossier['prestataireConsultation']) ?>" readonly> </td>
</tr>
<tr>
<td width="10%" > <?= _("Affection") ?> </td>
<td width="24%" > <INPUT style='font-size:9pt;' class="form-control" TYPE="text" value="<?= $affection ?>" readonly> </td>
<td width="10%" align="center" > <?= _("Date Consultation") ?> </td>
<td width="23%" > <INPUT style='font-size:9pt;' class="form-control" TYPE="text" value="<?= dateLang($this->nettoyer($dossier['dateConsultation'])) ?>" readonly> </td>
<td width="10%" align="center" > <?= _("Demandeur") ?> </td>
<td width="24%" > <INPUT style='font-size:9pt;' class="form-control" TYPE="text" value="<?= $this->nettoyer($dossier['demandeur']) ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Lien Parenté") ?> </td>
<td><INPUT style='font-size:9pt;' class="form-control" TYPE="text" value="<?= $dossier['liendemandeur'] ?>" readonly ></td>
<td align="center" > <?= _("Raison Consultation") ?> </td>
<td><INPUT style='font-size:9pt;' class="form-control" TYPE="text" value="<?= $dossier['raisonconsultation'] ?>" readonly ></td>
<td align="center" > <?= _("Hospitalisation?") ?> </td>
<td><INPUT style='font-size:9pt;' class="form-control" TYPE="text" value="<?= $dossier['libellehospitalisation'] ?>" readonly ></td>
</tr>
<tr>
<td> <?= _("Bénéficiaire") ?> </td>
<td><INPUT style='font-size:9pt;' class="form-control" TYPE="text" value="<?= $dossier['beneficiaireReglement'] ?>" readonly ></td>
<td align="center"> <?= _("Lien Parenté") ?> </td>
<td><INPUT style='font-size:9pt;' class="form-control" TYPE="text" value="<?= $dossier['lienbeneficiaire'] ?>" readonly ></td>
<td align="center" > Observations </td>
<td><INPUT style='font-size:9pt;' class="form-control" TYPE="text" value="<?= $dossier['observations'] ?>" readonly ></td>
</tr>
<tr>
<td colspan="6"> <input style='text-align:center; font-size:11pt; background-color:green !important; color:white;' class="form-control" type="text" value= "<?= _("Informations sur le paiement proposées par le bénéficiaire")?>" disabled > </td>
</tr>
<tr>
<td > <?= _("Mode Paiement") ?> </td>
<td > <INPUT style='font-size:9pt;' class="form-control" TYPE="text" value="<?= $dossier['modepaiementBeneficiaire'] ?>" readonly > </td>
<td align="center"> <?= _("Banque Bénéf") ?> </td>
<td > <INPUT style='font-size:9pt;' class="form-control" TYPE="text" value="<?= $dossier['banqueBeneficiaire'] ?>" readonly > </td>
<td align="center"> <?= _("No Cpte Bénéf") ?> </td>
<td > <INPUT style='font-size:9pt;' class="form-control" TYPE="text" value="<?= $dossier['numeroCompteBeneficiaire'] ?>" readonly > </td>
</tr>
</tbody>
</table>
<input style='text-align:center; font-size:11pt; font-weight: bold; background-color:#f5deb3; color:#a0522d;' class="form-control" type="text" value= "<?= _("Nouvelles informations sur la demande de remboursement classique") ?>" readonly >
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
<tbody>
<tr>
<td width="10%" class="required"> <?= _("Prestataire") ?> </td>
<td colspan="5">
<input id="searchInputPrestataire" name="searchInputPrestataire" style="font-size:12pt; height:30px;" class="form-control" type="text" required AUTOCOMPLETE="OFF"
onkeyup="javascript:affichelisteprestataires(this.value);" value="<?= $this->nettoyer($dossier['prestataireConsultation']) ?>">
<INPUT class="sr-only" TYPE="text" id="codePrestataire" NAME="codePrestataire" value="">
<INPUT class="sr-only" TYPE="text" id="prestataireConsultation" NAME="prestataireConsultation" value="">
<div id="div_selection_prestataire" style="width:92%">
</div>
</td>
</tr>
<tr>
<td class="required"> <?= _("Affection") ?> </td>
<td>
<SELECT id="codeAffection" NAME="codeAffection" class="form-control selectpicker" data-live-search="true" style='font-size:10pt;'>
<?php liste_options($affections, $this->nettoyer($dossier['codeAffection'])); ?>
</SELECT>
</td>
<td width="10%" align="center" class="required"> <?= _("Date Consultation") ?> </td>
<td width="23%" > <INPUT style='font-size:10pt;' class="form-control datepicker" TYPE="text" id="dateConsultation" NAME="dateConsultation" value="<?= dateLang($this->nettoyer($dossier['dateConsultation'])) ?>" required AUTOCOMPLETE="OFF" ></td>
<td width="10%" align="center" > <?= _("Demandeur") ?> </td>
<td width="24%" > <INPUT id="demandeur" NAME="demandeur" style='font-size:9pt;' class="form-control" TYPE="text" value="<?= $this->nettoyer($dossier['demandeur']) ?>" > </td>
</tr>
<tr>
<td class="required"> <?= _("Lien Parenté") ?> </td>
<td>
<select class="form-select" id="codeLienDemandeur" NAME="codeLienDemandeur" required AUTOCOMPLETE="OFF" style='font-size:9pt;'>
<?php liste_options($liendemandeur, $dossier['codeLienDemandeur']); ?>
</SELECT>
</td>
<td align="center" class="required"> <?= _("Raison Consultation") ?> </td>
<td>
<select class="form-select" id="codeRaisonConsultation" NAME="codeRaisonConsultation" required AUTOCOMPLETE="OFF" style='font-size:9pt;'>
<?php liste_options($raison, $dossier['codeRaisonConsultation']); ?>
</SELECT>
</td>
<td align="center" class="required"> <?= _("Hospitalisation?") ?> </td>
<td>
<select class="form-select" id="hospitalisation" NAME="hospitalisation" style='font-size:10pt;' >
<?php liste_options($ouinonhospit, $dossier['hospitalisation']); ?>
</SELECT>
</td>
</tr>
<tr>
<td> <?= _("Bénéficiaire") ?> </td>
<td><INPUT id="beneficiaireReglement" NAME="beneficiaireReglement" style='font-size:9pt;' class="form-control" TYPE="text" value="<?= $dossier['beneficiaireReglement'] ?>" readonly></td>
<td align="center" class="required"> <?= _("Lien Parenté") ?> </td>
<td>
<select class="form-select" style='font-size:10pt;' disabled>
<?php liste_options($lienbeneficiaire, $dossier['codeLienBeneficiaire']); ?>
</SELECT>
<INPUT class="sr-only" TYPE="text" id="codeLienBeneficiaire" NAME="codeLienBeneficiaire" value="<?= $dossier['codeLienBeneficiaire']; ?>" >
</td>
<td align="center" > Observations </td>
<td ><INPUT id="observations" NAME="observations" style='font-size:9pt;' class="form-control" TYPE="text" value="<?= $dossier['observations'] ?>" ></td>
</tr>
<tr>
<td colspan="6"> <input style='text-align:center; font-size:11pt; background-color:green !important; color:white;' class="form-control" type="text" value= "<?= _("Informations sur le paiement proposées par le bénéficiaire")?>" disabled > </td>
</tr>
<tr>
<td class="required"> <?= _("Mode Paiement") ?> </td>
<td>
<select class="form-select" id="codeModePaiementDemande" NAME="codeModePaiementDemande" required AUTOCOMPLETE="OFF" style='font-size:9pt;' >
<?php liste_options($modepaiement, $dossier['codeModePaiementDemande']); ?>
</SELECT>
</td>
<td align="center"> <?= _("Banque Bénéf") ?> </td>
<td>
<SELECT style='font-size:9pt;' class="form-select" id="codeBanqueBeneficiaire" NAME="codeBanqueBeneficiaire" required AUTOCOMPLETE="OFF">
<?php liste_options($banque, $dossier['codeBanqueBeneficiaire']); ?>
</SELECT>
</td>
<td align="center"> <?= _("No Cpte Bénéf") ?> </td>
<td > <INPUT style='font-size:9pt;' class="form-control" TYPE="text" id="numeroCompteBeneficiaire" NAME="numeroCompteBeneficiaire" value="<?= $dossier['numeroCompteBeneficiaire'] ?>" required AUTOCOMPLETE="OFF"> </td>
</tr>
<tr>
<td> </td>
<td colspan="5"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer les Modifications") ?>" onClick="enregistrermodificationsdossierclassique();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php if (isset($msgErreur)): ?>
<div id ="msgErreur" class="alert alert-danger" style="height:30px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
<div id="div_test">
</div>