152 lines
6.4 KiB
PHP
Executable File
152 lines
6.4 KiB
PHP
Executable File
<?php
|
|
|
|
|
|
?>
|
|
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-bs-dismiss="modal">×</button>
|
|
<legend class="modal-title" id="user" style="text-align:center;">Dupliquer le barème de prise en charge</legend>
|
|
</div>
|
|
<div class="modal-body">
|
|
<INPUT TYPE="text" class="sr-only" id = "idBaremePriseEnChargeOld" name = "idBaremePriseEnChargeOld" value="<?= $this->nettoyer($bareme['id']);?>">
|
|
<table width="100%" cellpadding="0" cellspacing="0" class="table table-responsive table-condensed">
|
|
<tbody>
|
|
<tr>
|
|
<td colspan="6" class="text-center"><h4>Barème à dupliquer </h4></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="10%" class="text-center"> <?= _("Garant") ?> </td>
|
|
<td colspan="3">
|
|
<SELECT style="font-size:10pt; height:30px;" class="form-control" id="codeGcAssureurOld" NAME="codeGcAssureurOld" disabled
|
|
onChange="javascript:filtreproduit(); libelleClientBareme(this);" >
|
|
<?= liste_options($garant,$this->nettoyer($bareme['codeGcAssureur']),true) ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td width="13%" class="text-center"> <?= _("Catégorie d'assuré") ?> </td>
|
|
<td width="30%">
|
|
<SELECT style="font-size:10pt; height:30px;" class="form-control" id="codeProduitOld" NAME="codeProduitOld" disabled
|
|
onChange="libelleClientBareme(this);" >
|
|
<?php liste_options($produits,$this->nettoyer($bareme['codeProduit']),true); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td width="10%" align="center"> Taux Barème </td>
|
|
<td width="10%" >
|
|
<select name="idTauxCouvertureOld" id="idTauxCouvertureOld" class="form-control" disabled
|
|
onchange="libelleClientBareme(this);">
|
|
<?= liste_options($taux,$this->nettoyer($bareme['idTauxCouverture']),true) ?>
|
|
</select>
|
|
</td>
|
|
|
|
<td width="10%" align="center" > <?= _("Territoire") ?> </td>
|
|
<td>
|
|
<select name="codeTerritoireOld" id="codeTerritoireOld" class="form-control" disabled
|
|
onchange="libelleTerritoireBareme(this.value,this);" readonly>
|
|
<?= liste_options($territoire,$this->nettoyer($bareme['codeTerritoire']),true) ?>
|
|
</select>
|
|
</td>
|
|
|
|
<td width="10%" align="center" > <?= _("Client") ?> </td>
|
|
<td>
|
|
<select name="numeroClientOld" id="numeroClientOld" class="form-control" onchange="libelleClientBareme(this);" disabled>
|
|
<?= liste_options($clients,$this->nettoyer($bareme['numeroClient']),false) ?>
|
|
</select>
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td width="10%" align="center" > <?= _("Libelle") ?> </td>
|
|
<td colspan="5"><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelleOld" NAME="libelleOld" value="<?= $this->nettoyer($bareme['libelle'])?>" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="10%" align="center"> <?= _("Observation") ?> </td>
|
|
<td colspan="5"><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="observationBaremeOld" NAME="observationBaremeOld" value="<?= $this->nettoyer($bareme['observationBareme'])?>" readonly></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" class="table table-responsive table-condensed">
|
|
<tbody>
|
|
<tr>
|
|
<td colspan="6" class="text-center"><h4> Nouvelles valeurs </h4> </td>
|
|
</tr>
|
|
<tr>
|
|
<td width="10%" class="required AUTOCOMPLETE="OFF" text-center"> <?= _("Garant") ?> </td>
|
|
<td colspan="3">
|
|
<SELECT style="font-size:10pt; height:30px;" class="form-control" id="codeGcAssureur" NAME="codeGcAssureur" required AUTOCOMPLETE="OFF" autofocus
|
|
onChange="javascript:filtreproduit(); libelleClientBareme(this);" >
|
|
<?php liste_options($garant,"",false); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td width="13%" class="required AUTOCOMPLETE="OFF" text-center"> <?= _("Catégorie d'assuré") ?> </td>
|
|
<td width="30%">
|
|
<div id="div_produit">
|
|
<SELECT style="font-size:10pt; height:30px;" class="form-control" id="codeProduit" NAME="codeProduit" required AUTOCOMPLETE="OFF"
|
|
onChange="libelleClientBareme(this);" >
|
|
<?php liste_options($produits,"",false); ?>
|
|
</SELECT>
|
|
</div>
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td width="10%" class="required" align="center"> Taux Barème </td>
|
|
<td width="10%" >
|
|
<select name="idTauxCouverture" id="idTauxCouverture" class="form-control" required AUTOCOMPLETE="OFF" autofocus
|
|
onchange="libelleClientBareme(this);">
|
|
<?= liste_options($taux,'',false) ?>
|
|
</select>
|
|
</td>
|
|
|
|
<td width="10%" align="center" class="required" > <?= _("Territoire") ?> </td>
|
|
<td>
|
|
<select name="codeTerritoire" id="codeTerritoire" class="form-control" required AUTOCOMPLETE="OFF"
|
|
onchange="libelleTerritoireBareme(this.value,this);">
|
|
<?= liste_options($territoire,'',false) ?>
|
|
</select>
|
|
</td>
|
|
|
|
<td width="10%" align="center" > <?= _("Client") ?> </td>
|
|
<td>
|
|
<select name="numeroClient" id="numeroClient" class="form-control" onchange="libelleClientBareme(this);">
|
|
<?= liste_options($clients,'',false) ?>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="10%" align="center" class="required"> <?= _("Libelle") ?> </td>
|
|
<td colspan="5"><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelle" value="BAREME " NAME="libelle" ></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="10%" align="center"> <?= _("Observation") ?> </td>
|
|
<td colspan="5"><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="observationBareme" NAME="observationBareme" ></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="6" height="20px"> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="6">
|
|
<input style='text-align:center; font-size:10pt;' type="button" name="btn-dupliquer-reseau" id="btn-dupliquer-reseau" class="btn btn-primary form-control" value="Dupliquer"
|
|
onclick="JAVASCRIPT:duplicationbareme();">
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" id="" class="btn btn-default" data-bs-dismiss="modal">Fermer</button>
|
|
</div>
|
|
</div>
|
|
</div>
|