This commit is contained in:
KONE SOREL 2026-04-09 19:43:23 +00:00
parent 26f6e36f21
commit fdf67415c5
3 changed files with 20 additions and 5 deletions

View File

@ -52869,8 +52869,6 @@ function filtretabproduit(){
success: function(data) {
//alert("Success : "+data);
$('#div_tab_produit').html(data);
appliquerDataTable();
},
complete: function() {

View File

@ -11,7 +11,7 @@
<div class="card border-0 shadow-sm overflow-hidden">
<div class="table-responsive">
<table class="table table-hover align-middle mb-0" style="font-size: 9.5pt;">
<table class="table table-hover align-middle mb-0 datatable-bareme" style="font-size: 9.5pt;">
<thead class="bg-light border-bottom">
<tr>
<th class="text-center ps-3 py-3" width="80px">ID</th>
@ -55,4 +55,17 @@
</tbody>
</table>
</div>
</div>
</div>
<?php
$titre = _("Barème Modèle par Produit");
?>
<script>
var checkDTProd = setInterval(function() {
if (typeof initSmartTable === 'function') {
initSmartTable('.datatable-bareme', '<?= $titre; ?>', false);
clearInterval(checkDTProd);
}
}, 100);
</script>

View File

@ -103,10 +103,14 @@
.action-icon:hover { transform: scale(1.2); }
</style>
<?php
$titre = _("Liste Produits Garant");
?>
<script>
var checkDTProd = setInterval(function() {
if (typeof initSmartTable === 'function') {
initSmartTable('.datatable-produits', 'Liste_Produits_Garant', false);
initSmartTable('.datatable-produits', '<?= $titre; ?>', false);
clearInterval(checkDTProd);
}
}, 100);