prestation/Vue/Ajaxfactureconspop/index.php
2025-12-05 10:42:46 +00:00

165 lines
8.5 KiB
PHP
Executable File

<div id="div_consulter_facture_pop">
<input class="sr-only" type="text" id="idFacture" name="idFacture" value="<?= $this->nettoyer($facture['idFacture']) ?>" >
<table class="table table-responsive table-condensed" style="font-size:7pt;">
<tbody>
<tr>
<?php
//highlight_string("<?php\n\$datas =\n" . var_export($_SESSION['p_codeTypePrestataire_C'], true) . ";\n>");
if ($_SESSION['p_codeTypePrestataire_C']=='PHA'){
?>
<td >
<input style='font-size:8pt; width:100%;' type="button" value="Imprimer la Facture" onClick="javascript:imprimer_facture_definitive_pha('<?= $this->nettoyer($facture['idFacture']) ?>');">
</td>
<?php
}elseif ($_SESSION['p_codeTypePrestataire_C']=='OPT'){
?>
<td >
<input style='font-size:8pt; width:100%;' type="button" value="Imprimer la Facture" onClick="javascript:imprimer_facture_definitive_opt('<?= $this->nettoyer($facture['idFacture']) ?>');">
</td>
<?php
}else{
?>
<td >
<input style='font-size:8pt; width:100%;' type="button" value="Imprimer la Facture" onClick="javascript:imprimer_facture_definitive();">
</td>
<?php
}
?>
</tr>
</tbody>
</table>
<div id="div_facture_definitive">
</div>
<table class="table table-responsive table-condensed" style="font-size:7pt;">
<tbody>
<tr>
<td width="7%"> <?= _("ID Facture") ?> </td>
<td width="13%"> <INPUT style="font-size:7pt;" class="form-control" id="idFacture" name="idFacture" value="<?= $this->nettoyer($facture['idFacture']) ?>" readonly></td>
<td width="7%" style='text-align:center'> <?= _("No Benef") ?> </td>
<td width="10%" ><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($facture['numeroBeneficiaire']) ?>" readonly></td>
<td width="7%" style='text-align:center'> <?= _("Bénéficiaire") ?> </td>
<td width="25%" ><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($facture['beneficiaire']) ?>" readonly></td>
<td width="7%" style='text-align:center'> <?= _("Adhérent") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($facture['adherent']) ?>" readonly></td>
</tr>
<tr>
<td > <?= _("Police") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($facture['numeroPolice']) ?>" readonly></td>
<td style='text-align:center'> <?= _("Catégorie") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($facture['codeProduit']) ?>" readonly></td>
<td style='text-align:center'>E-mail / Tel </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($facture['emailAdherent']) ?> / <?= $this->nettoyer($facture['telAdherent']) ?>" readonly></td>
<td style='text-align:center'> <?= _("Client") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($facture['souscripteur']) ?>" readonly></td>
</tr>
<tr>
<td > Date </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= dateheureLang($this->nettoyer($facture['dateSysteme'])) ?>" readonly></td>
<td style='text-align:center'> User </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($facture['codeUtilisateur']) ?>" readonly></td>
<td style='text-align:center'> <?= _("Prestataire") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($facture['prestataire']) ?>" readonly></td>
<td style='text-align:center'> <?= _("Etat") ?> </td>
<?php if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"): ?>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($facture['etatfactureEng']) ?>" readonly></td>
<?php else: ?>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($facture['etatfacture']) ?>" readonly></td>
<?php endif; ?>
</tr>
<tr>
<td> <?= _("Frais") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= format_N($this->nettoyer($facture['fraisReel'])) ?>" readonly></td>
<td style='text-align:center'> <?= _("T M") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= format_N($this->nettoyer($facture['montantTm'])) ?>" readonly></td>
<td style='text-align:center'> <?= _("A Remb") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= format_N($this->nettoyer($facture['montantArembourser'])) ?>" readonly></td>
<td style='text-align:center'> <?= _("Dépas") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= format_N($this->nettoyer($facture['depassement'])) ?>" readonly></td>
</tr>
<tr>
<td> <?= _("Retenu") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= format_N($this->nettoyer($facture['fraisRetenu'])) ?>" readonly></td>
<td style='text-align:center'> <?= _("Forcé") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= format_N($this->nettoyer($facture['montantForce'])) ?>" readonly></td>
<td style='text-align:center'> <?= _("Redressé") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= format_N($this->nettoyer($facture['montantRedresse'])) ?>" readonly></td>
<td style='text-align:center'> <?= _("A Payer") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= format_N($this->nettoyer($facture['montantApayer'])) ?>" readonly></td>
</tr>
<tr>
<td > <?= _("T Payant") ?> </td>
<?php if ($facture['tiersPayant']=="1"): ?>
<td align='center'> <input type="checkbox" checked disabled></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled></td>
<?php endif; ?>
<td style='text-align:center'> <?= _("Gest Conf") ?> </td>
<?php if ($facture['gc']=="1"): ?>
<td align='center'> <input type="checkbox" checked disabled></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled></td>
<?php endif; ?>
<td style='text-align:center'> <?= _("No Decpte") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($facture['numeroDecompte']) ?>" readonly></td>
<td style='text-align:center'> <?= _("No Lot") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($facture['numeroLotDecompte']) ?>" readonly></td>
</tr>
<tr>
<td > <?= _("Vérif") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= $this->nettoyer($facture['userControle']) ?>" readonly></td>
<td style='text-align:center'> <?= _("Date Décpte") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= dateLang($this->nettoyer($facture['dateDecompte'])) ?>" readonly></td>
<td style='text-align:center'> <?= _("Dat Reglt") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= dateheureLang($this->nettoyer($facture['heureReglement'])) ?>" readonly></td>
<td style='text-align:center'> <?= _("Réglé") ?> </td>
<td><INPUT style="font-size:7pt;" class="form-control" value="<?= format_N($this->nettoyer($facture['montantPaye'])) ?>" readonly></td>
</tr>
</tbody>
</table>
<table class="table table-responsive table-condensed" style='font-size:12pt;' >
<tbody>
<tr>
<td> <button type="button" style="font-size:10pt;" class="form-control btn btn-info" onclick="javascript:consulterfacturefeuillemaladie_pop();" > <?= _("Feuille Maladie...") ?></button> </td>
<td> <button type="button" style="font-size:10pt;" class="form-control btn btn-info" onclick="javascript:consulterfactureprestationactes_pop();" > <?= _("Prestations...") ?> </button> </td>
<td> <button type="button" style="font-size:10pt;" class="form-control btn btn-info" onclick="javascript:consulterfacturemedicaments_pop();" > <?= _("Medicaments...") ?></button> </td>
<td> <button type="button" style="font-size:10pt;" class="form-control btn btn-info" onclick="javascript:consulterfactureverres_pop();" > <?= _("Verres...") ?> </button> </td>
<td> <button type="button" style="font-size:10pt;" class="form-control btn btn-info" onclick="javascript:consulterfactureged_pop();" > <?= _("GED...") ?></button> </td>
</tr>
</tbody>
</table>
</div>