This commit is contained in:
KONE SOREL 2026-03-29 11:14:14 +00:00
parent 07fafada1f
commit 1c3af0292b
2 changed files with 3 additions and 2 deletions

View File

@ -79,11 +79,12 @@
<script>
$(document).ready(function() {
const titreRapport = "<?= mb_strtoupper(_('DÉTAIL DES SINISTRES'), 'UTF-8'); ?>";
const titreRapport = "<?= mb_strtoupper(_('RAPPORT DÉTAIL DES SINISTRES'), 'UTF-8'); ?>";
const infosPolice =
"\n<?= _('Souscripteur') ?> : <?= $_SESSION['nomClient_C'] ?>\n" +
"<?= _('Numéro Police') ?> : <?= $_SESSION['numeroPolice_C'] ?>\n" +
"<?= _('Période couverte') ?> : <?= $_SESSION['dateEffet_C'] ?> <?= _('au') ?> <?= $_SESSION['dateEcheance_C'] ?>\n\n";
"<?= _('Période du') ?> : <?= $_SESSION['dateDebutRequete'] ?> <?= _('au') ?> <?= $_SESSION['dateFinRequete'] ?>\n";
appliquerDataTable('#table_sinistres_detail', {

View File

@ -97,7 +97,7 @@ $(document).ready(function() {
const infosEntete =
"\n<?= _('Souscripteur') ?> : <?= $_SESSION['nomClient_C'] ?>\n" +
"<?= _('Numéro Police') ?> : <?= $_SESSION['numeroPolice_C'] ?>\n" +
"<?= _('Période couverte') ?> : <?= $_SESSION['dateEffetPolice'] ?> <?= _('au') ?> <?= $_SESSION['dateFinRequete'] ?>\n";
"<?= _('Période couverte') ?> : <?= $_SESSION['dateEffet_C'] ?> <?= _('au') ?> <?= $_SESSION['dateEcheance_C'] ?>\n";
// 3. Appel de la fonction COMMUNE appliquerDataTable()
// On passe 'footer: true' dans les boutons pour que le <tfoot> soit exporté