prestation/Vue/Ajaxdecompte/initrattrapagereceptionfactureprestataire.php
2025-12-05 10:42:46 +00:00

92 lines
4.6 KiB
PHP
Executable File

<div id="div_rattrapage_reception">
<div class="modal fade" id="pop_rattrapage_reception" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button id="btn_close_pop_rattrapage_reception" name="btn_close_pop_reception" type="button" class="close" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
<h4 class="modal-title"> <?= _("Rattrapage Réception factures...") ?> </h4>
</div>
<div class="modal-body">
<div id="div_date_rattrapage">
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
<tbody>
<tr>
<td > <?= _("Anc Date") ?> </td>
<td width="12%" > <INPUT style='text-align:center; font-size:9pt;' class="form-control" TYPE="text" value="<?= dateLang($this->nettoyer($reglement['dateReception'])) ?>" readonly > </td>
<td align="center" > <?= _("Anc Mont") ?> </td>
<td width="12%" > <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['montantPrestataire'])) ?>" readonly > </td>
<td align="center" > <?= _("Nouv Date") ?> </td>
<td > <INPUT style='text-align:center; font-size:9pt;' class="form-control datepicker" TYPE="text" id="dateReception_pop_rattrapage" NAME="dateReception_pop_rattrapage" value="<?= dateLang($this->nettoyer($reglement['dateReception'])) ?>" > </td>
<td align="center" > <?= _("Nouv Mont") ?> </td>
<td width="12%" align='center'>
<input class="form-control"style="text-align: center; font-size:9pt;" type="number" id="montantPrestataire_pop_rattrapage" name="montantPrestataire_pop_rattrapage"
onBlur="controle_numerique(this);" value="<?= $reglement['montantPrestataire'] ?>" >
</td>
</tr>
<tr>
<td > <?= _("Motif") ?> </td>
<td colspan="4"> <INPUT class="form-control" TYPE="text" id="motif_rattrapage" NAME="motif_rattrapage" style='font-size:9pt;' ></td>
<td colspan="3"> <input class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer...") ?>" onClick="javascript:maj_rattrapage_reception_facture_decompte();" style='font-size:9pt;' > </td>
</tr>
</tbody>
</table>
</div>
<div id="div_historique_rattrapage">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center'> Date </th>
<th rowspan="2" style='text-align:center'> <?= _("Motif") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Responsable") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Anciennes valeurs") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Nouvelles valeurs") ?> </th>
</tr>
<tr>
<th style='text-align:center'> Date </th>
<th width="10%" style='text-align:center'> <?= _("Montant") ?> </th>
<th style='text-align:center'> Date </th>
<th width="10%" style='text-align:center'> <?= _("Montant") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($hmajreceptionfactureprestataires as $hmajreceptionfactureprestataire): ?>
<tr valign="top">
<td align='center'><?= dateheureLang($this->nettoyer($hmajreceptionfactureprestataire['dateSave'])) ?></td>
<td align='center'><?= $this->nettoyer($hmajreceptionfactureprestataire['motif']) ?></td>
<td align='center'><?= $this->nettoyer($hmajreceptionfactureprestataire['userSave']) ?></td>
<td align='center'><?=dateLang($this->nettoyer($hmajreceptionfactureprestataire['dateReceptionOld'])) ?></td>
<td width="6%" align='center'><?= format_N($this->nettoyer($hmajreceptionfactureprestataire['montantPrestataireOld'])) ?></td>
<td align='center'><?=dateLang($this->nettoyer($hmajreceptionfactureprestataire['dateReceptionNew'])) ?></td>
<td width="6%" align='center'><?= format_N($this->nettoyer($hmajreceptionfactureprestataire['montantPrestataireNew'])) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button id="close_pop_rattrapage_reception" name="close_pop_reception" type="button" class="btn btn-default" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
</div>
</div>
</div>
</div>
</div>