This commit is contained in:
KONE SOREL 2026-04-10 10:54:17 +00:00
parent 04b23905fc
commit 27301df7f4
2 changed files with 2 additions and 9 deletions

View File

@ -4,7 +4,7 @@
$superUser = $_SESSION['superUser'];
?>
<div class="d-flex justify-content-end mb-2 animate__animated animate__fadeIn">
<div class="d-flex justify-content-start mb-2 animate__animated animate__fadeIn">
<div class="badge bg-light text-primary border px-3 py-2 shadow-sm" style="border-radius: var(--radius-md);">
<i class="fas fa-list-ul me-2"></i><?= _("Total") ?> : <span class="fw-bold"><?= $nbreAffiche ?></span> <?= _("lignes") ?>
</div>
@ -72,7 +72,7 @@
<script>
// Comme cette vue est chargée en AJAX, on réinitialise DataTables ici
$(document).ready(function() {
const titreExport = "<?= _('Tableau_des_tranches_accessoires') ?>";
const titreExport = "<?= _('Tableau des tranches accessoires') ?>";
initSmartTable('#tableLister', titreExport, [1, 'asc']);
});
</script>

View File

@ -32,10 +32,3 @@
.datatable-inter.compact tbody td { padding: 12px 8px !important; }
.datatable-inter.compact thead th { font-size: 0.75rem; letter-spacing: 0.5px; }
</style>
<script>
$(document).ready(function() {
// Initialisation de la SmartTable avec export PDF Landscape 100%
initSmartTable('.datatable-inter', '<?= _("Grille_des_accessoires") ?>', [0, 'asc']);
});
</script>