64 lines
2.6 KiB
PHP
64 lines
2.6 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>Fournisseur</span>
|
|
</div>
|
|
<div class="crumb svg crumbhome">
|
|
<button style="margin-left:3px;" type="button" id="createDefaultProvider">Ajouter un fournisseur</button>
|
|
</div>
|
|
</div>
|
|
<div class="d-flex justify-content-end">
|
|
<button id="showExportProviderStatModal" class="btn btn-secondary" data-toggle="modal" data-target="#exportProviderStatModal">
|
|
Export stat
|
|
</button>
|
|
</div>
|
|
<table id="tableProviderList" class="display tabledt">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th><?php p($l->t('ID'));?></th>
|
|
<th><?php p($l->t('Nom'));?></th>
|
|
<th><?php p($l->t('Prénom'));?></th>
|
|
<th><?php p($l->t('Entreprise'));?></th>
|
|
<th><?php p($l->t('Siret'));?></th>
|
|
<th><?php p($l->t('Téléphone'));?></th>
|
|
<th><?php p($l->t('Email'));?></th>
|
|
<th><?php p($l->t('Adresse'));?></th>
|
|
<th><?php p($l->t('Ville'));?></th>
|
|
<th><?php p($l->t('Actions'));?></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
</tbody>
|
|
</table>
|
|
<div class="modal" id="exportProviderStatModal" tabindex="-1">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title">Choisir 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="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="closeProviderStatModal" type="button" class="btn btn-secondary">Annuler</button>
|
|
<button id="exportProviderStat" type="button" class="btn btn-primary">Exporter</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|