92 lines
5.1 KiB
PHP
Executable File
92 lines
5.1 KiB
PHP
Executable File
<?php
|
|
$this->titre = "INTER-SANTE - Accepter Dérogation";
|
|
$codeDerogation = $this->nettoyer($derogation['codeDerogation']);
|
|
?>
|
|
|
|
<form id="frmderogation" name="frmderogation" method="post" >
|
|
|
|
<INPUT class="sr-only" TYPE="text" id="idDemandederogation" name="idDemandederogation" value="<?= $this->nettoyer($derogation['idDemandederogation']) ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="smsGestionPrestataire" name="smsGestionPrestataire" value="<?= $this->nettoyer($derogation['smsGestionPrestataire']) ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="prestataire" name="prestataire" value="<?= $this->nettoyer($derogation['prestataire']) ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="codePrestataire" name="codePrestataire" value="<?= $this->nettoyer($derogation['codePrestataire']) ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="beneficiaire" name="beneficiaire" value="<?= $this->nettoyer($derogation['beneficiaire']) ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" value="<?= $this->nettoyer($derogation['numeroBeneficiaire']) ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="libelleDerogation" name="libelleDerogation" value="<?= $this->nettoyer($derogation['libelleDerogation']) ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="codeDerogation" name="codeDerogation" value="<?= $codeDerogation ?>">
|
|
<INPUT class="sr-only" TYPE="text" id="telephonePortableAdherent" name="telephonePortableAdherent" value="<?= $this->nettoyer($derogation['telephonePortableAdherent']) ?>">
|
|
|
|
<legend> <?= _("Acceptation d'une dérogation") ?> </legend>
|
|
|
|
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
|
<tbody>
|
|
<tr>
|
|
<td width="15%" > <?= _("No") ?> </td>
|
|
<td width="20%"> <INPUT id="numeroDerogation" name="numeroDerogation" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= $this->nettoyer($derogation['numeroDerogation']) ?>" readonly> </td>
|
|
|
|
<td width="15%" align="center"> <?= _("Dérogation") ?> </td>
|
|
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($derogation['libelleDerogation']) ?>" readonly> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> Date </td>
|
|
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= dateheureLang($this->nettoyer($derogation['dateSysteme'])) ?>" readonly> </td>
|
|
|
|
<td align="center"> <?= _("Prestataire") ?> </td>
|
|
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($derogation['prestataire']) ?>" readonly> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Bénéficiaire") ?> </td>
|
|
<td colspan="5"><INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($derogation['beneficiaire']) . " ( " . $this->nettoyer($derogation['numeroBeneficiaire']) . " )" ?>" readonly> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Motivations") ?> </td>
|
|
<td colspan="5"><INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($derogation['observations']) ?>" readonly> </td>
|
|
</tr>
|
|
|
|
<?php if ($codeDerogation=='01'): ?>
|
|
<tr>
|
|
<td> <?= _("Motif") ?> </td>
|
|
<td colspan="3"><INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" style='font-size:10pt;' required AUTOCOMPLETE="OFF" autofocus ></td>
|
|
|
|
<td align="center"> <?= _("T M") ?> </td>
|
|
<td>
|
|
<INPUT id="tmDerogation" name="tmDerogation" style='font-size:10pt;text-align:center;' class="form-control" type="number" value="<?= $this->nettoyer($derogation['tm']) ?>" readonly>
|
|
</td>
|
|
|
|
</tr>
|
|
<?php else : ?>
|
|
<tr>
|
|
<td> <?= _("Motif") ?> </td>
|
|
<td colspan="5">
|
|
<INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" style='font-size:10pt;' required AUTOCOMPLETE="OFF" autofocus >
|
|
<INPUT class="sr-only" id="tmDerogation" name="tmDerogation" style='text-align:center' class="form-control" type="number" value="0">
|
|
</td>
|
|
</tr>
|
|
<?php endif; ?>
|
|
|
|
<tr>
|
|
<td> <?= _("Début jeton") ?> </td>
|
|
<td> <INPUT style='text-align:center; font-size:10pt;' class="form-control datepicker" TYPE="text" id="debut" NAME="debut" value="<?= dateCouranteLang($_SESSION['p_lang']) ?>" required AUTOCOMPLETE="OFF" ></td>
|
|
|
|
<td align="center" > <?= _("Fin jeton") ?> </td>
|
|
<td width="20%"> <INPUT style='text-align:center; font-size:10pt;' class="form-control datepicker" TYPE="text" id="fin" NAME="fin" value="<?= dateCouranteLang($_SESSION['p_lang']) ?>" required AUTOCOMPLETE="OFF" ></td>
|
|
|
|
<td> </td>
|
|
<td> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value='<?= _("Valider") ?>' onClick="enregistreraccordderogation();" style='font-size:10pt;' > </td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
<?php if (isset($msgErreur)): ?>
|
|
<div id ="msgErreur" class="alert alert-danger" style="height:38px; padding:5px;" >
|
|
<H4><?= $msgErreur ?></H4>
|
|
</div>
|
|
<?php endif; ?>
|
|
</form>
|
|
|
|
<div id ="div_wait">
|
|
</div>
|