der
This commit is contained in:
parent
d5deb244f5
commit
40618f33a7
|
|
@ -52832,31 +52832,28 @@ function filtreproduit(){
|
|||
|
||||
if(codeGcAssureur !=""){
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxfiltreproduit/",
|
||||
type : 'post',
|
||||
data: donnees,
|
||||
error: function(errorData){
|
||||
//alert("Erreur : "+errorData);
|
||||
},
|
||||
success: function(data) {
|
||||
//alert("Success : "+data);
|
||||
$('#div_produit').html(data);
|
||||
$("#codeProduit").selectpicker();
|
||||
|
||||
},
|
||||
complete: function() {
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
url: $("#racineWeb").val()+"Ajaxfiltreproduit/",
|
||||
type : 'post',
|
||||
data: donnees,
|
||||
error: function(errorData){
|
||||
//alert("Erreur : "+errorData);
|
||||
},
|
||||
success: function(data) {
|
||||
//alert("Success : "+data);
|
||||
$('#div_produit').html(data);
|
||||
$("#codeProduit").selectpicker();
|
||||
|
||||
},
|
||||
complete: function() {
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function filtretabproduit(){
|
||||
|
||||
|
||||
|
||||
var codeGcAssureur = $('#codeGcAssureur').val();
|
||||
|
||||
donnees = 'codeGcAssureur='+codeGcAssureur;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
<?php
|
||||
$titre = _("Collèges Types");
|
||||
?>
|
||||
|
||||
<div class="page-content animate__animated animate__fadeIn">
|
||||
<div class="header-section mb-4">
|
||||
<div class="d-flex align-items-center justify-content-between bg-white p-3 shadow-sm border-start border-primary border-4" style="border-radius: var(--radius-md);">
|
||||
|
|
@ -6,7 +10,7 @@
|
|||
<i class="fas fa-users-cog fs-4"></i>
|
||||
</div>
|
||||
<div>
|
||||
<h4 id="titre-page" class="mb-0 fw-bold text-uppercase"><?= _("Collèges Types") ?></h4>
|
||||
<h4 id="titre-page" class="mb-0 fw-bold text-uppercase"><?= $titre ?></h4>
|
||||
<p class="text-muted small mb-0"><?= _("Gestion des catégories de collèges pour les contrats") ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -21,7 +25,7 @@
|
|||
<tr>
|
||||
<th class="py-3 ps-3 text-center" width="15%">Code</th>
|
||||
<th class="py-3"><?= _("Libellé") ?></th>
|
||||
<th class="py-3 text-center" width="15%"><?= _("Actions") ?></th>
|
||||
<th class="py-3 text-center no-export" width="15%"><?= _("Actions") ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
@ -70,8 +74,9 @@
|
|||
<script>
|
||||
// Initialisation automatique de la SmartTable
|
||||
var checkDTColleges = setInterval(function() {
|
||||
|
||||
if (typeof initSmartTable === 'function') {
|
||||
initSmartTable('.datatable-colleges', 'Liste_Colleges_Types', false);
|
||||
initSmartTable('.datatable-colleges', '<?= $titre?>', false);
|
||||
clearInterval(checkDTColleges);
|
||||
}
|
||||
}, 100);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user