97 lines
4.2 KiB
PHP
Executable File
97 lines
4.2 KiB
PHP
Executable File
<div id="div_quittancepolice">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center' width="5%"> <?= _("Numéro") ?> </th>
|
|
<th colspan="2" style='text-align:center'> <?= _("Emission") ?> </th>
|
|
<th style='text-align:center'> <?= _("Effet") ?> </th>
|
|
<th style='text-align:center'> <?= _("Echéance") ?> </th>
|
|
<th style='text-align:center'> <?= _("Libellé") ?> </th>
|
|
<th style='text-align:center'> <?= _("Payer avant") ?> </th>
|
|
<th style='text-align:center'> <?= _("Prime TTC") ?> </th>
|
|
<th style='text-align:center'> <?= _("Encaissé") ?> </th>
|
|
<th style='text-align:center'> <?= _("Solde") ?> </th>
|
|
<th colspan="2" style='text-align:center'> <?= _("Facture") ?> </th>
|
|
<!-- <th style='text-align:center'> <?= _("Encaisser") ?> </th> -->
|
|
</tr>
|
|
</thead>
|
|
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="7" style='text-align:center'> Total </td>
|
|
<td align='center'><?= format_N($this->nettoyer($totalquittanceperiode['primeTtc'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($totalquittanceperiode['encaisse'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($totalquittanceperiode['solde'])) ?></td>
|
|
<td colspan="2"> </td>
|
|
</tr>
|
|
</tfoot>
|
|
|
|
<tbody>
|
|
<?php foreach ($quittances as $quittance):
|
|
$numeroQuittance = $this->nettoyer($quittance['numeroQuittance']);
|
|
$idQuittance = $quittance['id'];
|
|
$idEmission = $quittance['idEmission'];
|
|
$numeroEmission = $quittance['numeroEmission'];
|
|
$solde=$this->nettoyer($quittance['solde'])
|
|
?>
|
|
<tr valign="top">
|
|
<td align='center'><?= $idQuittance ?></td>
|
|
|
|
<td align='center'> <input type="button" value="<?= $numeroEmission ?>" onClick="javascript:afficher_emission(<?= $idEmission ?>);"></td>
|
|
|
|
<td align='center'><?= dateLang($this->nettoyer($quittance['dateEmission']), $_SESSION['p_lang']) ?></td>
|
|
<td align='center'><?= dateLang($this->nettoyer($quittance['dateEffet']), $_SESSION['p_lang']) ?></td>
|
|
<td align='center'><?= dateLang($this->nettoyer($quittance['dateEcheance']), $_SESSION['p_lang']) ?></td>
|
|
<td align='center'><?= $this->nettoyer($quittance['libelleQuittance']) ?></td>
|
|
<td align='center'><?= dateLang($this->nettoyer($quittance['datePaiement']), $_SESSION['p_lang']) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($quittance['primeTtc'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($quittance['encaisse'])) ?></td>
|
|
<td align='center'><?= format_N($this->nettoyer($quittance['solde'])) ?></td>
|
|
<td align='center'> <input type="button" value="<?= _("Assureur") ?>" onClick="javascript:imprimer_quittance(<?= $idQuittance ?>);"></td>
|
|
<td align='center'> <input type="button" value="<?= _("Client") ?>" onClick="javascript:imprimer_quittance_client(<?= $idQuittance ?>);"></td>
|
|
|
|
<!--
|
|
<?php if($solde>'0'): ?>
|
|
<td align='center'> <input type="button" value="<?= _("Encaisser") ?>" onClick="javascript:encaisser_quittance(<?= $idQuittance ?>);"></td>
|
|
<?php else: ?>
|
|
<td colspan="1"></td>
|
|
<?php endif; ?>
|
|
-->
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
|
|
<tr style='background-color:white'>
|
|
<td colspan="13" height="11"></td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
<button class="sr-only" id="btn_export_quittance" name="btn_export_quittance" type="button" data-bs-toggle="modal" data-bs-target="#pop_export_quittance" > </button>
|
|
|
|
<div class="modal fade" id="pop_export_quittance" role="dialog">
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
<button id="btn_close_pop" name="btn_close_pop" type="button" class="close" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
|
|
<h4 class="modal-title"> <?= _("Imprimer la quittance de prime...") ?> </h4>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
<div id="div_export_quittance">
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-default" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|