| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <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">Id Prestation</th>
- <th data-sortable="true" data-field="id_dossier" data-filter-control="input" data-width="50" data-formatter="selectDossier">Id 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">Base RH</th>
- <th data-sortable="true" data-field="valide" data-filter-control="select">Eligible</th>
- <th data-sortable="true" data-field="login" data-filter-control="input">Login</th>
- <th data-sortable="true" data-field="prenom" data-filter-control="input">Prénom</th>
- <th data-sortable="true" data-field="nom" data-filter-control="input">Nom</th>
- <th data-sortable="true" data-field="admin" data-filter-control="select">Chargé par</th>
- <th data-sortable="true" data-field="cree">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>
|