production/Vue/Ajaxexclusiondecompteobs/index.php
2025-12-01 16:12:12 +00:00

58 lines
2.0 KiB
PHP
Executable File

<?php
?>
<div class="modal-dialog modal-lg" style="width:70%">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-bs-dismiss="modal">&times;</button>
<legend class="modal-title" id="user" style="text-align:center;"><?= _("Motifs d'exclusions"); ?></legend>
</div>
<div class="modal-body">
<div id="div_exclusion">
<div id="div_motif_exclusions">
<table class="table table-striped table-bordered table-condensed table-responsive" style="font-size:10pt;">
<thead>
<tr>
<th rowspan="2" width="13%" style="text-align:center"> Date </th>
<th rowspan="2" style="text-align:center"> <?= _("Motif") ?></th>
<th rowspan="2" style="text-align:center"> <?= _("Observation") ?> </th>
<th rowspan="2" width="10%" style="text-align:center"> User </th>
</tr>
</thead>
<tbody>
<?php foreach ($motifrejetsAll as $motifrejet):
$idMotifDecompte = $this->nettoyer($motifrejet['idMotifDecompte']);
$supprime = $this->nettoyer($motifrejet['supprime']);
$codeMotifRejet = $this->nettoyer($motifrejet['codeMotifRejet']);
$motifManuel = $this->nettoyer($motifrejet['motifManuel']);
?>
<?php if($supprime=='1'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td align='center'><?= dateheureLang($this->nettoyer($motifrejet['dateSysteme'])) ?></td>
<td align='center'> <?= $codeMotifRejet ?> </td>
<td align='center'> <?= $motifManuel ?> </td>
<td align='center'> <?= $this->nettoyer($motifrejet['codeUtilisateur']) ?> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" id="close_pop_motifs" class="btn btn-default" data-bs-dismiss="modal">Fermer</button>
</div>
</div>
</div>