2024-12-16 17:24:37 +03:00

148 lines
6.4 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><?php p($l->t('Statistics'));?></span></a>
</div>
</div>
<h2><?php p($l->t('Monthly turnover without VAT'));?></h2>
<table id="Statistical">
<thead>
<tr>
<th><?php p($l->t('Year'));?></th>
<th><?php p($l->t('January'));?></th>
<th><?php p($l->t('February'));?></th>
<th><?php p($l->t('March'));?></th>
<th><?php p($l->t('April'));?></th>
<th><?php p($l->t('May'));?></th>
<th><?php p($l->t('June'));?></th>
<th><?php p($l->t('July'));?></th>
<th><?php p($l->t('August'));?></th>
<th><?php p($l->t('September'));?></th>
<th><?php p($l->t('October'));?></th>
<th><?php p($l->t('November'));?></th>
<th><?php p($l->t('December'));?></th>
<th><?php p($l->t('Total'));?></th>
</tr>
</thead>
<tbody>
</tbody>
</table> <br><br>
<div class="d-flex justify-content-between">
<h2>Statistiques mensuelles des articles</h2>
<select name="annee" id="yearselector_statmensuellesproduits">
<?php
$currentYear = date('Y');
for ($year = $currentYear; $year >= $currentYear - 10; $year--) {
echo '<option value="' . $year . '">' . $year . '</option>';
}
?>
</select>
</div>
<hr>
<table id="Articles">
<thead>
<tr>
<th>Articles</th>
<th><?php p($l->t('January'));?></th>
<th><?php p($l->t('February'));?></th>
<th><?php p($l->t('March'));?></th>
<th><?php p($l->t('April'));?></th>
<th><?php p($l->t('May'));?></th>
<th><?php p($l->t('June'));?></th>
<th><?php p($l->t('July'));?></th>
<th><?php p($l->t('August'));?></th>
<th><?php p($l->t('September'));?></th>
<th><?php p($l->t('October'));?></th>
<th><?php p($l->t('November'));?></th>
<th><?php p($l->t('December'));?></th>
<th><?php p($l->t('Total'));?></th>
</tr>
</thead>
<tbody>
</tbody>
</table><br><br>
<div class="d-flex justify-content-between">
<h2>Statistiques mensuelles des soins par thanatopracteurs</h2>
<select name="annee" id="yearselector_statmensuellesthanatopracteurs">
<?php
$currentYear = date('Y');
for ($year = $currentYear; $year >= $currentYear - 10; $year--) {
echo '<option value="' . $year . '">' . $year . '</option>';
}
?>
</select>
</div>
<hr>
<table id="Soins">
<thead>
<tr>
<th>Thanatopracteurs</th>
<th><?php p($l->t('January'));?></th>
<th><?php p($l->t('February'));?></th>
<th><?php p($l->t('March'));?></th>
<th><?php p($l->t('April'));?></th>
<th><?php p($l->t('May'));?></th>
<th><?php p($l->t('June'));?></th>
<th><?php p($l->t('July'));?></th>
<th><?php p($l->t('August'));?></th>
<th><?php p($l->t('September'));?></th>
<th><?php p($l->t('October'));?></th>
<th><?php p($l->t('November'));?></th>
<th><?php p($l->t('December'));?></th>
<th><?php p($l->t('Total'));?></th>
</tr>
</thead>
<tbody>
</tbody>
</table><br><br>
<div class="d-flex justify-content-between">
<h2>Statistiques mensuelles des soins par thanatopracteurs par weekend</h2>
<div class="d-flex flex-row gap-2">
<div>
<select name="annee" id="yearselector_statweekendsthanatopracteurs">
<?php
$currentYear = date('Y');
for ($year = $currentYear; $year >= $currentYear - 10; $year--) {
echo '<option value="' . $year . '">' . $year . '</option>';
}
?>
</select>
</div>
<div>
<?php
$currentMonth = date('n');
?>
<select name="mois" id="monthselector_statweekendsthanatopracteurs">
<option value="1" <?php if($currentMonth == 1) echo 'selected' ?>>Janvier</option>
<option value="2" <?php if($currentMonth == 2) echo 'selected' ?>>Fevrier</option>
<option value="3" <?php if($currentMonth == 3) echo 'selected' ?>>Mars</option>
<option value="4" <?php if($currentMonth == 4) echo 'selected' ?>>Avril</option>
<option value="5" <?php if($currentMonth == 5) echo 'selected' ?>>Mai</option>
<option value="6" <?php if($currentMonth == 6) echo 'selected' ?>>Juin</option>
<option value="7" <?php if($currentMonth == 7) echo 'selected' ?>>Juillet</option>
<option value="8" <?php if($currentMonth == 8) echo 'selected' ?>>Août</option>
<option value="9" <?php if($currentMonth == 9) echo 'selected' ?>>Septembre</option>
<option value="10" <?php if($currentMonth == 10) echo 'selected' ?>>Octobre</option>
<option value="11" <?php if($currentMonth == 11) echo 'selected' ?>>Novembre</option>
<option value="12" <?php if($currentMonth == 12) echo 'selected' ?>>Decembre</option>
</select>
</div>
</div>
</div>
<hr>
<table id="SoinsWeekend">
<thead>
<tr>
<th>Thanatopracteurs</th>
<th>Nombre de jours travaillés (weekend)</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>