test gabarit new

This commit is contained in:
KONE SOREL 2026-01-30 16:05:57 +00:00
parent 64160fb96d
commit 392ed13cf1
2225 changed files with 4236 additions and 2273 deletions

View File

@ -0,0 +1,29 @@
:root {
--is-primary: #08C5D1;
--is-sidebar: #2c3e50;
--is-light-bg: #f8f9fa;
}
body { font-family: 'Inter', sans-serif; font-size: 0.88rem; color: #334155; }
/* Sidebar moderne */
.sidebar { width: 260px; background: var(--is-sidebar); transition: all 0.3s; z-index: 1000; border-right: 1px solid rgba(255,255,255,0.1); }
.sidebar .nav-link { color: rgba(255,255,255,0.7); font-weight: 500; border-radius: 8px; margin-bottom: 5px; }
.sidebar .nav-link:hover, .sidebar .nav-link.active-main { background: rgba(255,255,255,0.1); color: #fff; }
.sidebar .nav-link i { font-size: 1.1rem; margin-right: 12px; }
/* Header épuré */
.header { height: 60px; background: #fff; box-shadow: 0 1px 10px rgba(0,0,0,0.05); }
/* Utilitaires de cartes */
.card { border: none; border-radius: 12px; box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.04); }
/* Transition douce pour AJAX */
.transition { transition: all 0.3s ease; }
@media (min-width: 1200px) {
body.toggle-sidebar .sidebar { left: -260px; }
body.toggle-sidebar .main, body.toggle-sidebar #header { margin-left: 0; }
}
.cursor-pointer { cursor: pointer; }
.shadow-xs { box-shadow: 0 2px 4px rgba(0,0,0,0.02); }

View File

@ -418,6 +418,7 @@ require_once 'Modele/Societeusercentral.php';
$this->requete->getSession()->setAttribut("timezone_identifier", $utilisateur['timezone_identifier']);
date_default_timezone_set($_SESSION['timezone_identifier']);
//
// On va déclarer les variable de session context
$this->requete->getSession()->setAttribut("idClient_C", "");

View File

@ -3,7 +3,7 @@ require_once 'Framework/Controleur.php';
require_once 'Modele/Emission.php';
require_once 'Modele/Quittance.php';
require_once 'Modele/Menuvueutilisateur.php';
//
class ControleurEmission extends Controleur {
private $menuvue;

View File

@ -58,6 +58,7 @@ class ControleurFicheadherent extends Controleur {
$tarifActe = $this->tarif->getTarifActeByType($codeTypeTarifActe);
//
$prestationsParMois = $this->adherent->getPrestationsmensuelles($idAdherent);
$prestationsParliens = $this->adherent->getPrestationsLiensParente($idAdherent);

View File

@ -182,7 +182,7 @@ class ControleurFichebeneficiaire extends Controleur
{
$message = 'Veuillez sélectionner un fichier SVP !';
}
} //
}
$beneficiaire = $this->beneficiaire->getBeneficiaireId($id);
@ -195,7 +195,7 @@ class ControleurFichebeneficiaire extends Controleur
$codeTypeTarifActe = "TBEN";
$tarifActe = $this->tarif->getTarifActeByType($codeTypeTarifActe);
//
$prestationsParMois = $this->beneficiaire->getPrestationsmensuelles($idBeneficiaire);
$tabConsoParMois = [

View File

@ -27,7 +27,7 @@ class ControleurFicheusergc extends Controleur {
$user_actVisible = $this->oui_non->getListe();
$langue = $this->langue->getListe();
$user_AffectionVisible = $this->oui_non->getListe();
//
$user_gc = $this->gc->getunusergc($idUtilisateur);
$chemin = $this->menuvue->getChemin('Ficheusergc');

File diff suppressed because it is too large Load Diff

View File

@ -40730,7 +40730,7 @@ function enregistrer_new_repos_medical()
});
}
//
function charger_detail_stat_police_anomalies()
{
$('#div_export_b').html("");
@ -48852,81 +48852,74 @@ function appliquerDataTable(){
}
function dataTableSpeciale(){
const oTable = $('.tabspeciale');
var codeLangue = $("#codeLangue").val();
// Détruire l'instance existante si elle existe
if ($.fn.DataTable.isDataTable(oTable)) {
table.DataTable().destroy();
table.empty(); // Optionnel : vider le contenu si nécessaire
function dataTableSpeciale() {
const $table = $('.tabspeciale');
const codeLangue = $("#codeLangue").val() || "fr_FR";
// Détruire l'instance existante si elle existe
if ($.fn.DataTable.isDataTable($table)) {
$table.DataTable().clear().destroy();
$table.empty(); // Optionnel : vider le contenu si nécessaire
}
// Définition des traductions
const langOptions = {
en_US: {
lengthMenu: "Display _MENU_ records per page",
zeroRecords: "Nothing found - sorry",
info: "Showing page _PAGE_ of _PAGES_",
infoEmpty: "No records available",
search: "Search:",
paginate: {
next: "►",
previous: "◄",
first: "|◄",
last: "►|"
},
infoFiltered: "(filtered from _MAX_ total records)"
},
fr_FR: {
lengthMenu: "Affiche _MENU_ par page",
zeroRecords: "Désolé - Aucune donnée trouvée",
info: "_PAGE_ sur _PAGES_ pages",
infoEmpty: "Pas d'enregistrement",
search: "Recherche:",
paginate: {
next: "►",
previous: "◄",
first: "|◄",
last: "►|"
},
infoFiltered: "(filtré de _MAX_ total enregistrements)"
}
};
// Définition des lengthMenu selon la langue
const lengthMenuOptions = (codeLangue === "en_US") ? [50, 100, 150] : [20, 50, 100];
try {
$table.DataTable({
destroy: true,
responsive: true,
lengthMenu: lengthMenuOptions,
scrollX: true,
scrollY: "75vh",
pagingType: "full_numbers",
autoWidth: false,
searching: false, // équivalent moderne de bFilter:false
ordering: false,
lengthChange: false, // équivalent moderne de bLengthChange:false
orderMulti: true,
language: langOptions[codeLangue] || langOptions.fr_FR
});
// Ajuster les colonnes après init
$table.DataTable().columns.adjust().draw();
} catch (err) {
console.error("Erreur DataTable:", err);
return false;
}
try{
if(codeLangue=="en_US")
{
oTable.DataTable({
destroy: true,
responsive: true,
"lengthMenu": [ 50, 100, 150],
"scrollX": true,
"scrollY": "75vh",
"pagingType": "full_numbers",
"autoWidth": false,
"bFilter": false,
"ordering": false,
"bLengthChange": false,
"orderMulti": true,
"language": {
"lengthMenu":"Display _MENU_ records per page",
"zeroRecords": "Nothing found - sorry",
"info": "Showing page _PAGE_ of _PAGES_",
"infoEmpty": "No records available",
"search": "Search:",
"paginate": {
"next": "►",
"previous": "◄",
"first": "|◄",
"last": "►|"
},
"infoFiltered": "(filtered from _MAX_ total records)"
}
});
}else{
oTable.DataTable({
destroy: true,
responsive: true,
"lengthMenu": [ 50, 100, 150],
"scrollX": true,
"scrollY": "75vh",
"pagingType": "full_numbers",
"autoWidth": false,
"bFilter": false,
"ordering": false,
"bLengthChange": false,
"orderMulti": true,
"language": {
"lengthMenu":"Affiche _MENU_ par page",
"zeroRecords": "Désolé - Aucune donnée trouvée",
"info": "_PAGE_ sur _PAGES_ pages",
"infoEmpty": "Pas d'enregistrement",
"search": "Recherche:",
"paginate": {
"next": "►",
"previous": "◄",
"first": "|◄",
"last": "►|"
},
"infoFiltered": "(filtré de _MAX_ total enregistrements)"
}
});
}
//$('.tabspeciale').columns.adjust().draw();
}
catch(err){
return false;
}
}
function dataTableSpecialeMini(){
@ -91895,4 +91888,24 @@ function afficher_ordonnance_beneficiaire()
$("#div_medicament").html(donnees_retour);
}
});
}
// Fonction globale pour tes notifications AJAX (Wahoo Effect)
function notification(type, message) {
const Toast = Swal.mixin({
toast: true,
position: 'top-end',
showConfirmButton: false,
timer: 3000,
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener('mouseenter', Swal.stopTimer)
toast.addEventListener('mouseleave', Swal.resumeTimer)
}
});
Toast.fire({
icon: type, // 'success', 'error', 'warning', 'info'
title: message
});
}

