gh
This commit is contained in:
parent
97e62f5cc0
commit
dc1d78c7f7
|
|
@ -1,210 +1,194 @@
|
|||
<?php $this->titre = "INTER SANTE - Nouveau Garant"; ?>
|
||||
|
||||
<legend> <?= _("Modification Paramètres de facturation du garant")." : ".$gc['libelle'] ?> </legend>
|
||||
|
||||
<?php
|
||||
$superUser = $_SESSION['superUser'];
|
||||
$codeSourceFondGarantAppelFond = $gc['codeSourceFondGarantAppelFond'];
|
||||
$codeSourceFondGarantHonoraire = $gc['codeSourceFondGarantHonoraire'];
|
||||
|
||||
?>
|
||||
|
||||
<input class="sr-only" type="text" id="idGc" name="idGc" value="<?= $this->nettoyer($gc['id']) ?>" >
|
||||
<input class="sr-only" type="text" id="nomForm" name="nomForm" value="parametrefacturationgarant" >
|
||||
|
||||
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="22%"> <?= _("Fraction Caution => Nb mois / 12") ?> </td>
|
||||
<td>
|
||||
<INPUT style='font-size:10pt;' class="form-control" TYPE="text" id="nbMoisCaution" NAME="nbMoisCaution"
|
||||
value="<?=format_N( $this->nettoyer($gc['nbMoisCaution'])) ?> " >
|
||||
</td>
|
||||
|
||||
<td colspan="2" width="5%"></td>
|
||||
|
||||
<td width="22%"> <?= _("Seuil pour Complément Caution (%)") ?> </td>
|
||||
<td>
|
||||
<INPUT style='font-size:10pt;' class="form-control" id="seuilComplementCaution" NAME="seuilComplementCaution"
|
||||
value="<?= format_N($this->nettoyer($gc['seuilComplementCaution'])) ?>" >
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td > <?= _("Source Fond Sinistres") ?> </td>
|
||||
<td>
|
||||
<select class="form-select" id="codeSourceFondGarantAppelFond" NAME="codeSourceFondGarantAppelFond" style="font-size:12pt; height:30px;" onchange="javascript:control_param_facturation_garant(); filtre_assiette_fond()">
|
||||
<?php liste_options($sourcefonds,$gc['codeSourceFondGarantAppelFond'],false); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
|
||||
<td colspan="2"></td>
|
||||
|
||||
|
||||
<td class="required"><?= _("Périodicité Fond Sinistres") ?></td>
|
||||
<td>
|
||||
<select class="form-select" id="codePeriodiciteAppelFond" NAME="codePeriodiciteAppelFond"
|
||||
style="font-size:12pt; height:30px;" required AUTOCOMPLETE="OFF" onChange="change_periodicite_honoraire();">
|
||||
<?php liste_options($periodicitesappelfond,$gc['codePeriodiciteAppelFond'],false); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td > <?= _("Assiette Fond Sinistres") ?> </td>
|
||||
<td>
|
||||
<div id="div_assiette_fonds">
|
||||
<select class="form-select" id="codeAssietteFacturationGarantAppelFond" NAME="codeAssietteFacturationGarantAppelFond" style="font-size:12pt; height:30px;">
|
||||
<?php liste_options($assiettefonds,$gc['codeAssietteFacturationGarantAppelFond'],false); ?>
|
||||
</SELECT>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td colspan="2"></td>
|
||||
|
||||
<td class="required"> <?= _("Périodicité Facturation Déficit") ?> </td>
|
||||
<td>
|
||||
<select class="form-select" id="codePeriodiciteFacturationDeficit" NAME="codePeriodiciteFacturationDeficit" style="font-size:12pt; height:30px;" required AUTOCOMPLETE="OFF">
|
||||
<?php liste_options($periodicitesfactDeficit,$gc['codePeriodiciteFacturationDeficit'],false); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td > <?= _("Source Fond Honoraires") ?> </td>
|
||||
<td>
|
||||
<select class="form-select" id="codeSourceFondGarantHonoraire" NAME="codeSourceFondGarantHonoraire" style="font-size:12pt; height:30px;" onchange="javascript:control_param_facturation_garant(); filtre_assiette_honoraire();">
|
||||
<?php liste_options($sourcehonoraire,$gc['codeSourceFondGarantHonoraire'],false); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
|
||||
<td colspan="2"></td>
|
||||
|
||||
<td ><?= _("Forfait Fond Honoraires (HT)") ?></td>
|
||||
<td>
|
||||
<?php if ($codeSourceFondGarantHonoraire=="FOR"): ?>
|
||||
<INPUT style='font-size:10pt;' class="form-control" TYPE="text" id="forfaitHonoraire"
|
||||
NAME="forfaitHonoraire" value="<?= format_N($this->nettoyer($gc['forfaitHonoraire'])) ?>"
|
||||
onfocus="formatNumerique(this);" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);" >
|
||||
<?php else : ?>
|
||||
<INPUT style='font-size:10pt;' class="form-control" id="forfaitHonoraire" NAME="forfaitHonoraire"
|
||||
value="0" onfocus="formatNumerique(this);" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);" disabled>
|
||||
<?php endif; ?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td > <?= _("Assiette Fond Honoraires") ?> </td>
|
||||
<td>
|
||||
<div id="div_assiette_honoraire">
|
||||
<select class="form-select" id="codeAssietteFacturationGarantHonoraire" NAME="codeAssietteFacturationGarantHonoraire" style="font-size:12pt; height:30px;">
|
||||
<?php liste_options($assiettehonoraire,$gc['codeAssietteFacturationGarantHonoraire'],false); ?>
|
||||
</SELECT>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td colspan="2"></td>
|
||||
|
||||
<td > <?= _("Périodicité Fond Honoraires") ?> </td>
|
||||
<td>
|
||||
<select class="form-select" id="codePeriodiciteHonoraire" NAME="codePeriodiciteHonoraire"
|
||||
style="font-size:12pt; height:30px;" disabled>
|
||||
<?php liste_options($periodicites,$gc['codePeriodiciteHonoraire'],false); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td > <?= _("Nombre Total Famille Estimé") ?> </td>
|
||||
<td> <INPUT style='font-size:10pt;' class="form-control" id="nbAdherent" NAME="nbAdherent" TYPE="text" value="<?= format_N($this->nettoyer($gc['nbAdherent'])) ?>"
|
||||
onfocus="formatNumerique(this);" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);"></td>
|
||||
|
||||
<td colspan="2"></td>
|
||||
|
||||
<td > <?= _("Nombre Total Bénéficiaire Estimé") ?> </td>
|
||||
<td> <INPUT style='font-size:10pt;' class="form-control" id="nbBeneficiaire" NAME="nbBeneficiaire" TYPE="text" value="<?= format_N($this->nettoyer($gc['nbBeneficiaire'])) ?>"
|
||||
onfocus="formatNumerique(this);" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td > <?= _("Source Fond Caution Permanente") ?> </td>
|
||||
<td>
|
||||
<select class="form-select" id="codeSourceFondGarantCaution" NAME="codeSourceFondGarantCaution" style="font-size:12pt; height:30px;" onchange="javascript:control_param_facturation_garant();">
|
||||
<?php liste_options($sourcecaution,$gc['codeSourceFondGarantCaution'],false); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
|
||||
<td colspan="2"></td>
|
||||
|
||||
<td > <?= _("Forfait Caution Permanente (HT)") ?> </td>
|
||||
<td >
|
||||
<INPUT style='font-size:10pt;' class="form-control majuscule" TYPE="text" id="forfaitCautionPermanant"
|
||||
NAME="forfaitCautionPermanant" value="<?= format_N($this->nettoyer($gc['forfaitCautionPermanant'])) ?>"
|
||||
onfocus="formatNumerique(this);" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);" >
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td > <?= _("Assiette Fond Caution Permanente") ?> </td>
|
||||
<td>
|
||||
<select class="form-select" id="codeAssietteFacturationGarantCaution" NAME="codeAssietteFacturationGarantCaution" style="font-size:12pt; height:30px;" >
|
||||
<?php liste_options($assiettecaution,$gc['codeAssietteFacturationGarantCaution'],false); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
|
||||
<td colspan="2"></td>
|
||||
|
||||
<td ><?= _("Montant Provision Garant (HT)") ?></td>
|
||||
<td >
|
||||
<?php if ($codeSourceFondGarantAppelFond=="BUD" || $codeSourceFondGarantHonoraire=="BUD"): ?>
|
||||
<INPUT style='font-size:10pt;' class="form-control" TYPE="text" name="montantBudget" id="montantBudget" class="form-control"
|
||||
value="<?= format_N($this->nettoyer($gc['montantBudget'])) ?>" onfocus="formatNumerique(this);" onkeyup="controle_numerique(this);"
|
||||
onblur="formatMonetaire(this);" >
|
||||
<?php else : ?>
|
||||
<INPUT style='font-size:10pt;' class="form-control" TYPE="text" name="montantBudget" id="montantBudget" class="form-control"
|
||||
value="0" onfocus="formatNumerique(this);" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);" disabled>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td > <?= _("Taux Tva (%)") ?> </td>
|
||||
<td> <INPUT style='font-size:10pt;' class="form-control" id="gcTauxTva" NAME="gcTauxTva" TYPE="number" step="1"value="<?= $this->nettoyer($gc['gcTauxTva']) ?>" min="0" max="100"></td>
|
||||
|
||||
<td colspan="2"></td>
|
||||
|
||||
<td > <?= _("Taux Commission Primes (%)") ?> </td>
|
||||
<td>
|
||||
<?php if ($codeSourceFondGarantHonoraire=="PRI"): ?>
|
||||
<INPUT style='font-size:10pt;' class="form-control" id="gcTauxCommissionGerant" NAME="gcTauxCommissionGerant" TYPE="number" value="<?= $this->nettoyer($gc['gcTauxCommissionGerant']) ?>" step="1" value="0" min="0" max="100">
|
||||
<?php else : ?>
|
||||
<INPUT style='font-size:10pt;' class="form-control" id="gcTauxCommissionGerant" NAME="gcTauxCommissionGerant" TYPE="number" value="0" disabled>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td > <?= _("Taux Commission Provision/Sinistres (%)") ?> </td>
|
||||
<td>
|
||||
<?php if ($codeSourceFondGarantHonoraire=="BUD" || $codeSourceFondGarantHonoraire=="SIN"): ?>
|
||||
<INPUT style='font-size:10pt;' class="form-control" id="gcTauxFraisReel" NAME="gcTauxFraisReel" TYPE="number" value="<?= $this->nettoyer($gc['gcTauxFraisReel']) ?>" step="1" value="0" min="0" max="100">
|
||||
<?php else : ?>
|
||||
<INPUT style='font-size:10pt;' class="form-control" id="gcTauxFraisReel" NAME="gcTauxFraisReel" TYPE="number" value="0" disabled>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
|
||||
<td colspan="2"></td>
|
||||
|
||||
<td > <?= _("Taux Redressement (%)") ?> </td>
|
||||
<td> <INPUT style='font-size:10pt;' class="form-control" id="gcTauxRedressement" NAME="gcTauxRedressement" TYPE="number" step="1" value="<?= $this->nettoyer($gc['gcTauxRedressement']) ?>" min="0" max="100"></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:maj_paramfacturegarant();" style='font-size:10pt;' > </td>
|
||||
<td colspan="2"></td>
|
||||
<td colspan="2"> <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:consulter_param_fact_garant();" style='font-size:9pt;' > </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="page-content animate__animated animate__fadeIn">
|
||||
<div class="header-section mb-4">
|
||||
<div class="d-flex align-items-center bg-white p-3 shadow-sm border-start border-warning border-4" style="border-radius: var(--radius-md);">
|
||||
<div class="icon-shape bg-warning-light text-warning rounded-circle me-3" style="width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;">
|
||||
<i class="fas fa-edit fs-4"></i>
|
||||
</div>
|
||||
<div>
|
||||
<h4 id="titre-page" class="mb-0 fw-bold text-uppercase"><?= _("Modification Paramètres Facturation") ?></h4>
|
||||
<p class="text-muted small mb-0"><?= _("Garant :") ?> <span class="fw-bold text-dark"><?= $this->nettoyer($gc['libelle']) ?></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" id="idGc" name="idGc" value="<?= $this->nettoyer($gc['id']) ?>">
|
||||
<input type="hidden" id="nomForm" name="nomForm" value="parametrefacturationgarant">
|
||||
|
||||
<form id="form_maj_facturation">
|
||||
<div class="row g-2">
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div class="card border-0 shadow-sm h-100">
|
||||
<div class="card-header bg-white py-3 border-bottom border-2 border-primary-light">
|
||||
<h6 class="mb-0 fw-bold text-primary text-uppercase small"><i class="fas fa-shield-alt me-2"></i><?= _("Fonds Sinistres & Caution") ?></h6>
|
||||
</div>
|
||||
<div class="card-body p-4">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Source Fonds Sinistres") ?></label>
|
||||
<select class="form-select shadow-none border-2" id="codeSourceFondGarantAppelFond" name="codeSourceFondGarantAppelFond" onchange="control_param_facturation_garant(); filtre_assiette_fond();">
|
||||
<?php liste_options($sourcefonds, $gc['codeSourceFondGarantAppelFond'], false); ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold required"><?= _("Périodicité Fonds Sinistres") ?></label>
|
||||
<select class="form-select shadow-none border-2" id="codePeriodiciteAppelFond" name="codePeriodiciteAppelFond" required onchange="change_periodicite_honoraire();">
|
||||
<?php liste_options($periodicitesappelfond, $gc['codePeriodiciteAppelFond'], false); ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Assiette Fonds Sinistres") ?></label>
|
||||
<div id="div_assiette_fonds">
|
||||
<select class="form-select shadow-none border-2" id="codeAssietteFacturationGarantAppelFond" name="codeAssietteFacturationGarantAppelFond">
|
||||
<?php liste_options($assiettefonds, $gc['codeAssietteFacturationGarantAppelFond'], false); ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold required"><?= _("Périodicité Facturation Déficit") ?></label>
|
||||
<select class="form-select shadow-none border-2" id="codePeriodiciteFacturationDeficit" name="codePeriodiciteFacturationDeficit" required>
|
||||
<?php liste_options($periodicitesfactDeficit, $gc['codePeriodiciteFacturationDeficit'], false); ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<hr class="my-3 opacity-10">
|
||||
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Fraction Caution (Nb mois/12)") ?></label>
|
||||
<input class="form-control border-2" type="text" id="nbMoisCaution" name="nbMoisCaution" value="<?= format_N($gc['nbMoisCaution']) ?>">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Seuil Complément (%)") ?></label>
|
||||
<input class="form-control border-2" type="text" id="seuilComplementCaution" name="seuilComplementCaution" value="<?= format_N($gc['seuilComplementCaution']) ?>">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Source Fonds Caution Perm.") ?></label>
|
||||
<select class="form-select shadow-none border-2" id="codeSourceFondGarantCaution" name="codeSourceFondGarantCaution" onchange="control_param_facturation_garant();">
|
||||
<?php liste_options($sourcecaution, $gc['codeSourceFondGarantCaution'], false); ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Forfait Caution Permanente (HT)") ?></label>
|
||||
<input class="form-control border-2" type="text" id="forfaitCautionPermanant" name="forfaitCautionPermanant" value="<?= format_N($gc['forfaitCautionPermanant']) ?>" onfocus="formatNumerique(this);" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div class="card border-0 shadow-sm h-100">
|
||||
<div class="card-header bg-white py-3 border-bottom border-2 border-primary-light">
|
||||
<h6 class="mb-0 fw-bold text-primary text-uppercase small"><i class="fas fa-hand-holding-usd me-2"></i><?= _("Honoraires & Commissions") ?></h6>
|
||||
</div>
|
||||
<div class="card-body p-4">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Source Fonds Honoraires") ?></label>
|
||||
<select class="form-select shadow-none border-2" id="codeSourceFondGarantHonoraire" name="codeSourceFondGarantHonoraire" onchange="control_param_facturation_garant(); filtre_assiette_honoraire();">
|
||||
<?php liste_options($sourcehonoraire, $gc['codeSourceFondGarantHonoraire'], false); ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Forfait Fonds Honoraires (HT)") ?></label>
|
||||
<input class="form-control border-2 fw-bold" type="text" id="forfaitHonoraire" name="forfaitHonoraire"
|
||||
value="<?= ($codeSourceFondGarantHonoraire == "FOR") ? format_N($gc['forfaitHonoraire']) : '0' ?>"
|
||||
<?= ($codeSourceFondGarantHonoraire != "FOR") ? 'disabled' : '' ?>
|
||||
onfocus="formatNumerique(this);" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Assiette Fonds Honoraires") ?></label>
|
||||
<div id="div_assiette_honoraire">
|
||||
<select class="form-select shadow-none border-2" id="codeAssietteFacturationGarantHonoraire" name="codeAssietteFacturationGarantHonoraire">
|
||||
<?php liste_options($assiettehonoraire, $gc['codeAssietteFacturationGarantHonoraire'], false); ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Périodicité Fonds Honoraires") ?></label>
|
||||
<select class="form-select shadow-none border-2 bg-light" id="codePeriodiciteHonoraire" name="codePeriodiciteHonoraire" disabled>
|
||||
<?php liste_options($periodicites, $gc['codePeriodiciteHonoraire'], false); ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<hr class="my-3 opacity-10">
|
||||
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Taux TVA (%)") ?></label>
|
||||
<input class="form-control border-2" type="number" id="gcTauxTva" name="gcTauxTva" value="<?= $this->nettoyer($gc['gcTauxTva']) ?>" min="0" max="100">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Taux Redressement (%)") ?></label>
|
||||
<input class="form-control border-2" type="number" id="gcTauxRedressement" name="gcTauxRedressement" value="<?= $this->nettoyer($gc['gcTauxRedressement']) ?>" min="0" max="100">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Comm. Primes (%)") ?></label>
|
||||
<input class="form-control border-2 fw-bold text-primary" type="number" id="gcTauxCommissionGerant" name="gcTauxCommissionGerant"
|
||||
value="<?= ($codeSourceFondGarantHonoraire == "PRI") ? $this->nettoyer($gc['gcTauxCommissionGerant']) : '0' ?>"
|
||||
<?= ($codeSourceFondGarantHonoraire != "PRI") ? 'disabled' : '' ?>>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Comm. Prov./Sinistres (%)") ?></label>
|
||||
<input class="form-control border-2 fw-bold text-primary" type="number" id="gcTauxFraisReel" name="gcTauxFraisReel"
|
||||
value="<?= ($codeSourceFondGarantHonoraire == "BUD" || $codeSourceFondGarantHonoraire == "SIN") ? $this->nettoyer($gc['gcTauxFraisReel']) : '0' ?>"
|
||||
<?= ($codeSourceFondGarantHonoraire != "BUD" && $codeSourceFondGarantHonoraire != "SIN") ? 'disabled' : '' ?>>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12">
|
||||
<div class="card border-0 shadow-sm bg-primary-ghost-light">
|
||||
<div class="card-body p-4">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Total Familles Estimé") ?></label>
|
||||
<input class="form-control border-2 fw-bold" type="text" id="nbAdherent" name="nbAdherent" value="<?= format_N($gc['nbAdherent']) ?>" onfocus="formatNumerique(this);" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);">
|
||||
</div>
|
||||
<div class="col-md-3 border-end">
|
||||
<label class="form-label small text-muted fw-bold"><?= _("Total Bénéficiaires Estimé") ?></label>
|
||||
<input class="form-control border-2 fw-bold" type="text" id="nbBeneficiaire" name="nbBeneficiaire" value="<?= format_N($gc['nbBeneficiaire']) ?>" onfocus="formatNumerique(this);" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label small text-muted fw-bold text-primary"><?= _("Montant Provision Garant (HT)") ?></label>
|
||||
<input class="form-control border-2 border-primary fw-bold text-primary fs-5" type="text" id="montantBudget" name="montantBudget"
|
||||
value="<?= format_N($gc['montantBudget']) ?>"
|
||||
<?= ($codeSourceFondGarantAppelFond != "BUD" && $codeSourceFondGarantHonoraire != "BUD") ? 'disabled' : '' ?>
|
||||
onfocus="formatNumerique(this);" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 mb-5">
|
||||
<div class="card border-0 shadow-sm bg-light">
|
||||
<div class="card-body d-flex justify-content-end gap-2 py-3">
|
||||
<button type="button" class="btn btn-light rounded-pill px-4 fw-bold text-muted border shadow-xs" onClick="consulter_param_fact_garant();">
|
||||
<i class="fas fa-times me-2"></i> <?= _("Annuler") ?>
|
||||
</button>
|
||||
<button type="button" id="btn_enreg" class="btn btn-primary rounded-pill px-5 fw-bold shadow-sm" onClick="maj_paramfacturegarant();">
|
||||
<i class="fas fa-save me-2"></i> <?= _("Enregistrer les modifications") ?>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.bg-warning-light { background-color: rgba(255, 193, 7, 0.1) !important; }
|
||||
.bg-primary-ghost-light { background-color: rgba(33, 46, 83, 0.02) !important; }
|
||||
.border-primary-light { border-color: rgba(33, 46, 83, 0.1) !important; }
|
||||
.form-control:disabled, .form-select:disabled { background-color: #f8f9fa !important; opacity: 0.7; cursor: not-allowed; }
|
||||
.form-control:focus, .form-select:focus { border-color: var(--bs-primary); box-shadow: 0 0 0 0.25rem rgba(33, 46, 83, 0.1); }
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user