a
This commit is contained in:
parent
e9389420bd
commit
6d466c4b20
|
|
@ -1,4 +1,7 @@
|
||||||
<?php $this->titre = "INTER SANTE - Création Police"; ?>
|
<?php
|
||||||
|
$this->titre = "INTER SANTE - Création Police";
|
||||||
|
$codeGcAssureurDefaut = $_SESSION['codeGcAssureurDefaut'];
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
<form method="post" action="Creerpolice/ajouter" onSubmit='$("#dateEcheance").enable();$("#dateFin").enable();'>
|
<form method="post" action="Creerpolice/ajouter" onSubmit='$("#dateEcheance").enable();$("#dateFin").enable();'>
|
||||||
|
|
@ -47,9 +50,16 @@
|
||||||
|
|
||||||
<td class="required" align="center" > <?= _("Garant") ?> </td>
|
<td class="required" align="center" > <?= _("Garant") ?> </td>
|
||||||
<td colspan="3" >
|
<td colspan="3" >
|
||||||
<select class="form-control selectpicker" data-live-search="true" id="codeGcAssureur" NAME="codeGcAssureur" onChange="selectionTauxGarant();" required AUTOCOMPLETE="OFF">
|
<?php if ($codeGcAssureurDefaut>" ") : ?>
|
||||||
<?php liste_options($garants,$_SESSION['codeGcAssureurDefaut']); ?>
|
<select class="form-control" disabled >
|
||||||
</SELECT>
|
<?php liste_options($garants, $codeGcAssureurDefaut); ?>
|
||||||
|
</SELECT>
|
||||||
|
<INPUT class="sr-only" TYPE="text" id="codeGcAssureur" NAME="codeGcAssureur" value="<?= $codeGcAssureurDefaut ?>" >
|
||||||
|
<?php else: ?>
|
||||||
|
<select class="form-control selectpicker" data-live-search="true" id="codeGcAssureur" NAME="codeGcAssureur" onChange="selectionTauxGarant();" required AUTOCOMPLETE="OFF">
|
||||||
|
<?php liste_options($garants,$_SESSION['codeGcAssureurDefaut']); ?>
|
||||||
|
</SELECT>
|
||||||
|
<?php endif; ?>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user