View File

@ -1204,6 +1204,7 @@ class Adherent extends Modele {
return $resultat->fetchAll(PDO::FETCH_ASSOC);
}
//
public function getPrestationsLiensParente($idAdherent){

View File

@ -41,6 +41,7 @@ class Emission extends Modele {
$this->executerRequete($sql, array($numeroEmission, $_SESSION['codeSociete']));
}
//
public function getEmissionId($idEmission)
{
$sql = 'CALL sp_get_emission_id(?);';

View File

@ -1010,6 +1010,7 @@ class Facture extends Modele {
return $resultat->fetchAll(PDO::FETCH_ASSOC);
}
//
public function getbordereauxrbcl($idPolice, $d1, $d2)
{
$sql = 'call sp_r_get_bordereaux_rbcl(?, ?, ?)';

View File

@ -1151,7 +1151,7 @@ class Gestionconfiee extends Modele {
{
$codeSociete = $_SESSION['codeSociete'];
$user = $_SESSION['login'];
$passAutoGen = "";
switch ($codeModeGenerationPass)

View File

@ -1942,6 +1942,7 @@ class Police extends Modele {
$sql = 'call sp_init_ajustement_prime(?, ?, ?, ?, ?, ?);';
$this->executerRequete($sql, array($codeSociete, $idPolice, $dateAvenant, $user, $motifAvenant, $idSaisie));
}
//
public function fn_primes_non_facturees_police($idPolice)
{
@ -1950,7 +1951,7 @@ class Police extends Modele {
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
return $ligne['nb_non_facturees'];
}
//
public function getNomGarant($codeGcAssureur)
{
$sql = 'SELECT fn_garant(?) as libelle;';

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Some files were not shown because too many files have changed in this diff Show More