radiantrh/Vue/Ajaxrhvalidationrd/index.php
2026-01-22 15:39:31 +00:00

76 lines
3.2 KiB
PHP
Executable File

<?php
$idDemande = $this->nettoyer($demande['id']);
$numeroDemandeRemboursement = $this->nettoyer($demande['numeroDemandeRemboursement']);
$codeEtatDemandeRemboursement = $this->nettoyer($demande['codeEtatDemandeRemboursement']);
$lien = $this->nettoyer($demande['lien']);
$numeroBeneficiaire = $this->nettoyer($demande['numeroBeneficiaire']);
$observation = $this->nettoyer($demande['observation']);
$codeStatutPaiement = $this->nettoyer($demande['codeStatutPaiement']);
$beneficiaire = $this->nettoyer($demande['beneficiaire']);
$adherent = $this->nettoyer($demande['adherent']);
$numeroAdherent = $this->nettoyer($demande['numeroAdherent']);
$idPolice = $this->nettoyer($demande['idPolice']);
$numeroPolice = $this->nettoyer($demande['numeroPolice']);
if (est_anglophone()){
$lien = $this->nettoyer($demande['lienEng']);
}
?>
<div class="modal-dialog" style="max-width:70%" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-bs-dismiss="modal">&times;</button>
<legend class="modal-title" style="text-align:center;"><?= _('Valider une demande')?></legend>
</div>
<div class="modal-body">
<div id="div_motif" style="margin-top:30px; margin-bottom:30px;">
<table class="table table-responsive table-condensed" style='font-size:12pt;'>
<tbody>
<tr>
<td width="8%"> <?= _("Demande N°");?></td>
<td colspan="3">
<input style="font-size:10pt;" class ="form-control" type="text" value="<?= $numeroDemandeRemboursement; ?>" readonly>
</td>
</tr>
<tr>
<td > <?= _("Titulaire");?></td>
<td >
<input style="font-size:10pt;" class ="form-control" type="text" value="<?= $adherent."(".$numeroAdherent.")"; ?>" readonly>
</td>
<td style='text-align:center' width="8%"> <?= _("Patient");?></td>
<td >
<input style="font-size:10pt;" class ="form-control" type="text" value="<?= $beneficiaire."(".$numeroBeneficiaire.")"; ?>" readonly>
</td>
</tr>
<tr>
<td ><?= _("Etat validation");?></td >
<td colspan="3">
<select class="form-select form-select-sm border-primary-subtle" id="codeStatutPaiement" name="codeStatutPaiement">
<?php liste_options($reponsedemande, $codeStatutPaiement); ?>
</select>
</td>
</tr>
<tr>
<td class="required" width="8%"> <?= _("Motif");?></td>
<td colspan="3">
<textarea class="form-control-sm" placeholder="<?= _("Obligatoire si refus");?>" name="motifRejetRh" id="motifRejetRh" rows="5" required style="width:100%;"></textarea>
</td>
</tr>
<tr>
<td colspan="4">
<input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_validation_rd(<?= $idDemande ?>);">
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" id="" class="btn btn-default" data-bs-dismiss="modal" ><?= _("Fermer") ?></button>
</div>
</div>
</div>