production/Vue/Nouveauproduit/index.php
2025-12-01 16:12:12 +00:00

64 lines
2.5 KiB
PHP
Executable File

<?php $this->titre = "INTER SANTE - Créer un nouveau Produit"; ?>
<legend> <?= _("Créer un Nouveau Produit") ?> </legend>
<table class="table table-responsive table-condensed" style="font-size:10pt;">
<tbody>
<tr>
<td width="10%" class="required"> <?= _("Nom") ?> </td>
<td colspan="3"><INPUT style="font-size:10pt;" class="form-control majuscule" TYPE="text" id="libelle" NAME="libelle" required AUTOCOMPLETE="OFF"></td>
<td width="12%" class="required" align="center"> <?= _("Garant") ?> </td>
<td width="35%">
<SELECT style="font-size:10pt;" class="form-control selectpicker" data-live-search="true" id="codeGcAssureur" NAME="codeGcAssureur" required AUTOCOMPLETE="OFF">
<?php liste_options($garant,$_SESSION['garant']); ?>
</SELECT>
</td>
</tr>
<tr>
<td > <?= _("Plafond Famille") ?> </td>
<td >
<INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="plafondAdherent" NAME="plafondAdherent" AUTOCOMPLETE="OFF" onfocus="javascript:formatNumerique(this);"
onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);" value="0">
</td>
<td class="required" align="center"> <?= _("Etat") ?> </td>
<td >
<SELECT style="font-size:10pt; height:30px;" class="form-select" id="codeEtatProduit" NAME="codeEtatProduit" required AUTOCOMPLETE="OFF">
<?php liste_options($etatproduit,"1",true); ?>
</SELECT>
</td>
<td class="required" align="center"> <?= _("Mode Calcul Prime") ?> </td>
<td >
<SELECT style="font-size:10pt; height:30px;" class="form-select" id="codeModecalculPrime" NAME="codeModecalculPrime" required AUTOCOMPLETE="OFF" onChange="javascript:modecalculeprime()">
<?php liste_options($calculprime,"",false); ?>
</SELECT>
</td>
</tr>
</tbody>
</table>
<div id="div_prime_lienparente">
</div>
<div id="div_typetrancheage" style="margin-bottom:10px;">
</div>
<table class="table table-responsive table-condensed table-bordered" style="font-size:12pt;">
<tbody>
<tr style='background-color:white'>
<td > <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:creer_produit();" style='font-size:10pt;' > </td>
<td > </td>
<td > <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:retour_liste_produits();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>