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

131 lines
5.5 KiB
PHP
Executable File

<?php
$this->titre = "INTER SANTE - Demandes de Reglement";
// highlight_string("<?php\n\$datas =\n" . var_export($_SESSION, true) . ";\n>");
?>
<legend> <?= _("Demandes de règlement honorées / Période comptable") ?> </legend>
<input class="sr-only" type="text" id="codePrestataire" name="codePrestataire" value="<?= $_SESSION['codePrestataire_C'] ?>">
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("Période du") ?> </td>
<td > <INPUT style='text-align:center; font-size:10pt;' class="form-control datepicker" TYPE="text" id="datedebut" NAME="datedebut" value="<?=dateLang($_SESSION['debutGcFr'])?>" > </td>
<td align="center" width="10%"> <?= _("au") ?> </td>
<td > <INPUT style='text-align:center; font-size:10pt;' class="form-control datepicker" TYPE="text" id="datefin" NAME="datefin" value="<?=dateLang($_SESSION['dateAnalyse_C'])?>" > </td>
<td align="center"> <?= _("Rétiré") ?> </td>
<td>
<select class="form-select" id="retire" NAME="retire" style='font-size:9pt;'>
<option value="">Tous</option>
<option value="RTC">Retrait</option>
<option value="ANC">Annulation</option>
<option value="SPC">Suppression</option>
</SELECT>
</td>
<td align="center" width="10%" > <?= _("Référence Chèque") ?> </td>
<td>
<input class="form-control" style="text-align: center; font-size:10pt;" type="text" id="referenceCheque" name="referenceCheque" value="" >
</td>
</tr>
<tr>
<td width="10%" > <?= _("Prestataire") ?> </td>
<td colspan=3>
<?php if ($_SESSION['prestataire_C']>" "): ?>
<button type="button" class="form-control btn btn-primary" data-bs-toggle="modal" data-bs-target="#popRecherchePrestataire" style='font-size:10pt;' ><span id="nomPrestataire" name="nomPrestataire"> <?= $_SESSION['prestataire_C'] ?> </span></button>
<?php else : ?>
<button type="button" class="form-control btn btn-primary" data-bs-toggle="modal" data-bs-target="#popRecherchePrestataire" style='font-size:10pt;' ><span id="nomPrestataire" name="nomPrestataire"> <?= _("Tous / Rechercher Prestataire...") ?> </span></button>
<?php endif; ?>
</td>
<td> </td>
<td colspan=3> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:demandesreglement_cheque_cpt();"> <?= _("Afficher...") ?> </button> </td>
</tr>
<tr>
<td>
</td>
<td colspan=7>
<input class="form-control" style="text-align: center; font-size:10pt;" type="text" id="nbligne" name="nbligne" value="Lignes : 0" readonly>
</td>
</tr>
</tbody>
</table>
<div id="div_consulter_retirer_cheque">
</div>
<div id="div_detail">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Exercice") ?> </th>
<th style='text-align:center'> <?= _("Mois") ?> </th>
<th width="10%" style='text-align:center'> <?= _("No Demande") ?> </th>
<th style='text-align:center'> <?= _("Prestataire") ?> </th>
<th style='text-align:center'> <?= _("A régler") ?> </th>
<th style='text-align:center'> <?= _("Date Demande") ?> </th>
<th style='text-align:center'> Type </th>
<th style='text-align:center'> <?= _("Demandeur") ?> </th>
<th style='text-align:center'> <?= _("Motif non paiement") ?> </th>
</tr>
</thead>
</table>
</div>
<div id="div_export_a">
</div>
<div class="modal fade" id="popRecherchePrestataire" 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"> <?= _("Rechercher un prestataire...") ?> </h4>
</div>
<div class="modal-body">
<div id="div_listeprestataires" onkeypress="javascript:ctrlkeypress_prestataire(event);">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:10pt;'>
<thead>
<tr>
<th style="text-align:center" width="15%" > Code </th>
<th width="50%" style="text-align:center" > <?= _("Nom contenant...") ?> </th>
<th colspan="2" style="text-align:center" > Type </th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="text" class="form-control" id="codesearch" name="codesearch" autofocus style='font-size:10pt;' ></td>
<td><input type="text" class="form-control" id="nomsearch" name="nomsearch" autofocus style='font-size:10pt;' ></td>
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Rechercher...") ?>" onclick="javascript:afficher_pop_recherche_prestataire();" /></td>
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Ré-initialiser...") ?>" onclick="javascript:reinitialiser_prestataire();" /></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button id="close_pop" name="close_pop" type="button" class="btn btn-default" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
</div>
</div>
</div>
</div>
// 23 06 2023
<div id="div_consulter_reprise_cheque" class="modal fade" role="dialog">
</div>