97 lines
4.2 KiB
PHP
Executable File
97 lines
4.2 KiB
PHP
Executable File
<?php
|
|
$this->titre = "INTER-SANTE - Modification tarif acte";
|
|
|
|
$codePrestataire = $this->nettoyer($tarif['codePrestataire']);
|
|
$idPolice = $this->nettoyer($tarif['idPolice']);
|
|
$codeGroupePrestataire = $this->nettoyer($tarif['codeGroupePrestataire']);
|
|
?>
|
|
|
|
|
|
|
|
<legend> <?= _("Modification tarif actes") ?> </legend>
|
|
|
|
<input class="sr-only" type="text" id="idTarif" name="idTarif" value="<?= $this->nettoyer($tarif['idTarif']) ?>" >
|
|
|
|
<table class="table table-responsive table-condensed" style="font-size:10pt;">
|
|
<tbody>
|
|
|
|
<tr>
|
|
<?php if ($codePrestataire =="") : ?>
|
|
<td width="10%" > <?= _("Prestataire") ?> </td>
|
|
<td>
|
|
<select name="codePrestataire" id="codePrestataire" class="form-control selectpicker" data-live-search="true" onchange="javascript:tarifCentre(this);" disabled>
|
|
<?= liste_options($prestataires,$this->nettoyer($tarif['codePrestataire']),false) ?>
|
|
</select>
|
|
</td>
|
|
|
|
<?php else: ?>
|
|
<td width="10%" > <?= _("Prestataire") ?> </td>
|
|
<td>
|
|
<select name="codePrestataire" id="codePrestataire" class="form-control selectpicker" data-live-search="true" onchange="javascript:tarifCentre(this);" autofocus>
|
|
<?= liste_options($prestataires,$this->nettoyer($tarif['codePrestataire']),true) ?>
|
|
</select>
|
|
</td>
|
|
<?php endif; ?>
|
|
|
|
<?php if ($idPolice =="0") : ?>
|
|
<td width="10%" align="center"> <?= _("Police") ?> </td>
|
|
<td>
|
|
<select name="idPolice" id="idPolice" class="form-control selectpicker" data-live-search="true" onchange="javascript:tarifPolice(this);" disabled>
|
|
<?= liste_options($police,$this->nettoyer($tarif['idPolice']),false) ?>
|
|
</select>
|
|
</td>
|
|
<?php else: ?>
|
|
<td width="10%" align="center"> <?= _("Police") ?> </td>
|
|
<td>
|
|
<select name="idPolice" id="idPolice" class="form-control selectpicker" data-live-search="true" onchange="javascript:tarifPolice(this);" autofocus>
|
|
<?= liste_options($police,$this->nettoyer($tarif['idPolice']),true) ?>
|
|
</select>
|
|
</td>
|
|
<?php endif; ?>
|
|
</tr>
|
|
|
|
<?php if ($codeGroupePrestataire =="") : ?>
|
|
<td width="10%" > <?= _("Groupe") ?> </td>
|
|
<td colspan="3">
|
|
<select name="codeGroupePrestataire" id="codeGroupePrestataire" class="form-control selectpicker" data-live-search="true" onchange="javascript:tarifGroupe(this);" disabled>
|
|
<?= liste_options($groupes,$this->nettoyer($tarif['codeGroupePrestataire']),false) ?>
|
|
</select>
|
|
</td>
|
|
|
|
<?php else: ?>
|
|
<td width="10%" > <?= _("Groupe") ?> </td>
|
|
<td colspan="3">
|
|
<select name="codeGroupePrestataire" id="codeGroupePrestataire" class="form-control selectpicker" data-live-search="true" onchange="javascript:tarifGroupe(this);" autofocus>
|
|
<?= liste_options($groupes,$this->nettoyer($tarif['codeGroupePrestataire']),true) ?>
|
|
</select>
|
|
</td>
|
|
<?php endif; ?>
|
|
|
|
<tr>
|
|
<td width="10%" class="required"> <?= _("Nom Français") ?> </td>
|
|
<td width="40%"><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelle" NAME="libelle" value="<?=$this->nettoyer($tarif['libelle'])?>" required AUTOCOMPLETE="OFF" ></td>
|
|
|
|
<td align="center" width="10%" class="required"> <?= _("Nom Anglais") ?> </td>
|
|
<td><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelleEng" NAME="libelleEng" value="<?=$this->nettoyer($tarif['libelleEng'])?>" required AUTOCOMPLETE="OFF" ></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="10%" class="required"> <?= _("Type Tarif") ?> </td>
|
|
<td colspan="3">
|
|
<div id="div_type_tarif">
|
|
<select name="codeTypeTarifActe" id="codeTypeTarifActe" class="form-control" required AUTOCOMPLETE="OFF" >
|
|
<?= liste_options($typeTarif,$this->nettoyer($tarif['codeTypeTarifActe']),true) ?>
|
|
</select>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_modif_tarif_actes();" style='font-size:10pt;' > </td>
|
|
|
|
<td> </td>
|
|
<td> <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:lister_tarif_actes();" style='font-size:10pt;' > </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|