prestation/Vue/Ajaxdestinatairesms/consulterwhatsappencours.php
2025-12-05 10:42:46 +00:00

39 lines
1.9 KiB
PHP
Executable File

<div id="div_sms">
<?php $nbligne = 0; ?>
<div id="div_sms_en_cours" style="padding-left:1px;padding-right:0px;">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:7pt;'>
<thead>
<tr>
<th colspan="3" style="text-align:center; background-color: yellow; color: black;" > <?= _("ENVOI EN COURS") ?></th>
</tr>
<tr>
<th style="text-align:center; background-color: yellow; color: black;"> <?= _("Envoi") ?> </th>
<th style="text-align:center; background-color: yellow; color: black;"> <?= _("Destinataires") ?> </th>
<th style="text-align:center; background-color: yellow; color: black;"> Message </th>
<th style="text-align:center; background-color: yellow; color: black;"> <?= _("Assuré") ?> </th>
<th style="text-align:center; background-color: yellow; color: black;"> <?= _("Source") ?> </th>
<th style="text-align:center; background-color: yellow; color: black;"> <?= _("Cible") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($messages_en_cours as $message):
$nbligne++;
?>
<tr valign="top">
<td align='center'><?= dateheureLang($this->nettoyer($message['dateSysteme'])) ?></td>
<td align='center'> <?= $this->nettoyer($message['destinataires']) ?> </td>
<td> <textarea rows="4" cols="45" readonly ><?= $this->nettoyer($message['message']) ?></textarea> </td>
<td align='center'> <?= $this->nettoyer($message['assure']) ?> </td>
<td align='center'> <?= $this->nettoyer($message['libelleSource']) ?> </td>
<td align='center'> <?= $this->nettoyer($message['libelleCible']) ?> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<input class="sr-only" type="text" id="nbligne_info" name="nbligne_info" value="<?= $nbligne ?>" >
</div>