a
This commit is contained in:
parent
921031e837
commit
3d7bf79d0c
|
|
@ -99,11 +99,9 @@
|
|||
|
||||
var_dump(
|
||||
array(
|
||||
"activerOtp" => $activerOtp,
|
||||
"otpStatus" => $otpStatus,
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
<button type="button" class="sr-only" id="btn_refresh" name="btn_refresh" onClick="javascript:feuillemaladie();" > </button>
|
||||
|
|
@ -142,7 +140,6 @@
|
|||
|
||||
<input class="sr-only" type="text" id="motifHospitalisation" name="motifHospitalisation" value="<?= $feuillemaladie['motifHospitalisation'] ?>" >
|
||||
|
||||
|
||||
<input class="sr-only" type="text" id="noPrescription" name="noPrescription" value="<?= $noPrescription ?>" >
|
||||
|
||||
<INPUT class="sr-only" TYPE="text" id="nomForm" NAME="nomForm" value="feuillemaladie">
|
||||
|
|
@ -629,6 +626,51 @@
|
|||
<H4><?= _("Facturation partielle !") ?></H4>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- 26/07/2026 => DEBUT gérer les OTP ici -->
|
||||
<?php if($otpStatus=="-1" || $otpStatus=="1"): ?>
|
||||
<input style='font-size:10pt;' class="form-control btn btn-info" type="button" onclick="verifierContestationAvantOuverture()" value="<?= _("Facturer") ?>" />
|
||||
<?php else:
|
||||
switch ($otpStatus) {
|
||||
case 0:
|
||||
$messageOtp = "Veuillez envoyer un code de vérification à l'assuré!";
|
||||
break;
|
||||
case 2:
|
||||
$messageOtp = "Veuillez saisir le code de vérification reçu par l'assuré sur son téléphone portable ou son adresse e-mail!";
|
||||
break;
|
||||
case 9:
|
||||
$messageOtp = "Code incorrect, veuillez réessayer!";
|
||||
break;
|
||||
default:
|
||||
$messageOtp = "Veuillez envoyer un code de vérification à l'assuré!";
|
||||
}
|
||||
?>
|
||||
<h5 class="alert alert-danger" style="height:35px; padding:5px; text-align:center; margin-bottom:5px;"> <?= $messageOtp ?> </h5>
|
||||
|
||||
<?php if($otpStatus=='0') : ?>
|
||||
<form action="Fichebeneficiaire/envoyerotp" method="post">
|
||||
<?php else: ?>
|
||||
<form action="Fichebeneficiaire/confirmerotp" method="post">
|
||||
<?php endif; ?>
|
||||
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<?php if($otpStatus=='0') : ?>
|
||||
<td> <input style='font-size:10pt;' class="form-control btn btn-info" type="submit" name="submit" value="<?= _("Envoyer Code") ?>" /> </td>
|
||||
<?php elseif($otpStatus=='2'): ?>
|
||||
<td> <INPUT style='font-size:10pt;' class="form-control" type="text" id="otpValue" name="otpValue" required AUTOCOMPLETE="OFF" autofocus > </td>
|
||||
<td> <input style='font-size:10pt;' class="form-control btn btn-primary" type="submit" name="submit" value="<?= _("Vérifier Code") ?>" /> </td>
|
||||
<?php else: ?>
|
||||
<td> <INPUT style='font-size:10pt;' class="form-control" type="text" id="otpValue" name="otpValue" required AUTOCOMPLETE="OFF" autofocus > </td>
|
||||
<td> <input style='font-size:10pt;' class="form-control btn btn-warning" type="submit" name="submit" value="<?= _("Vérifier Code à nouveau") ?>" /> </td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
<?php endif; ?>
|
||||
<!-- 26/07/2026 => FIN gérer les OTP ici -->
|
||||
<?php else: ?>
|
||||
<?php if($facPartiel=="0") : ?>
|
||||
<div class="alert alert-danger" style="height:40px; padding:5px; text-align:center; margin-bottom:5px;" >
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@
|
|||
{
|
||||
$otpStatus = -1;
|
||||
}
|
||||
|
||||
|
||||
$prestationPossible = $_SESSION['prestationPossible'];
|
||||
$prestationPossibleEncaissement = $this->nettoyer($beneficiaire['prestationPossibleEncaissement']);
|
||||
|
||||
|
|
@ -179,18 +179,11 @@
|
|||
<INPUT class="sr-only" TYPE="text" id="codeReferencement" NAME="codeReferencement" value="<?= $beneficiaire['codeReference'] ?>">
|
||||
<button class="sr-only" id="btn_popdate_reelle" name="btn_popdate_reelle" type="button" data-bs-toggle="modal" data-bs-target="#popdate_reelle" > </button>
|
||||
<INPUT class="sr-only" TYPE="text" id="faceRegistered" name="faceRegistered" value="<?= $faceRegistered ?>">
|
||||
|
||||
<INPUT class="sr-only" TYPE="text" id="autoriserUnBonPrincipal" name="autoriserUnBonPrincipal" value="<?= $this->nettoyer($beneficiaire['autoriserUnBonPrincipal']) ?>">
|
||||
|
||||
|
||||
<!-- 22-11-2022 ----------->
|
||||
<INPUT class="sr-only" TYPE="text" id="agemaxipediatrie" NAME="agemaxipediatrie" value="<?= $agemaxipediatrie ?>">
|
||||
<INPUT class="sr-only" TYPE="text" id="parametreNombreFeuilleGratuitJour" NAME="parametreNombreFeuilleGratuitJour" value="<?= $parametreNombreFeuilleGratuitJour ?>">
|
||||
<INPUT class="sr-only" TYPE="text" id="nombreFeuilleGratuite" NAME="nombreFeuilleGratuite" value="<?= $nombreFeuilleGratuite ?>">
|
||||
|
||||
|
||||
<INPUT class="sr-only" TYPE="text" id="sessionConsultationConservee" name="sessionConsultationConservee" value="<?= $sessionConsultationConservee ?>">
|
||||
|
||||
<INPUT class="sr-only" TYPE="text" id="face_confirmee" name="face_confirmee" value="<?= $face_confirmee ?>">
|
||||
<INPUT class="sr-only" TYPE="text" id="faceActif" name="faceActif" value="<?= $faceActif ?>">
|
||||
<INPUT class="sr-only" TYPE="text" id="prestationPossible" name="prestationPossible" value="<?= $_SESSION['prestationPossible'] ?>">
|
||||
|
|
@ -393,7 +386,6 @@
|
|||
<input class="sr-only" id="badcodeGestionBon" name="badcodeGestionBon" type="text" value= "<?= $badcodeGestionBon ?>" >
|
||||
<input class="sr-only" id="delaiCarenceRaisonconsultation" name="delaiCarenceRaisonconsultation" type="number" value= "0" >
|
||||
<input class="sr-only" id="appliquerDelaiCarence" name="appliquerDelaiCarence" type="text" value= "0" >
|
||||
<!-- <INPUT class="sr-only" TYPE="text" id="prestataireReference" NAME="prestataireReference" value="<?= $prestataireReference ?>"> -->
|
||||
|
||||
<INPUT class="sr-only" TYPE="text" id="dureeVieBon" NAME="dureeVieBon" value="<?= $dureeVieBon ?>">
|
||||
<INPUT class="sr-only" TYPE="text" id="dureeDerniereConsultation" NAME="dureeDerniereConsultation" value="<?= $dureeDerniereConsultation ?>">
|
||||
|
|
@ -408,26 +400,16 @@
|
|||
|
||||
<INPUT class="sr-only" TYPE="text" id="dernierCentre" NAME="dernierCentre" value="<?= $dernierCentre ?>">
|
||||
|
||||
<!-- Ajout du 22/08/2022 -->
|
||||
<INPUT class="sr-only" TYPE="text" id="dateDerniereConsultaionGeneraliste" NAME="dateDerniereConsultaionGeneraliste" value="<?= $dateDerniereConsultaionGeneraliste ?>">
|
||||
<INPUT class="sr-only" TYPE="text" id="dateDerniereConsultaionSpecialiste" NAME="dateDerniereConsultaionSpecialiste" value="<?= $dateDerniereConsultaionSpecialiste ?>">
|
||||
<INPUT class="sr-only" TYPE="text" id="nbreConsultaionSpecialisteJour" NAME="nbreConsultaionSpecialisteJour" value="<?= $nbreConsultaionSpecialisteJour ?>">
|
||||
<INPUT class="sr-only" TYPE="text" id="paramConsultationSpecialisteJour" NAME="paramConsultationSpecialisteJour" value="<?= $paramConsultationSpecialisteJour ?>">
|
||||
|
||||
<!-- Ajout du 24/0/2022 -->
|
||||
|
||||
<INPUT class="sr-only" TYPE="text" id="codeTypePrestataire" NAME="codeTypePrestataire" value="<?= $_SESSION['p_codeTypePrestataire_C'] ?>">
|
||||
|
||||
<!-- Ajout du 01/02/2023 -->
|
||||
|
||||
|
||||
|
||||
<div id="div_findelaicarence">
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<?php if ($badcodeGestionBon=="1") : ?>
|
||||
<div class="alert alert-danger" style="height:40px; padding:5px; text-align:center;" >
|
||||
<H4> <?= _("REVOIR LE TYPE DE GESTION DES BONS") ?> </H4>
|
||||
|
|
@ -692,8 +674,6 @@
|
|||
?>
|
||||
|
||||
</div>
|
||||
<!-- -->
|
||||
|
||||
<div id="content">
|
||||
|
||||
<?php if ($college_couvert<"1" && $derogation_en_cours<"1") : ?>
|
||||
|
|
@ -711,9 +691,6 @@
|
|||
<div id="loadingDiv" style="display: none">
|
||||
<div class="ajax-mask"><div class="loading"><img src="Bootstrap/images/loading-spinner-grey.gif"/> <?= _("Veuillez patienter...") ?> </span></div></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="modal fade" id="popdate_reelle" role="dialog">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user