76 lines
3.1 KiB
PHP
76 lines
3.1 KiB
PHP
<div id="contentTable">
|
|
<div class="breadcrumb" data-html2canvas-ignore>
|
|
<div class="crumb svg crumbhome">
|
|
<a href="<?php echo($_['url']['index']); ?>" class="icon-home"></a>
|
|
<span style="display: none;"></span>
|
|
</div>
|
|
<div class="crumb svg crumbhome">
|
|
<span>Thanatopracteurs</span>
|
|
</div>
|
|
<div class="crumb svg crumbhome">
|
|
<button style="margin-left:3px;" type="button" id="newThanato">
|
|
Ajouter un thanatopracteur
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div class="d-flex justify-content-end">
|
|
<button id="showExportThanatoModal" class="btn btn-secondary" data-toggle="modal" data-target="#exportThanatoModal">
|
|
Export stat
|
|
</button>
|
|
</div>
|
|
<hr>
|
|
<table id="client" class="display tabledt" style="font-size:11px;">
|
|
<thead>
|
|
<tr>
|
|
<th><?php p($l->t('A exporter'));?></th>
|
|
<th><?php p($l->t('First name'));?></th>
|
|
<th><?php p($l->t('Last name'));?></th>
|
|
<th>Référence</th>
|
|
<th>Date d'habilitation</th>
|
|
<th><?php p($l->t('Actions'));?></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
</table>
|
|
<div class="modal" id="exportThanatoModal" tabindex="-1">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title">Choisir le mois et l'année pour l'export</h5>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="d-flex align-items-center gap-2">
|
|
<select class="form-select w-auto" name="month" id="monthSelect">
|
|
<option value="1">Janvier</option>
|
|
<option value="2">Février</option>
|
|
<option value="3">Mars</option>
|
|
<option value="4">Avril</option>
|
|
<option value="5">Mai</option>
|
|
<option value="6">Juin</option>
|
|
<option value="7">Juillet</option>
|
|
<option value="8">Août</option>
|
|
<option value="9">Septembre</option>
|
|
<option value="10">Octobre</option>
|
|
<option value="11">Novembre</option>
|
|
<option value="12">Décembre</option>
|
|
</select>
|
|
<select class="form-select w-auto" name="year" id="yearSelect">
|
|
<?php
|
|
$currentYear = date('Y');
|
|
for ($year = $currentYear; $year >= $currentYear - 10; $year--) {
|
|
echo '<option value="' . $year . '"';
|
|
echo '>' . $year . '</option>';
|
|
}
|
|
?>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button id="closeExportThanatoModal" type="button" class="btn btn-secondary">Annuler</button>
|
|
<button id="exportThanatosStat" type="button" class="btn btn-primary">Exporter</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|