df
This commit is contained in:
parent
cc50f49b09
commit
c8b4a63b44
|
|
@ -67,26 +67,142 @@
|
|||
</div>
|
||||
|
||||
<div id="Production" class="tab-custom-content" style="display:none;">
|
||||
<div class="card border-0 shadow-sm overflow-hidden">
|
||||
<div class="card-header bg-primary py-3">
|
||||
<h6 class="mb-0 text-white fw-bold"><i class="fas fa-calculator me-2"></i><?= _("RÈGLES COMPTABLES") ?></h6>
|
||||
</div>
|
||||
<div class="card-body p-0 text-dark">
|
||||
<table class="table table-hover align-middle mb-0 datatable-custom">
|
||||
<tbody>
|
||||
<tr class="searchable-row">
|
||||
<td width="8%" class="text-center fw-bold text-success">01</td>
|
||||
<td class="text-dark fw-bold"><?= _("La valeur de l'écart toléré lorsqu'un encaissement de prime ou de facture garant est fait") ?></td>
|
||||
<td width="20%" class="text-center border-start bg-light fw-bold text-dark fs-5">
|
||||
<?= format_N($this->nettoyer($societeuser['EcartEncaissementTolerable'])) ?>
|
||||
<small class="text-muted fw-normal"><?= $_SESSION['devise_C'] ?></small>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card border-0 shadow-sm mb-4">
|
||||
<div class="card-header bg-primary py-3 d-flex align-items-center justify-content-between">
|
||||
<h6 class="mb-0 text-white fw-bold text-uppercase">
|
||||
<i class="fas fa-industry me-2"></i><?= _("Règles de Production") ?>
|
||||
</h6>
|
||||
<span class="badge bg-white text-primary rounded-pill"><?= _("13 Paramètres") ?></span>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<thead class="bg-light">
|
||||
<tr>
|
||||
<th width="8%" class="text-center border-0">#</th>
|
||||
<th class="border-0"><?= _("Désignation du Paramètre") ?></th>
|
||||
<th width="25%" class="text-center border-0"><?= _("Valeur de Configuration") ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="searchable-row">
|
||||
<td class="text-center"><span class="badge bg-primary-ghost text-primary fw-bold">01</span></td>
|
||||
<td class="text-dark fw-bold"><?= _("Taux des honoraires ou commissions du gestionnaire sur chaque prime") ?></td>
|
||||
<td class="text-center border-start bg-light-info">
|
||||
<span class="fw-bold text-primary fs-5"><?= $this->nettoyer($societeuser['tauxHonoraires']) ?> %</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="searchable-row">
|
||||
<td class="text-center"><span class="badge bg-primary-ghost text-primary fw-bold">02</span></td>
|
||||
<td class="text-dark fw-bold"><?= _("Rapport Sinistres/Primes plafond (spMax) pour le calcul du taux d'ajustement") ?></td>
|
||||
<td class="text-center border-start bg-light-info">
|
||||
<span class="fw-bold text-danger fs-5"><?= $this->nettoyer($societeuser['spMax']) ?> %</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
$cartes = [
|
||||
['03', _("Coût d'une nouvelle carte (assuré entrant)"), 'fraisCarteAN'],
|
||||
['04', _("Coût d'une carte pour un renouvellement"), 'fraisCarteREN'],
|
||||
['05', _("Coût pour ré-imprimer une carte existante"), 'fraisCarteImp']
|
||||
];
|
||||
foreach($cartes as $c): ?>
|
||||
<tr class="searchable-row">
|
||||
<td class="text-center"><span class="badge bg-primary-ghost text-primary fw-bold"><?= $c[0] ?></span></td>
|
||||
<td class="text-dark fw-bold"><?= $c[1] ?></td>
|
||||
<td class="text-center border-start bg-light-info">
|
||||
<span class="text-dark fw-bold"><?= format_N($this->nettoyer($societeuser[$c[2]])) ?></span>
|
||||
<small class="text-muted"><?= $_SESSION['devise_C'] ?></small>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<tr class="searchable-row">
|
||||
<td class="text-center"><span class="badge bg-primary-ghost text-primary fw-bold">06</span></td>
|
||||
<td class="text-dark fw-bold"><?= _("S/P au-delà duquel une famille est marquée en surconsommation") ?></td>
|
||||
<td class="text-center border-start bg-light-info">
|
||||
<span class="fw-bold text-warning fs-5"><?= $this->nettoyer($societeuser['spAlertAdherent']) ?> %</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="searchable-row">
|
||||
<td class="text-center"><span class="badge bg-primary-ghost text-primary fw-bold">07</span></td>
|
||||
<td class="text-dark fw-bold"><?= _("Taux à appliquer à la prime non acquise pour la ristourne") ?></td>
|
||||
<td class="text-center border-start bg-light-info">
|
||||
<span class="fw-bold text-dark"><?= $this->nettoyer($societeuser['tauxRistourne']) ?> %</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="searchable-row">
|
||||
<td class="text-center"><span class="badge bg-primary-ghost text-primary fw-bold">08</span></td>
|
||||
<td class="text-dark fw-bold"><?= _("Seuil S/P au-delà duquel la ristourne est annulée") ?></td>
|
||||
<td class="text-center border-start bg-light-info">
|
||||
<span class="fw-bold text-danger"><?= $this->nettoyer($societeuser['seuilRistourne']) ?> %</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
$bools = [
|
||||
['09', _("Archivage automatique des primes à l'incorporation"), 'archivageAutomatiquePrime'],
|
||||
['10', _("Envoi du numéro d'assuré par notification (SMS/Mail)"), 'notificationSmsNumeroAssure'],
|
||||
['11', _("Notification groupée des numéros pour l'assuré principal"), 'notificationGroupeNumeroAssure'],
|
||||
['12', _("Facturation d'un garant par produit"), 'parametresFacturationGarantProduit'],
|
||||
['13', _("Autoriser les assurés à ajouter des photos sur le portail"), 'assureAjoutPhoto']
|
||||
];
|
||||
foreach($bools as $b):
|
||||
$val = ($societeuser[$b[2]] == "1"); ?>
|
||||
<tr class="searchable-row">
|
||||
<td class="text-center"><span class="badge bg-primary-ghost text-primary fw-bold"><?= $b[0] ?></span></td>
|
||||
<td class="text-dark fw-bold"><?= $b[1] ?></td>
|
||||
<td class="text-center border-start bg-light-info">
|
||||
<span class="badge rounded-pill px-3 py-2 <?= $val ? 'bg-success-ghost text-success' : 'bg-danger-ghost text-danger' ?>">
|
||||
<i class="fas <?= $val ? 'fa-check-circle' : 'fa-times-circle' ?> me-1"></i>
|
||||
<?= $val ? _("OUI") : _("NON") ?>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card border-0 shadow-sm mb-4">
|
||||
<div class="card-header bg-success py-3">
|
||||
<h6 class="mb-0 text-white fw-bold text-uppercase">
|
||||
<i class="fas fa-calculator me-2"></i><?= _("Règles Comptables") ?>
|
||||
</h6>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<tbody>
|
||||
<tr class="searchable-row">
|
||||
<td width="8%" class="text-center"><span class="badge bg-success-ghost text-success fw-bold">01</span></td>
|
||||
<td class="text-dark fw-bold"><?= _("Valeur de l'écart toléré lors d'un encaissement prime ou garant") ?></td>
|
||||
<td width="25%" class="text-center border-start bg-light-success">
|
||||
<span class="fw-bold text-dark fs-5"><?= format_N($this->nettoyer($societeuser['EcartEncaissementTolerable'])) ?></span>
|
||||
<small class="text-muted"><?= $_SESSION['devise_C'] ?></small>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="searchable-row">
|
||||
<td class="text-center"><span class="badge bg-success-ghost text-success fw-bold">02</span></td>
|
||||
<td class="text-dark fw-bold"><?= _("Lettrage automatique des encaissements garants") ?></td>
|
||||
<td class="text-center border-start bg-light-success">
|
||||
<?php $lettrage = ($societeuser['lettrageAutoGarant'] == "1"); ?>
|
||||
<span class="badge rounded-pill px-3 py-2 <?= $lettrage ? 'bg-success-ghost text-success' : 'bg-danger-ghost text-danger' ?>">
|
||||
<?= $lettrage ? _("OUI") : _("NON") ?>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="Medical" class="tab-custom-content" style="display:none;">
|
||||
<div class="card border-0 shadow-sm overflow-hidden">
|
||||
|
|
@ -170,4 +286,19 @@
|
|||
/* Animation fluide */
|
||||
.tab-custom-content { animation: fadeIn 0.4s ease-in-out; }
|
||||
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
|
||||
</style>
|
||||
|
||||
/* Spécificités pour cette section Production */
|
||||
#Production .bg-light-info { background-color: rgba(33, 46, 83, 0.02); }
|
||||
#Production .bg-light-success { background-color: rgba(39, 174, 96, 0.02); }
|
||||
|
||||
#Production .table td {
|
||||
padding: 1rem 0.75rem;
|
||||
border-bottom: 1px solid #f1f4f6;
|
||||
}
|
||||
|
||||
#Production .searchable-row:hover {
|
||||
background-color: #f8fafc !important;
|
||||
}
|
||||
|
||||
#Production .fs-5 { font-size: 1.1rem !important; }
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user