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

336 lines
15 KiB
PHP
Executable File

<?php $this->titre = "INTER SANTE - Modifier Paramètres Généraux de la Production"; ?>
<script type="text/javascript">
</script>
<input class="sr-only" type="text" id="idSocieteuser" name="idSocieteuser" value="<?= $this->nettoyer($societeuser['idSocieteuser']) ?>" >
<legend > <?= _("MODIFIER PARAMETRES SYSTEME DE PRODUCTION ET DE COMPTABILITE") ?> </legend>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:11pt;'>
<thead>
<tr>
<th colspan="2" style="text-align: center; font-weight: bold; background-color:#696969; color:#fff;" height="25"><?= _("Paramètres") ?></th>
<th width="14%" style="text-align: center; font-weight: bold; background-color:#696969; color:#fff;" height="25"> <?= _("Ancienne Valeur") ?> </th>
<th width="14%" style="text-align: center; font-weight: bold; background-color:#696969; color:#fff;" height="25"> <?= _("Nouvelle Valeur") ?> </th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr style="background-color: #ffefd5;">
<td height="30" colspan="4" style='font-weight: bold; text-align: center; font-size:11pt;'> <?= _("PRODUCTION") ?> </td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr height="50">
<td style='text-align:center;' width="5%" class=" text-primary">01 <i class='bx bxs-right-arrow'></td>
<td class=" text-dark">
<?= _("Taux des honoraires ou des commissions du gestionnaire sur chaque prime.") ?>
</td>
<td style="text-align: center; background-color:#dcdcdc;"> <?=$this->nettoyer($societeuser['tauxHonoraires']) . " % "?> </td>
<td> <INPUT style='font-size:10pt; text-align:center;' class="form-control" id="tauxHonoraires" NAME="tauxHonoraires" TYPE="text" value="<?= $this->nettoyer($societeuser['tauxHonoraires']) ?>" onBlur="javascript:controle_numerique_new(this.id, <?= $this->nettoyer($societeuser['tauxHonoraires']) ?>);"></td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr height="50">
<td style='text-align:center;' width="5%" class=" text-primary">02 <i class='bx bxs-right-arrow'></td>
<td class=" text-dark">
<?= _("Rapport Sinistres/Primes au-delà duquel les lignes s'affichent en rouge dans les états statistiques. Il est utilisé pour le calcul du taux d'ajustement lors du renouvellement => Nouvelle Prime = ((Ancienne Prime * S/P) / spMax ). Ce qui veut dire que la S/P ne devrait pas dépasser ce rapport spMax") ?>
</td>
<td style="text-align: center; background-color:#dcdcdc;"> <?=$this->nettoyer($societeuser['spMax']) . " % "?> </td>
<td> <INPUT style='font-size:10pt; text-align:center;' class="form-control" id="spMax" NAME="spMax" TYPE="text" value="<?= $this->nettoyer($societeuser['spMax']) ?>" onBlur="javascript:controle_numerique_new(this.id, <?= $this->nettoyer($societeuser['spMax']) ?>);"></td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr height="50">
<td style='text-align:center;' width="5%" class=" text-primary">03 <i class='bx bxs-right-arrow'></td>
<td class=" text-dark">
<?= _("Le coût d'une nouvelle carte (assuré entrant)") ?>
</td>
<td style="text-align: center; background-color:#dcdcdc;"> <?=format_N($this->nettoyer($societeuser['fraisCarteAN'])) . " " . $_SESSION['devise_C']?> </td>
<td> <INPUT style='font-size:10pt; text-align:center;' class="form-control" id="fraisCarteAN" NAME="fraisCarteAN" TYPE="text" value="<?= $this->nettoyer($societeuser['fraisCarteAN']) ?>" onBlur="javascript:controle_numerique_new(this.id, <?= $this->nettoyer($societeuser['fraisCarteAN']) ?>);" ></td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr height="50">
<td style='text-align:center;' width="5%" class=" text-primary">04 <i class='bx bxs-right-arrow'></td>
<td class=" text-dark">
<?= _("Le coût d'une carte pour un renouvellement (assuré déjà dans le portefeuille)") ?>
</td>
<td style="text-align: center; background-color:#dcdcdc;"> <?=format_N($this->nettoyer($societeuser['fraisCarteREN'])) . " " . $_SESSION['devise_C']?> </td>
<td> <INPUT style='font-size:10pt; text-align:center;' class="form-control" id="fraisCarteREN" NAME="fraisCarteREN" TYPE="text" value="<?= $this->nettoyer($societeuser['fraisCarteREN']) ?>" onBlur="javascript:controle_numerique_new(this.id, <?= $this->nettoyer($societeuser['fraisCarteREN']) ?>);" ></td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr height="50">
<td style='text-align:center;' width="5%" class=" text-primary">05 <i class='bx bxs-right-arrow'></td>
<td class=" text-dark">
<?= _("Le coût pour ré-imprimer une carte existante (perdue, abîmée, etc.)") ?>
</td>
<td style="text-align: center; background-color:#dcdcdc;"> <?=format_N($this->nettoyer($societeuser['fraisCarteImp'])) . " " . $_SESSION['devise_C']?> </td>
<td> <INPUT style='font-size:10pt; text-align:center;' class="form-control" id="fraisCarteImp" NAME="fraisCarteImp" TYPE="text" value="<?= $this->nettoyer($societeuser['fraisCarteImp']) ?>" onBlur="javascript:controle_numerique_new(this.id, <?= $this->nettoyer($societeuser['fraisCarteImp']) ?>);" ></td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr height="50">
<td style='text-align:center;' width="5%" class=" text-primary">06 <i class='bx bxs-right-arrow'></td>
<td class=" text-dark">
<?= _("Rapport Sinistres/Primes au délà duquel une famille est marquée comme à consommation trop élevée") ?>
</td>
<td style="text-align: center; background-color:#dcdcdc;"> <?=$this->nettoyer($societeuser['spAlertAdherent']) . " % "?> </td>
<td> <INPUT style='font-size:10pt; text-align:center;' class="form-control" id="spAlertAdherent" NAME="spAlertAdherent" TYPE="text" value="<?= $this->nettoyer($societeuser['spAlertAdherent']) ?>" onBlur="javascript:controle_numerique_new(this.id, <?= $this->nettoyer($societeuser['spAlertAdherent']) ?>);" ></td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr height="50">
<td style='text-align:center;' width="5%" class=" text-primary">07 <i class='bx bxs-right-arrow'></td>
<td class=" text-dark">
<?= _("Taux à appliquer à la prime non acquise en cas de retrait d'un assuré afin d'avoir la prime à ristourner. Exemple, pour une prime non acquise de 100 000, on retournera 75 000 si tauxRistourne = 75%") ?>
</td>
<td style="text-align: center; background-color:#dcdcdc;"> <?=$this->nettoyer($societeuser['tauxRistourne']) . " % "?> </td>
<td> <INPUT style='font-size:10pt; text-align:center;' class="form-control" id="tauxRistourne" NAME="tauxRistourne" TYPE="text" value="<?= $this->nettoyer($societeuser['tauxRistourne']) ?>" onBlur="javascript:controle_numerique_new(this.id, <?= $this->nettoyer($societeuser['tauxRistourne']) ?>);" ></td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr height="50">
<td style='text-align:center;' width="5%" class=" text-primary">08 <i class='bx bxs-right-arrow'></td>
<td class=" text-dark">
<?= _("Rapport Sinistres/Primes au dela duquel, il n'y aura plus de ristourne en cas de retrait d'un assuré. Exemple si le seuil est de 65% et que le S/P de la police est de 55%, on aura une retourne en cas de retrait. Par contre, dès que le S/P de la police atteindra 65%, tous les futurs retraits se feront sans ristourne") ?>
</td>
<td style="text-align: center; background-color:#dcdcdc;"> <?=$this->nettoyer($societeuser['seuilRistourne']) . " % " ?> </td>
<td> <INPUT style='font-size:10pt; text-align:center;' class="form-control" id="seuilRistourne" NAME="seuilRistourne" TYPE="text" value="<?= $this->nettoyer($societeuser['seuilRistourne']) ?>" onBlur="javascript:controle_numerique_new(this.id, <?= $this->nettoyer($societeuser['seuilRistourne']) ?>);" ></td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr height="50">
<td style='text-align:center;' width="5%" class=" text-primary">09 <i class='bx bxs-right-arrow'></td>
<td class=" text-dark">
<?= _("Permettre l'archivage automatique des primes?") ?>
</td>
<td style="text-align: center; background-color:#dcdcdc;">
<?php if ($societeuser['archivageAutomatiquePrime']=="1"): ?>
<?= _("Oui") ?>
<?php else: ?>
<?= _("Non") ?>
<?php endif; ?>
</td>
<td>
<select class="form-select" id="archivageAutomatiquePrime" NAME="archivageAutomatiquePrime" style='font-size:10pt; text-align:center;' >
<?php liste_options($archiveautoouinon, $this->nettoyer($societeuser['archivageAutomatiquePrime']), true); ?>
</SELECT>
</td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr height="50">
<td style='text-align:center;' width="5%" class=" text-primary">10 <i class='bx bxs-right-arrow'></td>
<td class=" text-dark">
<?= _("Le bénéficiaire reçoit-il son numéro d'assuré par SMS, WhatsApp et/ou Mail ?") ?>
</td>
<td style="text-align: center; background-color:#dcdcdc;">
<?php if ($societeuser['notificationSmsNumeroAssure']=="1"): ?>
<?= _("Oui") ?>
<?php else: ?>
<?= _("Non") ?>
<?php endif; ?>
</td>
<td>
<select class="form-select" id="notificationSmsNumeroAssure" NAME="notificationSmsNumeroAssure" style='font-size:10pt; text-align:center;' >
<?php liste_options($notificationSmsNumeroAssureouinon, $this->nettoyer($societeuser['notificationSmsNumeroAssure']), true); ?>
</SELECT>
</td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr height="50">
<td style='text-align:center;' width="5%" class=" text-primary">11 <i class='bx bxs-right-arrow'></td>
<td class=" text-dark">
<?= _("L'assuré principal reçoit en groupe, les numéros d'assurés de tous les membres de sa famille, par SMS, WhatsApp et/ou E-Mail ?") ?>
</td>
<td style="text-align: center; background-color:#dcdcdc;">
<?php if ($societeuser['notificationGroupeNumeroAssure']=="1"): ?>
<?= _("Oui") ?>
<?php else: ?>
<?= _("Non") ?>
<?php endif; ?>
</td>
<td>
<select class="form-select" id="notificationGroupeNumeroAssure" NAME="notificationGroupeNumeroAssure" style='font-size:10pt; text-align:center;' >
<?php liste_options($notificationGroupeNumeroAssureouinon, $this->nettoyer($societeuser['notificationGroupeNumeroAssure']), true); ?>
</SELECT>
</td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr height="50">
<td style='text-align:center;' width="5%" class=" text-primary">12 <i class='bx bxs-right-arrow'></td>
<td class=" text-dark">
<?= _("Activer le paramétrage de la facturation d'un garant par produit ?") ?>
</td>
<td style="text-align: center; background-color:#dcdcdc;">
<?php if ($societeuser['parametresFacturationGarantProduit']=="1"): ?>
<?= _("Oui") ?>
<?php else: ?>
<?= _("Non") ?>
<?php endif; ?>
</td>
<td>
<select class="form-select" id="parametresFacturationGarantProduit" NAME="parametresFacturationGarantProduit" style='font-size:10pt; text-align:center;' >
<?php liste_options($parametresFacturationGarantProduitouinon, $this->nettoyer($societeuser['parametresFacturationGarantProduit']), true); ?>
</SELECT>
</td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr height="50">
<td style='text-align:center;' width="5%" class=" text-primary">13 <i class='bx bxs-right-arrow'></td>
<td class=" text-dark">
<?= _("Permettre aux adhérents d'ajouter les photos de leurs familles au niveau du portail assuré ?") ?>
</td>
<td style="text-align: center; background-color:#dcdcdc;">
<?php if ($societeuser['assureAjoutPhoto']=="1"): ?>
<?= _("Oui") ?>
<?php else: ?>
<?= _("Non") ?>
<?php endif; ?>
</td>
<td>
<select class="form-select" id="assureAjoutPhoto" NAME="assureAjoutPhoto" style='font-size:10pt; text-align:center;' >
<?php liste_options($assureAjoutPhotoOuinon, $this->nettoyer($societeuser['assureAjoutPhoto']), true); ?>
</SELECT>
</td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr style="background-color: #ffefd5;">
<td height="30" colspan="4" style='font-weight: bold; text-align: center; font-size:11pt;'> <?= _("COMPTABILITE") ?> </td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr height="50">
<td style='text-align:center;' width="5%" class=" text-success">01 <i class='bx bxs-right-arrow'></td>
<td class=" text-dark">
<?= _("La valeur de l'écart toléré lorsqu'un encaissement de prime ou de facture garant est fait") ?>
</td>
<td style="text-align: center; background-color:#dcdcdc;"> <?=format_N($this->nettoyer($societeuser['EcartEncaissementTolerable'])) . " " . $_SESSION['devise_C']?> </td>
<td> <INPUT style='font-size:10pt; text-align:center;' class="form-control" id="ecartEncaissementTolerable" NAME="ecartEncaissementTolerable" TYPE="text" value="<?= $this->nettoyer($societeuser['EcartEncaissementTolerable']) ?>" onBlur="javascript:controle_numerique_new(this.id, <?= $this->nettoyer($societeuser['EcartEncaissementTolerable']) ?>);" ></td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr height="50">
<td style='text-align:center;' width="5%" class=" text-success">02 <i class='bx bxs-right-arrow'></td>
<td class=" text-dark">
<?= _("Le lettrage des encaissements garants se fait-il automatiquement ?") ?>
</td>
<td style="text-align: center; background-color:#dcdcdc;">
<?php if ($societeuser['lettrageAutoGarant']=="1"): ?>
<?= _("Oui") ?>
<?php else: ?>
<?= _("Non") ?>
<?php endif; ?>
</td>
<td>
<select class="form-select" id="lettrageAutoGarant" NAME="lettrageAutoGarant" style='font-size:10pt; text-align:center;' >
<?php liste_options($lettrageAutoGarantouinon, $this->nettoyer($societeuser['lettrageAutoGarant']), true); ?>
</SELECT>
</td>
</tr>
<tr>
<td colspan="4" height="5"></td>
</tr>
<tr>
<td colspan="2"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_modif_parametres_prod();" style='font-size:10pt;' > </td>
<td colspan="2"> <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:afficher_autres_parametresgeneraux();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>