浏览代码

Colonne Prestaton en input

stany.ferer 2 月之前
父节点
当前提交
03aecd305c
共有 1 个文件被更改,包括 20 次插入22 次删除
  1. 20 22
      core/views/pages/cms.proweb-dossiers.php

+ 20 - 22
core/views/pages/cms.proweb-dossiers.php

@@ -3,19 +3,19 @@ $dateData = get::jsonDateDataExcelProwebDossiers();
 $date = ($dateData != NULL) ? " (au " . core::convertDate($dateData, FALSE) . ")" : "";
 
 $jsonTarget = "/json.php?file=dossiers-proweb";
-if(debug::isFile("debug")){
-    debug::log(debug::getBadge($jsonTarget, "OUVRIR LE JSON : ".$jsonTarget), "JSON chargé en arrière plan");
-} 
+if (debug::isFile("debug")) {
+    debug::log(debug::getBadge($jsonTarget, "OUVRIR LE JSON : " . $jsonTarget), "JSON chargé en arrière plan");
+}
 ?>
 <header class="d-flex flex-column flex-md-row align-items-md-center p-3 bg-light ">
     <h2 class="bd-title" id="content">
         <span>Proweb : Liste des dossiers<?php echo $date ?></span>
     </h2>
-    <?php if(access::ifAccesss("proweb-dossiers-upload")){ ?>
-    <div class="fix-container-button-nav">
-        <a href="proweb-dossiers-upload.html"><button type="submit" class="btn btn-outline-success btn-sm"><?php icon::getFont(["icon" => "bi bi-file-earmark-plus"]) ?> Importer un fichier Excel</button></a>
-        <a href="<?= prowebDossiers::getLinkProweb() ?>" target="_blank"><button type="submit" class="btn btn-outline-secondary btn-sm"><?php icon::getFont(["icon" => "bi bi-link-45deg"]) ?> Exporter tous les dossiers depuis Proweb</button></a>
-    </div>
+    <?php if (access::ifAccesss("proweb-dossiers-upload")) { ?>
+        <div class="fix-container-button-nav">
+            <a href="proweb-dossiers-upload.html"><button type="submit" class="btn btn-outline-success btn-sm"><?php icon::getFont(["icon" => "bi bi-file-earmark-plus"]) ?> Importer un fichier Excel</button></a>
+            <a href="<?= prowebDossiers::getLinkProweb() ?>" target="_blank"><button type="submit" class="btn btn-outline-secondary btn-sm"><?php icon::getFont(["icon" => "bi bi-link-45deg"]) ?> Exporter tous les dossiers depuis Proweb</button></a>
+        </div>
     <?php } ?>
 </header>
 
@@ -31,27 +31,27 @@ echo core::filAriane(array(
 
 ?>
 <div>
-    <table 
-        id="ProWebSalary" 
-        class="table-striped table-hover table-sm" 
+    <table
+        id="ProWebSalary"
+        class="table-striped table-hover table-sm"
         data-sort-name="hismo_date_crea"
         data-sort-order="desc"
         data-page-size="50"
-        data-show-footer="true" 
-        data-toggle="table" 
-        data-buttons-align="left" 
-        data-pagination="true" 
-        data-filter-control="true" 
-        data-flat="true" 
+        data-show-footer="true"
+        data-toggle="table"
+        data-buttons-align="left"
+        data-pagination="true"
+        data-filter-control="true"
+        data-flat="true"
         data-show-export="true"
-        data-show-columns-toggle-all="true" 
-        data-page-list="[50, 100, 250, 500, 750, 1000]" 
+        data-show-columns-toggle-all="true"
+        data-page-list="[50, 100, 250, 500, 750, 1000]"
         data-url="<?php echo $jsonTarget ?>">
         <thead>
             <tr>
                 <th data-sortable="true" data-field="exe_ref" data-filter-control="select">Année</th>
                 <th data-sortable="true" data-field="hismo_date_crea" data-filter-control="select">Création</th>
-                <th data-sortable="true" data-field="prest_lib" data-filter-control="select">Prestation</th>
+                <th data-sortable="true" data-field="prest_lib" data-filter-control="input">Prestation</th>
                 <th data-sortable="true" data-field="prest_lib2" data-filter-control="select">Complément</th>
                 <th data-sortable="true" data-field="catprest_lib" data-filter-control="select">Catégorie</th>
                 <th data-sortable="true" data-field="comm_ref" data-filter-control="select">Commission</th>
@@ -135,6 +135,4 @@ echo core::filAriane(array(
                 break;
         }
     }
-
-
 </script>