| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <div style="float:right; margin-top: -60px;">
- <?php
- $lottery = lottery::getFiche(core::getGet("id"));
- if($lottery["sortDate"] == NULL){
- ?>
- <a href="/?p=lottery-upload-excel&id=<?php echo core::getGet("id") ?>"><button type="submit" class="btn btn-outline-success btn-sm"><span data-feather="download"></span> Importer les inscrits</button></a>
- <?php } ?>
- </div>
- <table
- id="table"
- class="table-striped table-hover table-sm"
- data-page-size="25"
- data-toggle="table"
- data-show-columns="true"
- data-search="true"
- data-buttons-align="left"
- data-pagination="true"
- data-filter-control="true"
- data-flat="true"
- data-url="/json.php?jsonData=lottery-inscrits&id=<?php echo core::getGet("id") ?>">
- <thead>
- <tr>
- <th data-sortable="true" data-field="id_presta" data-width="50" data-formatter="selectPrestation">Prestation</th>
- <th data-sortable="true" data-field="id_dossier" data-filter-control="input" data-width="50" data-formatter="selectDossier">Dossier</th>
- <th data-sortable="true" data-field="id_salarie" data-filter-control="input" data-width="50">Id Salarié</th>
- <th data-sortable="true" data-field="actif" data-filter-control="select" data-width="50">Base RH</th>
- <th data-sortable="true" data-field="valide" data-filter-control="select" data-width="50">Eligible</th>
- <th data-sortable="true" data-field="login" data-filter-control="input" data-width="150">Login</th>
- <th data-sortable="true" data-field="prenom" data-filter-control="input" data-width="150">Prénom</th>
- <th data-sortable="true" data-field="nom" data-filter-control="input" data-width="150">Nom</th>
- <th data-sortable="true" data-field="lieu" data-filter-control="input" data-width="175">Rattachement</th>
- <th data-sortable="true" data-field="admin" data-filter-control="select">Chargé par</th>
- <th data-sortable="true" data-field="cree" data-width="175">Le</th>
- </tr>
- </thead>
- </table>
- <script>
- function selectDossier(value) {
- return '<a href="https://www.cse-invent.com/gestion/prestations/dossiers/' + value + '/edit?pagesize=20&page=1" target="_blank"><button type="submit" class="btn btn-outline-primary btn-sm">' + value + '</button></a>';
- }
- function selectPrestation(value, row) {
- return '<a href="https://www.cse-invent.com/gestion/prestations/' + value + '/edit?search=avance&page=1&pagesize=20" target="_blank"><button type="submit" class="btn btn-outline-primary btn-sm">' + value + '</button></a>';
- }
- </script>
|