This commit is contained in:
KANE LAZENI 2026-05-07 03:08:53 +00:00
parent 45d7fc37b9
commit 491b861662
1343 changed files with 102915 additions and 0 deletions

View File

@ -0,0 +1,62 @@
<?php $this->titre = "INTER-SANTE - Autoriser un acte exclu"; ?>
<form id="frmdententeprealable" name="frmdententeprealable" method="post" >
<INPUT class="sr-only" TYPE="text" id="idDemandeautorisation" name="idDemandeautorisation" value="<?= $this->nettoyer($ententeprealable['idDemandeautorisation']) ?>">
<INPUT class="sr-only" TYPE="text" id="smsGestionPrestataire" name="smsGestionPrestataire" value="<?= $this->nettoyer($ententeprealable['smsGestionPrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="prestataire" name="prestataire" value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="beneficiaire" name="beneficiaire" value="<?= $this->nettoyer($ententeprealable['beneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" value="<?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="libelleActe" name="libelleActe" value="<?= $this->nettoyer($ententeprealable['libelleActe']) ?>">
<INPUT class="sr-only" TYPE="text" id="prixTarif" name="prixTarif" value="<?= $this->nettoyer($ententeprealable['prixTarif']) ?>">
<legend> <?= _("Autoriser un acte exclu") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("No") ?> </td>
<td width="20%"> <INPUT id="numeroAutorisation" name="numeroAutorisation" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= $this->nettoyer($ententeprealable['numeroAutorisation']) ?>" readonly> </td>
<td width="10%" align="center"> <?= _("Acte") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['libelleActe']) ?>" readonly> </td>
</tr>
<tr>
<td> Date </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?>" readonly> </td>
<td align="center"> <?= _("Prestataire") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Motif Accord") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" style='font-size:10pt;' required AUTOCOMPLETE="OFF" autofocus ></td>
</tr>
<tr>
<td> <?= _("Tarif Conventionné") ?> </td>
<td width="20%"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= format_N($this->nettoyer($ententeprealable['prixTarif'])) ?>" readonly> </td>
<td align="center" > <?= _("Prix Accordé") ?> </td>
<td width="20%"> <INPUT id="valeurActe" name="valeurActe" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="0"> </td>
<td> </td>
<td> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value='<?= _("Valider") ?>' onClick="enregistreraccord_acte_exclu();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php if (isset($msgErreur)): ?>
<div id ="msgErreur" class="alert alert-danger" style="height:38px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
</form>
<div id ="div_wait">
</div>

View File

@ -0,0 +1,62 @@
<?php $this->titre = "INTER-SANTE - Autoriser un acte exclu"; ?>
<form id="frmdententeprealable" name="frmdententeprealable" method="post" >
<INPUT class="sr-only" TYPE="text" id="idDemandeautorisation" name="idDemandeautorisation" value="<?= $this->nettoyer($ententeprealable['idDemandeautorisation']) ?>">
<INPUT class="sr-only" TYPE="text" id="smsGestionPrestataire" name="smsGestionPrestataire" value="<?= $this->nettoyer($ententeprealable['smsGestionPrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="prestataire" name="prestataire" value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="beneficiaire" name="beneficiaire" value="<?= $this->nettoyer($ententeprealable['beneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" value="<?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="libelleActe" name="libelleActe" value="<?= $this->nettoyer($ententeprealable['libelleActe']) ?>">
<INPUT class="sr-only" TYPE="text" id="prixTarif" name="prixTarif" value="<?= $this->nettoyer($ententeprealable['prixTarif']) ?>">
<legend> <?= _("Autoriser un acte exclu") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("No") ?> </td>
<td width="20%"> <INPUT id="numeroAutorisation" name="numeroAutorisation" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= $this->nettoyer($ententeprealable['numeroAutorisation']) ?>" readonly> </td>
<td width="10%" align="center"> <?= _("Acte") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['libelleActe']) ?>" readonly> </td>
</tr>
<tr>
<td> Date </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?>" readonly> </td>
<td align="center"> <?= _("Prestataire") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Motif Accord") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" style='font-size:10pt;' required AUTOCOMPLETE="OFF" autofocus ></td>
</tr>
<tr>
<td> <?= _("Tarif Conventionné") ?> </td>
<td width="20%"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= format_N($this->nettoyer($ententeprealable['prixTarif'])) ?>" readonly> </td>
<td align="center" > <?= _("Prix Accordé") ?> </td>
<td width="20%"> <INPUT id="valeurActe" name="valeurActe" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="0"> </td>
<td> </td>
<td> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value='<?= _("Valider") ?>' onClick="enregistreraccord_acte_exclu_2();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php if (isset($msgErreur)): ?>
<div id ="msgErreur" class="alert alert-danger" style="height:38px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
</form>
<div id ="div_wait">
</div>

View File

@ -0,0 +1,91 @@
<?php
$this->titre = "INTER-SANTE - Accepter Dérogation";
$codeDerogation = $this->nettoyer($derogation['codeDerogation']);
?>
<form id="frmderogation" name="frmderogation" method="post" >
<INPUT class="sr-only" TYPE="text" id="idDemandederogation" name="idDemandederogation" value="<?= $this->nettoyer($derogation['idDemandederogation']) ?>">
<INPUT class="sr-only" TYPE="text" id="smsGestionPrestataire" name="smsGestionPrestataire" value="<?= $this->nettoyer($derogation['smsGestionPrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="prestataire" name="prestataire" value="<?= $this->nettoyer($derogation['prestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="codePrestataire" name="codePrestataire" value="<?= $this->nettoyer($derogation['codePrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="beneficiaire" name="beneficiaire" value="<?= $this->nettoyer($derogation['beneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" value="<?= $this->nettoyer($derogation['numeroBeneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="libelleDerogation" name="libelleDerogation" value="<?= $this->nettoyer($derogation['libelleDerogation']) ?>">
<INPUT class="sr-only" TYPE="text" id="codeDerogation" name="codeDerogation" value="<?= $codeDerogation ?>">
<INPUT class="sr-only" TYPE="text" id="telephonePortableAdherent" name="telephonePortableAdherent" value="<?= $this->nettoyer($derogation['telephonePortableAdherent']) ?>">
<legend> <?= _("Acceptation d'une dérogation") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="15%" > <?= _("No") ?> </td>
<td width="20%"> <INPUT id="numeroDerogation" name="numeroDerogation" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= $this->nettoyer($derogation['numeroDerogation']) ?>" readonly> </td>
<td width="15%" align="center"> <?= _("Dérogation") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($derogation['libelleDerogation']) ?>" readonly> </td>
</tr>
<tr>
<td> Date </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= dateheureLang($this->nettoyer($derogation['dateSysteme'])) ?>" readonly> </td>
<td align="center"> <?= _("Prestataire") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($derogation['prestataire']) ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Bénéficiaire") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($derogation['beneficiaire']) . " ( " . $this->nettoyer($derogation['numeroBeneficiaire']) . " )" ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Motivations") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($derogation['observations']) ?>" readonly> </td>
</tr>
<?php if ($codeDerogation=='01'): ?>
<tr>
<td> <?= _("Motif") ?> </td>
<td colspan="3"><INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" style='font-size:10pt;' required AUTOCOMPLETE="OFF" autofocus ></td>
<td align="center"> <?= _("T M") ?> </td>
<td>
<INPUT id="tmDerogation" name="tmDerogation" style='font-size:10pt;text-align:center;' class="form-control" type="number" value="<?= $this->nettoyer($derogation['tm']) ?>" readonly>
</td>
</tr>
<?php else : ?>
<tr>
<td> <?= _("Motif") ?> </td>
<td colspan="5">
<INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" style='font-size:10pt;' required AUTOCOMPLETE="OFF" autofocus >
<INPUT class="sr-only" id="tmDerogation" name="tmDerogation" style='text-align:center' class="form-control" type="number" value="0">
</td>
</tr>
<?php endif; ?>
<tr>
<td> <?= _("Début jeton") ?> </td>
<td> <INPUT style='text-align:center; font-size:10pt;' class="form-control datepicker" TYPE="text" id="debut" NAME="debut" value="<?= dateCouranteLang($_SESSION['p_lang']) ?>" required AUTOCOMPLETE="OFF" ></td>
<td align="center" > <?= _("Fin jeton") ?> </td>
<td width="20%"> <INPUT style='text-align:center; font-size:10pt;' class="form-control datepicker" TYPE="text" id="fin" NAME="fin" value="<?= dateCouranteLang($_SESSION['p_lang']) ?>" required AUTOCOMPLETE="OFF" ></td>
<td> </td>
<td> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value='<?= _("Valider") ?>' onClick="enregistreraccordderogation();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php if (isset($msgErreur)): ?>
<div id ="msgErreur" class="alert alert-danger" style="height:38px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
</form>
<div id ="div_wait">
</div>

View File

@ -0,0 +1,92 @@
<?php
$this->titre = "INTER-SANTE - Accepter Dérogation";
$codeDerogation = $this->nettoyer($derogation['codeDerogation']);
?>
<form id="frmderogation" name="frmderogation" method="post" >
<INPUT class="sr-only" TYPE="text" id="idDemandederogation" name="idDemandederogation" value="<?= $this->nettoyer($derogation['idDemandederogation']) ?>">
<INPUT class="sr-only" TYPE="text" id="smsGestionPrestataire" name="smsGestionPrestataire" value="<?= $this->nettoyer($derogation['smsGestionPrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="prestataire" name="prestataire" value="<?= $this->nettoyer($derogation['prestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="codePrestataire" name="codePrestataire" value="<?= $this->nettoyer($derogation['codePrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="beneficiaire" name="beneficiaire" value="<?= $this->nettoyer($derogation['beneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" value="<?= $this->nettoyer($derogation['numeroBeneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="libelleDerogation" name="libelleDerogation" value="<?= $this->nettoyer($derogation['libelleDerogation']) ?>">
<INPUT class="sr-only" TYPE="text" id="codeDerogation" name="codeDerogation" value="<?= $codeDerogation ?>">
<INPUT class="sr-only" TYPE="text" id="telephonePortableAdherent" name="telephonePortableAdherent" value="<?= $this->nettoyer($derogation['telephonePortableAdherent']) ?>">
<legend> <?= _("Acceptation d'une dérogation") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="15%" > <?= _("No") ?> </td>
<td width="20%"> <INPUT id="numeroDerogation" name="numeroDerogation" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= $this->nettoyer($derogation['numeroDerogation']) ?>" readonly> </td>
<td width="15%" align="center"> <?= _("Dérogation") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($derogation['libelleDerogation']) ?>" readonly> </td>
</tr>
<tr>
<td> Date </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= dateheureLang($this->nettoyer($derogation['dateSysteme'])) ?>" readonly> </td>
<td align="center"> <?= _("Prestataire") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($derogation['prestataire']) ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Bénéficiaire") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($derogation['beneficiaire']) . " ( " . $this->nettoyer($derogation['numeroBeneficiaire']) . " )" ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Motivations") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($derogation['observations']) ?>" readonly> </td>
</tr>
<?php if ($codeDerogation=='01'): ?>
<tr>
<td> <?= _("Motif") ?> </td>
<td colspan="3"><INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" style='font-size:10pt;' required AUTOCOMPLETE="OFF" autofocus ></td>
<td align="center"> <?= _("T M") ?> </td>
<td>
<INPUT id="tmDerogation" name="tmDerogation" style='font-size:10pt;text-align:center;' class="form-control" type="number" value="<?= $this->nettoyer($derogation['tm']) ?>" readonly>
</td>
</tr>
<?php else : ?>
<tr>
<td> <?= _("Motif") ?> </td>
<td colspan="5">
<INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" style='font-size:10pt;' required AUTOCOMPLETE="OFF" autofocus >
<INPUT class="sr-only" id="tmDerogation" name="tmDerogation" style='text-align:center' class="form-control" type="number" value="0">
</td>
</tr>
<?php endif; ?>
<tr>
<td> <?= _("Début jeton") ?> </td>
<td> <INPUT style='text-align:center; font-size:10pt;' class="form-control datepicker" TYPE="text" id="debut" NAME="debut" value="<?= dateCouranteLang($_SESSION['p_lang']) ?>" required AUTOCOMPLETE="OFF" ></td>
<td align="center" > <?= _("Fin jeton") ?> </td>
<td width="20%"> <INPUT style='text-align:center; font-size:10pt;' class="form-control datepicker" TYPE="text" id="fin" NAME="fin" value="<?= dateCouranteLang($_SESSION['p_lang']) ?>" required AUTOCOMPLETE="OFF" ></td>
<td> </td>
<td> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value='<?= _("Valider") ?>' onClick="enregistreraccordderogation_2();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php if (isset($msgErreur)): ?>
<div id ="msgErreur" class="alert alert-danger" style="height:38px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
</form>
<div id ="div_wait">
</div>

View File

@ -0,0 +1,66 @@
<?php $this->titre = "INTER-SANTE - Autoriser un acte"; ?>
<form id="frmdententeprealable" name="frmdententeprealable" method="post" >
<INPUT class="sr-only" TYPE="text" id="idDemandeententeprealable" name="idDemandeententeprealable" value="<?= $this->nettoyer($ententeprealable['idDemandeententeprealable']) ?>">
<INPUT class="sr-only" TYPE="text" id="smsGestionPrestataire" name="smsGestionPrestataire" value="<?= $this->nettoyer($ententeprealable['smsGestionPrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="prestataire" name="prestataire" value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="codePrestataire" name="codePrestataire" value="<?= $this->nettoyer($ententeprealable['codePrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="beneficiaire" name="beneficiaire" value="<?= $this->nettoyer($ententeprealable['beneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" value="<?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="libelleActe" name="libelleActe" value="<?= $this->nettoyer($ententeprealable['libelleActe']) ?>">
<INPUT class="sr-only" TYPE="text" id="telephonePortableAdherent" name="telephonePortableAdherent" value="<?= $this->nettoyer($ententeprealable['telAdherent']) ?>">
<legend> <?= _("Autoriser un acte") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("No") ?> </td>
<td width="20%"> <INPUT id="numeroEntentePrealable" name="numeroEntentePrealable" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= $this->nettoyer($ententeprealable['numeroEntentePrealable']) ?>" readonly> </td>
<td width="10%" align="center"> <?= _("Acte") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['libelleActe']) ?>" readonly> </td>
</tr>
<tr>
<td> Date </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?>" readonly> </td>
<td align="center"> <?= _("Prestataire") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Bénéficiaire") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['beneficiaire']) . " ( " . $this->nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Motif Centre") ?> </td>
<td colspan="3"><INPUT class="form-control" TYPE="text" id="motifPrestataire" NAME="motifPrestataire" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['motifPrestataire']); ?>" readonly></td>
</tr>
<tr>
<td> <?= _("Motif Accord") ?> </td>
<td colspan="3"><INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" style='font-size:10pt;' required AUTOCOMPLETE="OFF" autofocus ></td>
</tr>
<tr>
<td> </td>
<td colspan="5"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value='<?= _("Valider") ?>' onClick="enregistreraccordententepreslable();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php if (isset($msgErreur)): ?>
<div id ="msgErreur" class="alert alert-danger" style="height:38px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
</form>
<div id ="div_wait">
</div>

View File

@ -0,0 +1,75 @@
<?php $this->titre = "INTER-SANTE - Autoriser un acte"; ?>
<form id="frmdententeprealable" name="frmdententeprealable" method="post" >
<INPUT class="sr-only" TYPE="text" id="idDemandeententeprealable" name="idDemandeententeprealable" value="<?= $this->nettoyer($ententeprealable['idDemandeententeprealable']) ?>">
<INPUT class="sr-only" TYPE="text" id="smsGestionPrestataire" name="smsGestionPrestataire" value="<?= $this->nettoyer($ententeprealable['smsGestionPrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="prestataire" name="prestataire" value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="codePrestataire" name="codePrestataire" value="<?= $this->nettoyer($ententeprealable['codePrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="beneficiaire" name="beneficiaire" value="<?= $this->nettoyer($ententeprealable['beneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" value="<?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="libelleActe" name="libelleActe" value="<?= $this->nettoyer($ententeprealable['libelleActe']) ?>">
<INPUT class="sr-only" TYPE="text" id="telephonePortableAdherent" name="telephonePortableAdherent" value="<?= $this->nettoyer($ententeprealable['telAdherent']) ?>">
<legend> <?= _("Autoriser un acte") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("No") ?> </td>
<td width="20%"> <INPUT id="numeroEntentePrealable" name="numeroEntentePrealable" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= $this->nettoyer($ententeprealable['numeroEntentePrealable']) ?>" readonly> </td>
<td width="10%" align="center"> <?= _("Acte") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['libelleActe']) ?>" readonly> </td>
</tr>
<tr>
<td> Date </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?>" readonly> </td>
<td align="center"> <?= _("Prestataire") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Motif Médical") ?> </td>
<td colspan="3"><INPUT class="form-control" TYPE="text" id="motifPrestataire" NAME="motifPrestataire" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['motifPrestataire']); ?>" readonly></td>
</tr>
<tr>
<td> <?= _("Bénéficiaire") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['beneficiaire']) . " ( " . $this->nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Motif d'Accord") ?> </td>
<td colspan="3"><INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" style='font-size:10pt;' required AUTOCOMPLETE="OFF" autofocus ></td>
</tr>
<?php if ($ententeprealable['quantitePrescrite'] > "0") : ?>
<tr>
<td> <?= _("Nbre Prescrit") ?> </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= format_N($this->nettoyer($ententeprealable['quantitePrescrite'])) ?>" readonly> </td>
<td align="center"> <?= _("Nbre Modifié") ?> </td>
<td> <INPUT class="form-control" id="quantiteModifiee" name="quantiteModifiee" TYPE="number" min="0" style='font-size:10pt;' value="<?= format_N($this->nettoyer($ententeprealable['quantiteModifiee'])) ?>"> </td>
</tr>
<?php endif; ?>
<tr>
<td> </td>
<td colspan="5"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value='<?= _("Valider") ?>' onClick="enregistreraccordententepreslable_2();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php if (isset($msgErreur)): ?>
<div id ="msgErreur" class="alert alert-danger" style="height:38px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
</form>
<div id ="div_wait">
</div>

View File

@ -0,0 +1,74 @@
<?php
// $this->titre = "INTER-SANTE - Autoriser Monture";
$idBeneficiaire = $this->nettoyer($ententeprealable['idBeneficiaire']);
?>
<INPUT class="sr-only" TYPE="text" id="idDemandeententeprealable" name="idDemandeententeprealable" value="<?= $this->nettoyer($ententeprealable['idDemandeententeprealable']) ?>">
<INPUT class="sr-only" TYPE="text" id="smsGestionPrestataire" name="smsGestionPrestataire" value="<?= $this->nettoyer($ententeprealable['smsGestionPrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="prestataire" name="prestataire" value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="codePrestataire" name="codePrestataire" value="<?= $this->nettoyer($ententeprealable['codePrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="beneficiaire" name="beneficiaire" value="<?= $this->nettoyer($ententeprealable['beneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" value="<?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="telephonePortableAdherent" name="telephonePortableAdherent" value="<?= $this->nettoyer($ententeprealable['telAdherent']) ?>">
<legend> <?= _("Autoriser Monture") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("No") ?> </td>
<td width="20%"> <INPUT id="numeroEntentePrealable" name="numeroEntentePrealable" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= $this->nettoyer($ententeprealable['numeroEntentePrealable']) ?>" readonly> </td>
<td width="10%" align="center"> <?= _("Monture") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="Monture Uniquement / Eyeglasses Frame Only" readonly> </td>
</tr>
<tr>
<td> Date </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?>" readonly> </td>
<td align="center"> <?= _("Prestataire") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Bénéficiaire") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['beneficiaire']) . " ( " . $this->nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Motif Accord") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" style='font-size:10pt;' required AUTOCOMPLETE="OFF" autofocus ></td>
</tr>
<tr>
<td> <?= _("Prix proposé") ?> </td>
<td><INPUT style="font-size:10pt;text-align:center" class="form-control" TYPE="text" id="prixPrestataire" NAME="prixPrestataire" value="<?= format_N($this->nettoyer($ententeprealable['prixPrestataire'])) ?>" readonly></td>
<td width="10%" align="center"> <?= _("Prix Accordé") ?> </td>
<td width="15%">
<input class="form-control"style="text-align: center; font-size:10pt;" type="number" id="prixAccorde" name="prixAccorde" value="<?= $this->nettoyer($ententeprealable['prixPrestataire']) ?>"
onBlur="controle_numerique(this);" >
</td>
<td> </td>
<td colspan="1"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value='<?= _("Valider") ?>' onClick="enregistreraccordententepreslable_mont();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php if (isset($msgErreur)): ?>
<div id ="msgErreur" class="alert alert-danger" style="height:38px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
<div id ="div_wait">
</div>
<button type="button" style="font-size:10pt;" class="form-control btn btn-primary" onclick="javascript:afficher_dernieres_factures_optique('<?= $idBeneficiaire ?>');" > <?= _("Afficher les dernières factures...") ?> </button>
<div id ="div_dernieres_factures_optique">
</div>

View File

@ -0,0 +1,80 @@
<?php
// $this->titre = "INTER-SANTE - Autoriser des verres";
$idBeneficiaire = $this->nettoyer($ententeprealable['idBeneficiaire']);
?>
<form id="frmdententeprealable" name="frmdententeprealable" method="post" >
<INPUT class="sr-only" TYPE="text" id="idDemandeententeprealable" name="idDemandeententeprealable" value="<?= $this->nettoyer($ententeprealable['idDemandeententeprealable']) ?>">
<INPUT class="sr-only" TYPE="text" id="smsGestionPrestataire" name="smsGestionPrestataire" value="<?= $this->nettoyer($ententeprealable['smsGestionPrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="prestataire" name="prestataire" value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="codePrestataire" name="codePrestataire" value="<?= $this->nettoyer($ententeprealable['codePrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="beneficiaire" name="beneficiaire" value="<?= $this->nettoyer($ententeprealable['beneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" value="<?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="libelleOptique" name="libelleOptique" value="<?= $this->nettoyer($ententeprealable['libelleOptique']) ?>">
<INPUT class="sr-only" TYPE="text" id="telephonePortableAdherent" name="telephonePortableAdherent" value="<?= $this->nettoyer($ententeprealable['telAdherent']) ?>">
<legend> <?= _("Autoriser l'acte") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("No") ?> </td>
<td width="20%"> <INPUT id="numeroEntentePrealable" name="numeroEntentePrealable" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= $this->nettoyer($ententeprealable['numeroEntentePrealable']) ?>" readonly> </td>
<td width="10%" align="center"> <?= _("Acte") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['libelleOptique']) ?>" readonly> </td>
</tr>
<tr>
<td> Date </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?>" readonly> </td>
<td align="center"> <?= _("Prestataire") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Bénéficiaire") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['beneficiaire']) . " ( " . $this->nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Motif Accord") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" style='font-size:10pt;' required AUTOCOMPLETE="OFF" autofocus ></td>
</tr>
<tr>
<td> <?= _("Plafond") ?> </td>
<td><INPUT style="font-size:10pt;text-align:center" class="form-control" TYPE="text" id="plafond" NAME="plafond" value="<?= format_N($this->nettoyer($ententeprealable['plafond'])) ?>" readonly></td>
<td width="10%" align="center"> <?= _("Nouveau Solde") ?> </td>
<td width="15%">
<input class="form-control"style="text-align: center; font-size:10pt;" type="text" id="soldeNew" name="soldeNew" value="<?= format_N($this->nettoyer($ententeprealable['soldeNew'])) ?>" readonly>
</td>
<td> </td>
<td colspan="1"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value='<?= _("Valider") ?>' onClick="enregistreraccordententepreslable_opt();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php if (isset($msgErreur)): ?>
<div id ="msgErreur" class="alert alert-danger" style="height:38px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
</form>
<div id ="div_wait">
</div>
<!--<button type="button" style="font-size:10pt;" class="form-control btn btn-primary" onclick="javascript:afficher_dernieres_factures_optique('<?= $idBeneficiaire ?>');" > <?= _("Afficher les dernières factures...") ?> </button>
<div id ="div_dernieres_factures_optique">
</div>
-->

View File

@ -0,0 +1,80 @@
<?php $this->titre = "INTER-SANTE - Autoriser un médicament"; ?>
<form id="frmdententeprealable" name="frmdententeprealable" method="post" >
<INPUT class="sr-only" TYPE="text" id="idDemandeententeprealable" name="idDemandeententeprealable" value="<?= $this->nettoyer($ententeprealable['idDemandeententeprealable']) ?>">
<INPUT class="sr-only" TYPE="text" id="smsGestionPrestataire" name="smsGestionPrestataire" value="<?= $this->nettoyer($ententeprealable['smsGestionPrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="prestataire" name="prestataire" value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="codePrestataire" name="codePrestataire" value="<?= $this->nettoyer($ententeprealable['codePrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="beneficiaire" name="beneficiaire" value="<?= $this->nettoyer($ententeprealable['beneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" value="<?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="libelleMedicament" name="libelleMedicament" value="<?= $this->nettoyer($ententeprealable['libelleMedicament']) ?>">
<INPUT class="sr-only" TYPE="text" id="telephonePortableAdherent" name="telephonePortableAdherent" value="<?= $this->nettoyer($ententeprealable['telAdherent']) ?>">
<legend> <?= _("Autoriser un médicament") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("No") ?> </td>
<td width="20%"> <INPUT id="numeroEntentePrealable" name="numeroEntentePrealable" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= $this->nettoyer($ententeprealable['numeroEntentePrealable']) ?>" readonly> </td>
<td width="10%" align="center"> <?= _("Médicament") ?> </td>
<td colspan="5"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['libelleMedicament']) ?>" readonly> </td>
</tr>
<tr>
<td> Date </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?>" readonly> </td>
<td align="center"> <?= _("Prestataire") ?> </td>
<td colspan="5"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Bénéficiaire") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['beneficiaire']) . " ( " . $this->nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Motif Accord") ?> </td>
<td colspan="7"><INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" style='font-size:10pt;' required AUTOCOMPLETE="OFF" autofocus ></td>
</tr>
<tr>
<td> <?= _("Prix proposé") ?> </td>
<td><INPUT style="font-size:10pt;text-align:center" class="form-control" TYPE="text" id="prixPrestataire" NAME="prixPrestataire" value="<?= format_N($this->nettoyer($ententeprealable['prixPrestataire'])) ?>" readonly></td>
<td align="center"> <?= _("Qté proposéee") ?> </td>
<td width="10%" ><INPUT style="font-size:10pt;text-align:center" class="form-control" TYPE="text" id="quantite" NAME="quantite" value="<?= format_N($this->nettoyer($ententeprealable['quantite'])) ?>" readonly></td>
<td width="10%" align="center"> <?= _("Prix Accordé") ?> </td>
<td width="15%">
<input class="form-control"style="text-align: center; font-size:10pt;" type="number" id="prixAccorde" name="prixAccorde" value="<?= $this->nettoyer($ententeprealable['prixPrestataire']) ?>"
onBlur="controle_numerique(this);" >
</td>
<td width="10%" align="center"> <?= _("Qté Accordée") ?> </td>
<td width="10%" >
<input class="form-control"style="text-align: center; font-size:10pt;" type="number" id="quantiteAccorde" name="quantiteAccorde" value="<?= $this->nettoyer($ententeprealable['quantite']) ?>"
onBlur="controle_numerique(this);" >
</td>
</tr>
<tr>
<td> </td>
<td colspan="7"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value='<?= _("Valider") ?>' onClick="enregistreraccordententepreslable_pha();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php if (isset($msgErreur)): ?>
<div id ="msgErreur" class="alert alert-danger" style="height:38px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
</form>
<div id ="div_wait">
</div>

View File

@ -0,0 +1,80 @@
<?php $this->titre = "INTER-SANTE - Approuver une substitution de médicament"; ?>
<form id="frmdententeprealable" name="frmdententeprealable" method="post" >
<INPUT class="sr-only" TYPE="text" id="idDemandesubstitution" name="idDemandesubstitution" value="<?= $this->nettoyer($ententeprealable['idDemandesubstitution']) ?>">
<INPUT class="sr-only" TYPE="text" id="smsGestionPrestataire" name="smsGestionPrestataire" value="<?= $this->nettoyer($ententeprealable['smsGestionPrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="prestataire" name="prestataire" value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="codePrestataire" name="codePrestataire" value="<?= $this->nettoyer($ententeprealable['codePrestataire']) ?>">
<INPUT class="sr-only" TYPE="text" id="beneficiaire" name="beneficiaire" value="<?= $this->nettoyer($ententeprealable['beneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="numeroBeneficiaire" name="numeroBeneficiaire" value="<?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?>">
<INPUT class="sr-only" TYPE="text" id="nomPrescrit" name="nomPrescrit" value="<?= $this->nettoyer($ententeprealable['nomPrescrit']) ?>">
<INPUT class="sr-only" TYPE="text" id="libelleSubstitut" name="libelleSubstitut" value="<?= $this->nettoyer($ententeprealable['libelleSubstitut']) ?>">
<INPUT class="sr-only" TYPE="text" id="telephonePortableAdherent" name="telephonePortableAdherent" value="<?= $this->nettoyer($ententeprealable['telAdherent']) ?>">
<legend> <?= _("Approuver la substitution de médicament") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("No") ?> </td>
<td width="20%"> <INPUT id="numeroDemandeSubstitution" name="numeroDemandeSubstitution" class="form-control" TYPE="text" style='font-size:10pt;text-align:center;' value="<?= $this->nettoyer($ententeprealable['numeroDemandeSubstitution']) ?>" readonly> </td>
<td width="10%" align="center"> <?= _("Médoc Prescrit") ?> </td>
<td colspan="5"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['nomPrescrit']) ?>" readonly> </td>
</tr>
<tr>
<td width="10%" > <?= _("Police") ?> </td>
<td width="20%"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['libellePolice']) ?>" readonly> </td>
<td width="10%" align="center"> <?= _("Médoc Substitut") ?> </td>
<td colspan="3"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['libelleSubstitut']) ?>" readonly> </td>
</tr>
<tr>
<td> Date </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?>" readonly> </td>
<td align="center"> <?= _("Prestataire") ?> </td>
<td colspan="5"> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['prestataire']) ?>" readonly> </td>
</tr>
<tr>
<td> <?= _("Bénéficiaire") ?> </td>
<td colspan="5"><INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= $this->nettoyer($ententeprealable['beneficiaire']) . " ( " . $this->nettoyer($ententeprealable['numeroBeneficiaire']) . " )" ?>" readonly> </td>
</tr>
<tr>
<td class="required"> <?= _("Motif Accord") ?> </td>
<td colspan="7"><INPUT class="form-control" TYPE="text" id="motifReel" NAME="motifReel" style='font-size:10pt;' required AUTOCOMPLETE="OFF" autofocus ></td>
</tr>
<tr>
<td> <?= _("Prix prescrit") ?> </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= format_N($this->nettoyer($ententeprealable['prixPrescription'])) ?>" readonly> </td>
<td align="center"> <?= _("Prix substitut") ?> </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= format_N($this->nettoyer($ententeprealable['prixSubstitution'])) ?>" readonly> </td>
<td align="center" > <?= _("GAP") ?> </td>
<td> <INPUT class="form-control" TYPE="text" style='font-size:10pt;' value="<?= format_N($this->nettoyer($ententeprealable['gap'])) ?>" readonly> </td>
</tr>
<tr>
<td> </td>
<td colspan="7"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value='<?= _("Valider") ?>' onClick="enregistrerapprobation_pha();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php if (isset($msgErreur)): ?>
<div id ="msgErreur" class="alert alert-danger" style="height:38px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
</form>
<div id ="div_wait">
</div>

View File

@ -0,0 +1,23 @@
<?php $this->titre = "INTER-SANTE - Acces Menu Principal"; ?>
<script type="text/javascript">
</script>
<legend> <?= _("Accès menu principal aux utilisateurs assureur ou gestionnaire") ?> </legend>
<table class="table table-condensed table-responsive" style="font-size:10pt;" >
<tbody>
<tr>
<td width="15%" > <?= _("Profil Utilisateurs") ?> </td>
<td>
<SELECT style="font-size:10pt;" class="form-select" id="codeProfil" NAME="codeProfil" required AUTOCOMPLETE="OFF" autofocus onChange="javascript:afficher_menu_principal_profil_assureur();" >
<?php liste_options($profil,""); ?>
</SELECT>
</td>
</tr>
</tbody>
</table>
<div id="div_menu_profil">
</div>

View File

@ -0,0 +1,44 @@
<?php
$this->titre = "INTER-SANTE - Acces sous Menus";
?>
<script type="text/javascript">
</script>
<legend> <?= _("Accès sous menus aux utilisateurs assureur ou gestionnaire") ?> </legend>
<table class="table table-condensed table-responsive" style="font-size:10pt;" >
<tbody>
<tr>
<td width="5%" > <?= _("Profil") ?> </td>
<td width="30%" >
<SELECT style="font-size:10pt;" class="form-select" id="codeProfil" NAME="codeProfil" onChange="javascript:vider_menu_vue_module_assureur();" >
<?php liste_options($profil,""); ?>
</SELECT>
</td>
<td width="5%" align="center"> <?= _("Module") ?> </td>
<td width="15%" >
<SELECT style="font-size:10pt;" class="form-select" id="codeModule" NAME="codeModule" onChange="javascript:ajaxListerVueModule();" >
<?php liste_options($module,""); ?>
</SELECT>
</td>
<td width="5%" align="center"> <?= _("Vue") ?> </td>
<td>
<div id="listevue">
<SELECT class="form-control" id="vue" NAME="vue" style='font-size:10pt;'>
<?php liste_options($listevue, ""); ?>
</SELECT>
</div>
</td>
<td width="10%" > <button type="button" style="font-size:10pt;" class="form-control btn btn-primary" onclick="javascript:afficher_menu_vue_module_assureur();" > <?= _("Actualiser") ?> </button> </th>
</tr>
</tbody>
</table>
<div id="div_menu_profil">
</div>

225
Vue_sav/Actesmedicaux/index.php Executable file
View File

@ -0,0 +1,225 @@
<?php
$this->titre = "INTER-SANTE - "._("Ajout acte médical") ;
$chirurgie = $_SESSION['p_chirurgie_C'];
?>
<form id="frmconsultation" name="frmconsultation" method="post" >
<button class="sr-only" id="btn_pop_tarif" name="btn_pop_tarif" type="button" data-bs-toggle="modal" data-bs-target="#popTarif" style='font-size:10pt;' > </button>
<input class="sr-only" id="codeTypePrestation" name="codeTypePrestation" type="text" value="ACT">
<input class="sr-only" id="codeMedecin" name="codeMedecin" type="text" value= "<?= $_SESSION['p_codeMedecin_C'] ?>">
<INPUT class="sr-only" id="chirurgie_C" name="chirurgie_C" type="text" value="<?= $_SESSION['p_chirurgie_C'] ?>">
<legend> <?= _("Ajouter un acte médical") ?> </legend>
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("T M") ?> </td>
<td width="30%" > <input class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="number" id="tauxCouverture" name="tauxCouverture" value="<?= $_SESSION['p_tm_C'] ?>" readonly ></td>
<td width="10%" align="center"> <?= _("Médecin") ?> </td>
<td>
<button type="button" class="form-control btn btn-primary" data-bs-toggle="modal" data-bs-target="#popRechercheMedecin" style='font-size:10pt;' ><span id="nomMedecin" name="nomMedecin"> <?= $_SESSION['p_medecinConsultation_C'] ?> </span></button>
</td>
</tr>
<tr>
<td> <?= _("Famille Actes") ?> </td>
<td>
<SELECT class="form-control" id="codeFamilleActe" NAME="codeFamilleActe" required AUTOCOMPLETE="OFF" onChange="ajaxactespossibles_med();" style='font-size:10pt;' >
<?php liste_options($familleacte,""); ?>
</SELECT>
</td>
<td align="center"> <?= _("Acte") ?> </td>
<td>
<div id="listeacte">
<SELECT class="form-control" id="codeActe" NAME="codeActe" required AUTOCOMPLETE="OFF" onChange="ajaxprixactemed();" style='font-size:10pt;' >
<?php liste_options($acte,""); ?>
</SELECT>
</div>
</td>
</tr>
<tr>
<td> <?= _("Acte") ?> </td>
<td colspan="3">
<button type="button" class="form-control btn btn-primary" data-bs-toggle="modal" data-bs-target="#popRechercheActe" style='font-size:10pt;' ><span id="libelleActe" name="libelleActe"> <?= _("Rechercher Acte...") ?> </span></button>
</td>
</tr>
</tbody>
</table>
<div id="infosacte" style='font-size:10pt;'>
<INPUT class="sr-only" type="text" id="prixTarif" name="prixTarif" value="0">
<input class="sr-only" type="text" id="ententePrealable" name="ententePrealable" value="0">
<input class="sr-only" type="text" id="acteExclu" name="acteExclu" value="0">
<input class="sr-only" type="text" id="acteChirurgie" name="acteChirurgie" value="0">
<div id="div_tarif">
<input class="sr-only" type="number" id="prixActe" name="prixActe" value="0">
<input class="sr-only" type="number" id="valeurActe" name="valeurActe" value="0">
<input class="sr-only" type="number" id="montantTm" name="montantTm" value="0">
<input class="sr-only" type="number" id="aRembourser" name="aRembourser" value="0">
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("Prix Acte") ?> </td>
<td width="30%" > <input class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="0" readonly> </td>
<td width="10%" align="center"> <?= _("Quantité") ?> </td>
<td width="20%" >
<input class="form-control" type="number" id="quantite" name="quantite" value="1" style="text-align: center; font-size:10pt;'" onChange="ajaxprixactemed();" >
</td>
<td width="10%" align="center"> <?= _("Valeur Acte") ?> </td>
<td width="20%" > <input class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="0" readonly ></td>
</tr>
<tr>
<td > <?= _("T M") ?> </td>
<td align="center" > <input class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="0" readonly ></td>
<td align="center"> <?= _("A Remb") ?> </td>
<td > <input class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="0" readonly ></td>
<td colspan="2"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistreractemedical();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
</div>
<div id="div_fraisExclu">
<input class="sr-only" type="text" id="fraisExclu" name="fraisExclu" value="0" >
</div>
</div>
<div class="modal fade" id="popRechercheMedecin" 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 Médecin...") ?> </h4>
</div>
<div class="modal-body">
<div id="div_listemedecins" >
<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 style="text-align:center" > <?= _("Spécialité") ?> </th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="text" class="form-control" id="noOrdreMedecin" name="noOrdreMedecin" onkeypress="javascript:ctrlkeypress_medecin(event);" style='font-size:10pt;' ></td>
<td><input type="text" class="form-control" id="nomsearch" name="nomsearch" onkeypress="javascript:ctrlkeypress_medecin(event);" 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_medecin();" /></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>
<div class="modal fade" id="popTarif" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button id="btn_close_pop_tarif" name="btn_close_pop_tarif" type="button" class="close" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
<h4 class="modal-title"> <?= _("Modifier Prix...") ?> </h4>
</div>
<div class="modal-body">
<div id="div_ajout_chambre">
<input class="sr-only" type="text" id="codeTypePrestation" name="codeTypePrestation" value="OPT">
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="20%" > <?= _("Nouveau Prix...") ?> </td>
<td width="20%" >
<input class="form-control" type="number" id="prixNew" name="prixNew" style="text-align: center; font-size:10pt;'" value="0" >
</td>
<td><input class = "form-control btn btn-primary" type="button" value="<?= _("Appliquer") ?>" onClick="maj_prix_actemedical();" style='font-size:10pt;' ></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="popRechercheActe" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button id="btn_close_pop_acte" name="btn_close_pop" type="button" class="close" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
<h4 class="modal-title"> <?= _("Rechercher un Acte...") ?> </h4>
</div>
<div class="modal-body">
<div id="div_liste_actes_possibles" onkeypress="javascript:ctrlkeypress_actes_possibles(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"> Code </th>
<th style="text-align:center"> <?= _("Famille") ?> </th>
<th style="text-align:center" > <?= _("Acte") ?> </th>
<th style="text-align:center" > <?= _("Prix") ?> </th>
<th style="text-align:center" > <?= _("Accord") ?> </th>
<th style="text-align:center" > <?= _("Exclu") ?> </th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="3"><input type="text" class="form-control" id="libelleActeSearch" name="libelleActeSearch" style='font-size:10pt;' ></td>
<td colspan="3"><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Rechercher...") ?>" onclick="javascript:afficher_pop_recherche_actes_possibles();" /></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button id="close_pop_acte" name="close_pop_acte" type="button" class="btn btn-default" data-bs-dismiss="modal"> <?= _("Fermer") ?> </button>
</div>
</div>
</div>
</div>
</form>
<div id="div_test">
</div>

62
Vue_sav/Afficherbons/index.php Executable file
View File

@ -0,0 +1,62 @@
<?php
$this->titre = "INTER-SANTE - "._("Afficher bons") ;
?>
<INPUT class="sr-only" TYPE="text" id="idBon_C" name="idBon_C">
<INPUT class="sr-only" TYPE="text" id="numeroBon_C" name="numeroBon_C">
<INPUT class="sr-only" TYPE="text" id="motifAnnulation_C" name="motifAnnulation_C">
<INPUT class="sr-only" TYPE="text" id="codeEtatBon_C" name="codeEtatBon_C">
<legend> <?= _("Filtres pour afficher les bons") ?> </legend>
<table class="table table-responsive table-condensed">
<tbody>
<tr>
<td width="5%" > <?= _("Type") ?> </td>
<td>
<SELECT class="form-control" id="codeTypeBon" NAME="codeTypeBon" required AUTOCOMPLETE="OFF" style='font-size:10pt;'>
<?php liste_options($typebon,""); ?>
</SELECT>
</td>
<td align="center"> <?= _("No Départ") ?> </td>
<td width="15%"> <input class="form-control"style="text-align: center; font-size:10pt;" type="number" id="noDepart" name="noDepart" value="0"
onBlur="controle_numerique(this);" ></td>
<td width="10%" align="center"> <?= _("No Fin") ?> </td>
<td width="15%"><input class="form-control" style="text-align: center; font-size:10pt;" type="number" id="noFin" name="noFin" value="0"
onBlur="controle_numerique(this);" ></td>
<td width="5%" align="center"> <?= _("Etat Bons") ?> </td>
<td>
<SELECT class="form-control" id="codeEtatBon" NAME="codeEtatBon" style='font-size:10pt;'>
<?php liste_options_consultation($etatbon, ""); ?>
</SELECT>
</td>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:afficherbon();"> <?= _("Actualiser") ?> </button> </td>
</tr>
</tbody>
</table>
<div id="div_bonpecs">
<table class="table table-responsive table-condensed table-hover">
<thead>
<tr>
<th style="text-align: center;"> <?= _("No Bon") ?> </th>
<th style="text-align: center;"> <?= _("Attribution") ?> </th>
<th style="text-align: center;"> <?= _("Réception") ?> </th>
<th style="text-align: center;"> <?= _("Reçu par") ?> </th>
<th style="text-align: center;"> <?= _("Etat Bons") ?> </th>
<th style="text-align: center;"> No Benef </th>
<th style="text-align: center;"> <?= _("Bénéficiaire") ?> </th>
<th style="text-align: center;"> <?= _("Utilisation") ?> </th>
<th style="text-align: center;"> <?= _("Date Util") ?> </th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>

52
Vue_sav/Afficherged/index.php Executable file
View File

@ -0,0 +1,52 @@
<?php
$this->titre = "INTER-SANTE - "._("Afficher GED") ;
?>
<form id="frmafficherged" name="frmafficherged" method="post" action="Afficherged/index/">
<fieldset>
<legend> <?= _("Filtres pour afficher les documents") ?> </legend>
<table class="table table-responsive table-condensed">
<tbody>
<tr>
<td width="12%"> <?= _("Nom du fichier") ?> </td>
<td><INPUT class="form-control" TYPE="text" id="nomOrigine" name="nomOrigine" value="<?= $nomOrigine ?>"></td>
<td align="center" width="12%"> <?= _("Code secret") ?> </td>
<td width="20%"><INPUT class="form-control" TYPE="text" id="codeSecret" name="codeSecret" value="<?= $codeSecret ?>"></td>
</tr>
</tbody>
</table>
</fieldset>
<fieldset>
<legend> <?= _("Résultats de la recherche :") ?> <input class = "btn btn-primary" id="lancerrecherche" name="lancerrecherche" type="submit" value="Actualiser la liste" /> </legend>
<table class="table table-responsive table-condensed table-hover" style="font-size: 9pt;">
<thead>
<tr>
<th> <?= _("Document") ?> </th>
<th> <?= _("Chargé par") ?> </th>
<th> <?= _("Chargé le") ?> </th>
<th> <?= _("Prestataire") ?> </th>
<th> <?= _("Afficher") ?> </th>
<th> <?= _("Télécharger") ?> </th>
<th> <?= _("Code secret") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($geds as $ged):?>
<tr valign="top">
<td><?= $this->nettoyer($ged['nomOrigine']) ?></td>
<td><?= $this->nettoyer($ged['utilisateur']) ?></td>
<td><?= dateLang($this->nettoyer($ged['dateSysteme'])) ?></td>
<td><?= $this->nettoyer($ged['prestataire']) ?></td>
<td><input type="button" class="btn btn-primary" value="Afficher" onClick="javascript:afficherged('<?= $this->nettoyer($ged['cheminFichier']) ?>');"></td>
<td> <a href="<?= $this->nettoyer($ged['cheminFichier']) ?>" download="<?= $this->nettoyer($ged['nomOrigine']) ?>" > <?= _("Télécharger") ?> </a> </td>
<td><?= $this->nettoyer($ged['codeSecret']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</fieldset>
</form>

View File

@ -0,0 +1,5 @@
<input type="hidden" id="id_fichier" value="<?= $fichiers['id'];?>">
<input type="hidden" id="fichier_ajouter" value="<?= $fichiers['fichierAjouter'];?>">
<input type="hidden" id="fichier_modifier" value="<?= $fichiers['fichierModifier'];?>">
<input type="hidden" id="fichier_lister" value="<?= $fichiers['fichierLlister'];?>">
<input type="hidden" id="table_name" value="<?= $fichiers['tableName'];?>">

View File

@ -0,0 +1,3 @@
<div id="div_id_acte_acte">
<input type="text" id="idActe" name="idActe" value="<?= $idActe ?>" >
</div>

View File

@ -0,0 +1 @@
OK enregistrermodifcaracteristiquesacte

View File

@ -0,0 +1,106 @@
<div id="div_fiche_acte">
<?php
$idActe = $this->nettoyer($acte['id']);
$codeActe = $acte['codeActe'];
$codeFamilleActe = $acte['codeFamilleActe'];
$ententePrealable = $acte['ententePrealable'];
$exclu = $acte['exclu'];
$chirurgie = $acte['chirurgie'];
$actif = $acte['actif'];
$codeGarantie = $acte['codeGarantie'];
$codeTarifActe = $acte['codeTarifActe'];
$codeTypePrestation = $acte['codeTypePrestation'];
$alerte = $acte['alerte'];
$delaiCarenceActe = $acte['delaiCarenceActe'];
?>
<input class="sr-only" type="text" id="idActe" name="idActe" value="<?= $idActe ?>" >
<input class="sr-only" type="text" id="codeActe" name="codeActe" value="<?= $codeActe ?>" >
<table class="table table-responsive table-condensed" style="font-size:10pt;">
<tbody>
<tr>
<td width="10%" > Français </td>
<td colspan="3" width="40%" ><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelle" NAME="libelle" value="<?=$this->nettoyer( $acte['libelle'])?>" required AUTOCOMPLETE="OFF" ></td>
<td width="10%" align="center" > English </td>
<td colspan="5"><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelleEng" NAME="libelleEng" value="<?=$this->nettoyer( $acte['libelleEng'])?>" required AUTOCOMPLETE="OFF" ></td>
</tr>
<tr>
<td> <?= _("Famille") ?> </td>
<td colspan="3" >
<SELECT class="form-control" id="codeFamilleActeMaj" NAME="codeFamilleActeMaj" autofocus style="font-size:10pt;">
<?php liste_options_consultation($familleacte, $codeFamilleActe , true); ?>
</SELECT>
</td>
<td align="center" > <?= _("Garantie") ?> </td>
<td colspan="5">
<SELECT class="form-control" id="codeGarantie" NAME="codeGarantie" style='font-size:10pt; text-align:center;' >
<?php liste_options($garanties, $codeGarantie, true); ?>
</SELECT>
</td>
</tr>
<tr>
<td> <?= _("Tarif") ?> </td>
<td colspan="3" >
<SELECT class="form-control" id="codeTarifActe" NAME="codeTarifActe" autofocus style="font-size:10pt;">
<?php liste_options_consultation($tarifs, $codeTarifActe , true); ?>
</SELECT>
</td>
<td align="center" > <?= _("Type") ?> </td>
<td colspan="5">
<SELECT class="form-control" id="codeTypePrestation" NAME="codeTypePrestation" style='font-size:10pt; text-align:center;' >
<?php liste_options($typesprestation, $codeTypePrestation, true); ?>
</SELECT>
</td>
</tr>
<tr>
<td align="center" > <?= _("Accord Préalable?") ?> </td>
<td>
<SELECT class="form-control" id="ententePrealable" NAME="ententePrealable" style='font-size:10pt; text-align:center;' >
<?php liste_options($acte_ententePrealable, $ententePrealable, true); ?>
</SELECT>
</td>
<td align="center" > <?= _("Exclu?") ?> </td>
<td>
<SELECT class="form-control" id="exclu" NAME="exclu" style='font-size:10pt; text-align:center;' >
<?php liste_options($acte_exclu, $exclu, true); ?>
</SELECT>
</td>
<td align="center" > <?= _("Actif?") ?> </td>
<td>
<SELECT class="form-control" id="actif" NAME="actif" style='font-size:10pt; text-align:center;' >
<?php liste_options($acte_actif, $actif, true); ?>
</SELECT>
</td>
<td align="center" > <?= _("Alerte?") ?> </td>
<td>
<SELECT class="form-control" id="alerte" NAME="alerte" style='font-size:10pt; text-align:center;' >
<?php liste_options($acte_alerte, $actif, true); ?>
</SELECT>
</td>
<td align="center"> <?= _("Dél Car") ?> </td>
<td width="10%"><INPUT style='font-size:10pt; text-align:center;' class="form-control" TYPE="text" id="delaiCarenceActe" NAME="delaiCarenceActe" value="<?= $delaiCarenceActe ?>" onBlur="controle_numerique(this);"></td>
</tr>
<tr>
<td> </td>
<td colspan="3"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_modif_caracteristiques_un_acte();" style='font-size:10pt;' > </td>
<td> </td>
<td colspan="5"> <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:effacer_caracteristiques_un_acte();" style='font-size:9pt;' > </td>
</tr>
</tbody>
</table>
</div>

View File

@ -0,0 +1,39 @@
<div id="div_fiche_acte">
<?php
$idActe = $this->nettoyer($acte['id']);
$codeActe = $acte['codeActe'];
$codeFamilleActe = $acte['codeFamilleActe'];
$ententePrealable = $acte['ententePrealable'];
$exclu = $acte['exclu'];
$chirurgie = $acte['chirurgie'];
$actif = $acte['actif'];
?>
<input class="sr-only" type="text" id="idActe" name="idActe" value="<?= $idActe ?>" >
<input class="sr-only" type="text" id="codeActe" name="codeActe" value="<?= $codeActe ?>" >
<table class="table table-responsive table-condensed" style="font-size:10pt;">
<tbody>
<tr>
<td width="10%" > <?= _("Désignation") ?> </td>
<td width="40%" ><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelle" NAME="libelle" value="<?=$this->nettoyer( $acte['libelle'])?>" required AUTOCOMPLETE="OFF" ></td>
<td width="10%" align="center" > <?= _("Famille") ?> </td>
<td>
<SELECT class="form-control" id="codeFamilleActe" NAME="codeFamilleActe" autofocus style="font-size:9pt;">
<?php liste_options_consultation($familleacte, $codeFamilleActe , true); ?>
</SELECT>
</td>
</tr>
<tr>
<td> </td>
<td> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_modif_requeteperso();" style='font-size:10pt;' > </td>
<td> </td>
<td> <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:effacer_caracteristiques_un_acte();" style='font-size:9pt;' > </td>
</tr>
</tbody>
</table>
</div>

View File

@ -0,0 +1,79 @@
<div id="div_detail_actes">
<div id="div_id_acte_acte">
</div>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabspeciale compact" style="font-size:8pt; paddind:0px;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Acte") ?> </th>
<th style='text-align:center'> <?= _("Code") ?> </th>
<th style='text-align:center'> <?= _("Famille") ?> </th>
<th width="4%" style='text-align:center'> Type </th>
<th width="3%" style='text-align:center'> <?= _("Garantie") ?> </th>
<th width="3%" style='text-align:center'> <?= _("Accord?") ?> </th>
<th width="4%" style='text-align:center'> <?= _("Exclu?") ?> </th>
<!-- <th width="3%" style='text-align:center'> <?= _("Chir?") ?> </th> -->
<th width="4%" style='text-align:center'> <?= _("Actif?") ?> </th>
<th width="4%" style='text-align:center'> <?= _("Délai Carence") ?> </th>
<th style='text-align:center'> <?= _("Modif") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($actes as $acte):
$idActe = $this->nettoyer($acte['id']);
$codeActe = $acte['codeActe'];
$ententePrealable = $acte['ententePrealable'];
$exclu = $acte['exclu'];
$chirurgie = $acte['chirurgie'];
$actif = $acte['actif'];
$libelleActe = $this->nettoyer($acte['libelle']);
if (est_anglophone())
{
$libelleActe = $this->nettoyer($acte['libelleEng']);
}
?>
<tr valign="top">
<td><?= $libelleActe ?></td>
<td align='center'><?= $codeActe ?></td>
<td><?= $this->nettoyer($acte['libelleFamilleActe']) ?></td>
<td align='center'><?= $this->nettoyer($acte['codeTypePrestation']) ?></td>
<td align='center'><?= $this->nettoyer($acte['codeGarantie']) ?></td>
<?php if ($ententePrealable=="1"): ?>
<td align='center'> <input type="checkbox" checked disabled style='font-size:8pt;' ></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled style='font-size:8pt;' ></td>
<?php endif; ?>
<?php if ($exclu=="1"): ?>
<td align='center'> <input type="checkbox" checked disabled style='font-size:8pt;' ></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled style='font-size:8pt;' ></td>
<?php endif; ?>
<!--
<?php if ($chirurgie=="1"): ?>
<td align='center'> <input type="checkbox" checked disabled style='font-size:8pt;' ></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled style='font-size:8pt;' ></td>
<?php endif; ?>
-->
<?php if ($actif=="1"): ?>
<td align='center'> <input type="checkbox" checked disabled style='font-size:8pt;' ></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled style='font-size:8pt;' ></td>
<?php endif; ?>
<td align='center'><?= $this->nettoyer($acte['delaiCarenceActe']) ?></td>
<td>
<input class = "form-control btn btn-info" type="button" value="<?= _("Modif") ?>" onClick="javascript:afficher_caracteristiques_un_acte(<?= $idActe ?>);" style='font-size:8pt;' >
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,79 @@
<?php
$adminSin = $_SESSION['adminSin'];
?>
<div id="div_detail_actes">
<div id="div_id_acte_acte">
</div>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabspeciale compact" style="font-size:8pt; paddind:0px;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Acte") ?> </th>
<th style='text-align:center'> <?= _("Code") ?> </th>
<th style='text-align:center'> <?= _("Famille") ?> </th>
<th width="5%" style='text-align:center'> Type </th>
<th width="5%" style='text-align:center'> <?= _("Gar") ?> </th>
<th width="5%" style='text-align:center'> <?= _("Acc?") ?> </th>
<th width="5%" style='text-align:center'> <?= _("Exclu?") ?> </th>
<th width="5%" style='text-align:center'> <?= _("Actif?") ?> </th>
<th width="5%" style='text-align:center'> <?= _("Dél Car") ?> </th>
<th style='text-align:center'> <?= _("Modif") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($actes as $acte):
$idActe = $this->nettoyer($acte['id']);
$codeActe = $acte['codeActe'];
$ententePrealable = $acte['ententePrealable'];
$exclu = $acte['exclu'];
$chirurgie = $acte['chirurgie'];
$actif = $acte['actif'];
$libelleActe = $this->nettoyer($acte['libelleActe']);
if (est_anglophone())
{
$libelleActe = $this->nettoyer($acte['libelleActeEng']);
}
?>
<tr valign="top">
<td><?= $libelleActe ?></td>
<td width="10%" align='center'><?= $codeActe ?></td>
<td><?= $this->nettoyer($acte['libelleFamilleActe']) ?></td>
<td align='center'><?= $this->nettoyer($acte['codeTypePrestation']) ?></td>
<td align='center'><?= $this->nettoyer($acte['codeGarantie']) ?></td>
<?php if ($ententePrealable=="1"): ?>
<td align='center'> <input type="checkbox" checked disabled style='font-size:8pt;' ></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled style='font-size:8pt;' ></td>
<?php endif; ?>
<?php if ($exclu=="1"): ?>
<td align='center'> <input type="checkbox" checked disabled style='font-size:8pt;' ></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled style='font-size:8pt;' ></td>
<?php endif; ?>
<?php if ($actif=="1"): ?>
<td align='center'> <input type="checkbox" checked disabled style='font-size:8pt;' ></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled style='font-size:8pt;' ></td>
<?php endif; ?>
<td align='center'><?= $this->nettoyer($acte['delaiCarenceActe']) ?></td>
<?php if($adminSin=="1") : ?>
<td> <input class = "form-control btn btn-info" type="button" value="<?= _("Modif") ?>" onClick="javascript:modifier_un_acte(<?= $idActe ?>);" style='font-size:8pt;' > </td>
<?php else: ?>
<td> <input class = "form-control btn btn-info" type="button" value="<?= _("Modif") ?>" disabled style='font-size:8pt;' > </td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,79 @@
<?php
$adminSin = $_SESSION['adminSin'];
?>
<div id="div_detail_actes">
<div id="div_id_acte_acte">
</div>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabspeciale compact" style="font-size:8pt; paddind:0px;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Acte") ?> </th>
<th style='text-align:center'> <?= _("Code") ?> </th>
<th style='text-align:center'> <?= _("Famille") ?> </th>
<th width="5%" style='text-align:center'> Type </th>
<th width="5%" style='text-align:center'> <?= _("Gar") ?> </th>
<th width="5%" style='text-align:center'> <?= _("Acc?") ?> </th>
<th width="5%" style='text-align:center'> <?= _("Exclu?") ?> </th>
<th width="5%" style='text-align:center'> <?= _("Actif?") ?> </th>
<th width="5%" style='text-align:center'> <?= _("Dél Car") ?> </th>
<th style='text-align:center'> <?= _("Modif") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($actes as $acte):
$idActe = $this->nettoyer($acte['id']);
$codeActe = $acte['codeActe'];
$ententePrealable = $acte['ententePrealable'];
$exclu = $acte['exclu'];
$chirurgie = $acte['chirurgie'];
$actif = $acte['actif'];
$libelleActe = $this->nettoyer($acte['libelleActe']);
if (est_anglophone())
{
$libelleActe = $this->nettoyer($acte['libelleActeEng']);
}
?>
<tr valign="top">
<td><?= $libelleActe ?></td>
<td width="10%" align='center'><?= $codeActe ?></td>
<td><?= $this->nettoyer($acte['libelleFamilleActe']) ?></td>
<td align='center'><?= $this->nettoyer($acte['codeTypePrestation']) ?></td>
<td align='center'><?= $this->nettoyer($acte['codeGarantie']) ?></td>
<?php if ($ententePrealable=="1"): ?>
<td align='center'> <input type="checkbox" checked disabled style='font-size:8pt;' ></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled style='font-size:8pt;' ></td>
<?php endif; ?>
<?php if ($exclu=="1"): ?>
<td align='center'> <input type="checkbox" checked disabled style='font-size:8pt;' ></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled style='font-size:8pt;' ></td>
<?php endif; ?>
<?php if ($actif=="1"): ?>
<td align='center'> <input type="checkbox" checked disabled style='font-size:8pt;' ></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled style='font-size:8pt;' ></td>
<?php endif; ?>
<td align='center'><?= $this->nettoyer($acte['delaiCarenceActe']) ?></td>
<?php if($adminSin=="1") : ?>
<td> <input class = "form-control btn btn-info" type="button" value="<?= _("Modif") ?>" onClick="javascript:modifier_un_acte(<?= $idActe ?>);" style='font-size:8pt;' > </td>
<?php else: ?>
<td> <input class = "form-control btn btn-info" type="button" value="<?= _("Modif") ?>" disabled style='font-size:8pt;' > </td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,77 @@
<div id="div_ententeprealable">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center'> No </th>
<th rowspan="2" style='text-align:center'> Date </th>
<th rowspan="2" style='text-align:center'> <?= _("Acte") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Prestataire") ?> </th>
<th rowspan="2" colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Répondue le") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Répondue par") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Situation") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Tarif") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Motif Réponse") ?> </th>
</tr>
<tr>
<th style='text-align:center'> <?= _("Conventionné") ?> </th>
<th style='text-align:center'> <?= _("Autoris") ?> </th>
<th style='text-align:center'> <?= _("Réel") ?> </th>
<th style='text-align:center'> <?= _("A l'assuré") ?> </th>
</tr>
<tbody>
<?php foreach ($ententeprealables as $ententeprealable):
$idDemandeautorisation = $this->nettoyer($ententeprealable['idDemandeautorisation']);
$codeReponseAutorisation = $this->nettoyer($ententeprealable['codeReponseAutorisation']);
?>
<?php if($codeReponseAutorisation=='2'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($codeReponseAutorisation=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($codeReponseAutorisation=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td align='center'><?= $this->nettoyer($ententeprealable['numeroAutorisation']) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['libelleActe']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['prestataire']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?></td>
<td><?= $this->nettoyer($ententeprealable['beneficiaire']) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($ententeprealable['dateReponse'])) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['responsableAccord']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['reponseAutorisation']) ?></td>
<td align='center'> <?= format_N($this->nettoyer($ententeprealable['prixTarif'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($ententeprealable['valeurActe'])) ?></td>
<?php if ($codeReponseAutorisation=='2'): ?>
<td align="center" >
<input style="color:blue;" type="button" value="<?= _("Accepter") ?>"
onClick="javascript:accepter_acte_exclu_2(<?= $idDemandeautorisation ?>);">
</td>
<td align="center">
<input style="color:red;" type="button" value="<?= _("Refuser") ?>"
onClick="javascript:refuser_acte_exclu_2(<?= $idDemandeautorisation ?>, '2');">
</td>
<?php elseif($codeReponseAutorisation=='1'): ?>
<td colspan="2" align='center'><?= $this->nettoyer($ententeprealable['motifReel']) ?></td>
<?php elseif($codeReponseAutorisation=='9'): ?>
<td align='center'><?= $this->nettoyer($ententeprealable['motifReel']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['motifRefusAssure']) ?></td>
<?php endif; ?>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,73 @@
<div id="div_ententeprealable">
<table class="table table-striped table-bordered table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center'> No </th>
<th rowspan="2" style='text-align:center'> Date </th>
<th rowspan="2" style='text-align:center'> <?= _("Acte") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Prestataire") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Répondue le") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Répondue par") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Situation") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Tarif") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Motif Réponse") ?> </th>
</tr>
<tr>
<th style='text-align:center'> <?= _("Conventionné") ?> </th>
<th style='text-align:center'> <?= _("Autoris") ?> </th>
<th style='text-align:center'> <?= _("Réel") ?> </th>
<th style='text-align:center'> <?= _("A l'assuré") ?> </th>
</tr>
<tbody>
<?php foreach ($ententeprealables as $ententeprealable):
$idDemandeautorisation = $this->nettoyer($ententeprealable['idDemandeautorisation']);
$codeReponseAutorisation = $this->nettoyer($ententeprealable['codeReponseAutorisation']);
?>
<?php if($codeReponseAutorisation=='2'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($codeReponseAutorisation=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($codeReponseAutorisation=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td align='center'><?= $this->nettoyer($ententeprealable['numeroAutorisation']) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['libelleActe']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['prestataire']) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($ententeprealable['dateReponse'])) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['responsableAccord']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['reponseAutorisation']) ?></td>
<td align='center'> <?= format_N($this->nettoyer($ententeprealable['prixTarif'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($ententeprealable['valeurActe'])) ?></td>
<?php if ($codeReponseAutorisation=='2'): ?>
<td align="center" >
<input style="color:blue;" type="button" value="<?= _("Accepter") ?>"
onClick="javascript:accepter_acte_exclu(<?= $idDemandeautorisation ?>);">
</td>
<td align="center">
<input style="color:red;" type="button" value="<?= _("Refuser") ?>"
onClick="javascript:refuser_acte_exclu(<?= $idDemandeautorisation ?>, '2');">
</td>
<?php elseif($codeReponseAutorisation=='1'): ?>
<td colspan="2" align='center'><?= $this->nettoyer($ententeprealable['motifReel']) ?></td>
<?php elseif($codeReponseAutorisation=='9'): ?>
<td align='center'><?= $this->nettoyer($ententeprealable['motifReel']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['motifRefusAssure']) ?></td>
<?php endif; ?>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,60 @@
<div id="div_actesproduit">
<div id="div_non_exclus">
<legend class="text-center"> <?= _("Non exclu") ?> </legend>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" style="font-size:10pt;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Acte ")."(".count($actes_non_exclus).")"; ?> </th>
<th width="10%" style='text-align:center'> => </th>
</tr>
<tr>
<th colspan="2"> <button type="button" style="font-size:10pt; width:100%;" class="form-control btn btn-primary" onclick="javascript:ajouter_tous_actesexclus_produit();" > <?= _("Ajouter tous"). " ==>" ?> </button></th>
</tr>
</thead>
<tbody>
<?php foreach ($actes_non_exclus as $v):
$codeActe = $v['codeActe'];
?>
<tr valign="top">
<td align='left'><?= $this->nettoyer($v['acte']) ?></td>
<td align='center'> <input type="button" value="=>" onClick="javascript:ajouter_un_acteexclu_produit('<?=$codeActe?>');" ></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<div id="div_exclus">
<legend class="text-center"> <?= _("Exclus") ?> </legend>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" style="font-size:10pt;">
<thead>
<tr>
<th width="10%" style='text-align:center'> <= </th>
<th align='center'> <?= _("Acte ")."(".count($actes_exclus).")"; ?> </th>
</tr>
<tr>
<td colspan="6"> <button type="button" style="font-size:10pt; width:100%;" class="form-control btn btn-danger" onclick="javascript:retirer_tous_actesexclus_produit();" > <?= "<== " . _("Retirer tous") ?> </button> </td>
</tr>
</thead>
<tbody>
<?php foreach ($actes_exclus as $v):
$idActe = $v['id'];
$codeActe = $v['codeActe'];
?>
<tr valign="top">
<td align='center'> <input type="button" value="<=" onClick="javascript:retirer_un_acteexclu_produit(<?=$idActe?>);" ></td>
<td align='left'><?= $this->nettoyer($v['acte']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>

View File

@ -0,0 +1,3 @@
<div id="div_actesproduit">
OK ajoutertousactesproduit
</div>

View File

@ -0,0 +1,3 @@
<div id="div_actesproduit">
OK ajouterunacteproduit
</div>

View File

@ -0,0 +1 @@
Accès Réseau et Tickets Modérateurs

View File

@ -0,0 +1,3 @@
<div id="div_actesproduit">
OK retirertousactesproduit
</div>

View File

@ -0,0 +1,3 @@
<div id="div_actesproduit">
OK retirerunacteproduit
</div>

View File

@ -0,0 +1,268 @@
<?php
$idGarantie = $_SESSION['idGarantie'];
$codeGarantie = $this->nettoyer($garantie['codeGarantie']);
$garantie = $this->nettoyer($garantie['libelle']);
if (est_anglophone())
{
$garantie = $this->nettoyer($garantie['libelleEng']);
}
?>
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-bs-dismiss="modal" onclick="javascript:majgarantiebareme('<?=$codeGarantie?>');">&times;</button>
<legend class="modal-title text-center"><?= $garantie; ?></legend>
</div>
<div class="modal-body">
<INPUT class="sr-only" TYPE="text" id="codeGarantie" name="codeGarantie" value="<?= $codeGarantie; ?>">
<INPUT class="sr-only" TYPE="text" id="idBaremePriseEnCharge" name="idBaremePriseEnCharge" value="<?= $_SESSION['idBaremePriseEnCharge']; ?>">
<INPUT class="sr-only" TYPE="text" id="idGarantie" name="idGarantie" value="<?= $idGarantie; ?>">
<div id="div_familleacte">
<div id="div_entetefamilleacte">
<?php $nbreFamilleacte = count($familleacte);?>
<?php if ($nbreFamilleacte > 1) : ?>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;" >
<tbody>
<td width="31%">
<input style='font-size:8pt;' id="btn_familleacte" name="btn_familleacte" disabled
class = "form-control btn " type="button" value="<?= _("La même valeur s'appliquera à toutes les familles") ?>">
</td>
<td align='center' width="12%">
<select class="form-control text-center" style="font-size:8pt;" id="forfaitFamilleActe" name="forfaitFamilleActe"
onChange="majtoutforfaitfamilleacte();">
<?= liste_options($forfaitTaux,'1',true) ?>
</select>
</td>
<td width="15%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" value="0" onkeyup="controle_numerique(this);"
onblur="formatMonetaire(this);" id="plafondFamilleActe" name="plafondFamilleActe" onChange="majtoutplafondfamilleacte();">
</td>
<td width="9%" align='center'>
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" value="0" onkeyup="controle_numerique(this);"
id="nbreTransactionFamilleActe" name="nbreTransactionFamilleActe" onChange="majtoutnbretransactionfamilleacte();">
</td>
<td align='center' width="13%">
<select class="form-control text-center" style="font-size:8pt;" id="codePeriodiciteFamilleActe" name="codePeriodiciteFamilleActe"
onChange="majtoutperiodicitefamilleacte();">
<?= liste_options($periodicite,'',true) ?>
</select>
</td>
<td align='center' width="20%">
<select class="form-control text-center" style="font-size:8pt;" id="codeObservationFamilleActe" name="codeObservationFamilleActe"
onChange="majtoutobservationfamilleacte();">
<?= liste_options($observation,'',true) ?>
</select>
</td>
<td align='center' width="6%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" value="0" onkeyup="controle_numerique(this);"
id="delaiCarenceFamilleActe" name="delaiCarenceFamilleActe" onChange="majtoutdelaicarencefamilleacte();">
</td>
<td align='center' >
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" value="0" onkeyup="controle_numerique(this);"
id="ticketModerateurFamilleActe" name="ticketModerateurFamilleActe" onChange="majtoutticketmoderateurfamilleacte();">
</td>
</tbody>
</table>
<?php endif; ?>
</div>
<div id="div_corpsfamilleacte">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;" >
<thead>
<tr>
<th rowspan="2" width="31%" style='text-align:center'> <?= _("Famille acte ")."(".$nbreFamilleacte.")"; ?> </th>
<th colspan="5" style='text-align:center'> <?= _("Plafond") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Carence") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("TM") ?> </th>
</tr>
<tr>
<th style='text-align:center' width="10%"> <?= _("Choix") ?> </th>
<th style='text-align:center' width="12%"> <?= _("Valeur") ?> </th>
<th style='text-align:center' width="9%"> <?= _("Transaction") ?> </th>
<th style='text-align:center' width="10%"> <?= _("Périodicité") ?> </th>
<th style='text-align:center' width="12%"> <?= _("Observation") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($familleacte as $v):
$idFamilleacte = $this->nettoyer($v['id']);
$codeFamilleActe = $this->nettoyer($v['codeFamilleActe']);
$libelle = $this->nettoyer($v['libelle']);
if (est_anglophone())
{
$libelle = $this->nettoyer($v['libelleEng']);
}
?>
<tr valign="top">
<td width="31%" style="font-size:8pt;" align='center'><?= $libelle; ?></td>
<td align='center' width="11%">
<select class="form-control text-center" style="font-size:8pt;"
onChange="ajax_maj_forfait_familleacte_bareme('<?=$idFamilleacte?>', this.value, this)">
<?= liste_options($forfaitTaux,'1',true) ?>
</select>
</td>
<td width="12%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);"
value="<?= format_N($this->nettoyer($v['forfaitPlafond']))?>"
onChange="ajax_maj_plafond_familleacte_bareme('<?=$idFamilleacte?>', this.value, this)">
</td>
<td width="9%" align='center' >
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);"
value="<?=$this->nettoyer($v['nbreTransaction'])?>" onChange="ajax_maj_nbretransaction_familleacte_bareme('<?=$idFamilleacte?>', this.value, this)">
</td>
<td align='center' width="11%">
<select class="form-control text-center" style="font-size:8pt;" onChange="ajax_maj_periodicite_familleacte_bareme('<?=$idFamilleacte?>', this.value, this)">
<?= liste_options($periodicite,$this->nettoyer($v['codePeriodicite']),true) ?>
</select>
</td>
<td align='center' width="12%">
<select class="form-control text-center" style="font-size:8pt;" onChange="ajax_maj_observation_familleacte_bareme('<?=$idFamilleacte?>', this.value, this)">
<?= liste_options($observation,$this->nettoyer($v['codeObservation']),true) ?>
</select>
</td>
<td align='center' width="7%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);"
value="<?=$this->nettoyer($v['delaiCarenceFamilleActe'])?>"
onChange="ajax_maj_delaicarence_familleacte_bareme('<?=$idFamilleacte?>', this.value, this);">
</td>
<td align='center' width="8%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);"
value="<?=$this->nettoyer($v['ticketModerateur'])?>"
onChange="ajax_maj_ticketmoderateur_familleacte_bareme('<?=$idFamilleacte?>', this.value, this);">
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
<hr style="border: 10px solid #a6a6a6; border-radius: 5px;" />
<div id="div_acte">
<div id="div_enteteacte">
<?php $nbreActe = count($actes);?>
<?php if ($nbreActe > 1) : ?>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;" >
<tbody>
<td width="31%">
<input style='font-size:10pt;' id="btn_acte" name="btn_acte" disabled
class = "form-control btn " type="button" value="<?= _("Valeur identique pour tous les actes") ?>">
</td>
<td align='center' width="11%">
<select class="form-control text-center" style="font-size:8pt;" id="forfaitActe" name="forfaitActe"
onChange="majtoutforfaitactebareme();" >
<?= liste_options($forfaitTaux,'1',true) ?>
</select>
</td>
<td width="12%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);"
onblur="formatMonetaire(this);" value="0" id="plafondActe" name="plafondActe" onChange="majtoutplafondactebareme();">
</td>
<td width="9%" align='center'>
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" value="0" onkeyup="controle_numerique(this);"
id="nbreTransactionActe" name="nbreTransactionActe" onChange="majtoutnbretransactionactebareme();">
</td>
<td align='center' width="11%">
<select class="form-control text-center" style="font-size:8pt;" id="codePeriodiciteActe" name="codePeriodiciteActe"
onChange="majtoutcodeperiodiciteactebareme();">
<?= liste_options($periodicite,'',false) ?>
</select>
</td>
<td align='center' width="12%">
<select class="form-control text-center" style="font-size:8pt;" id="codeObservationActe" name="codeObservationActe"
onChange="majtoutobservationactebareme();">
<?= liste_options($observation,'',false) ?>
</select>
</td>
<td align='center' width="7%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" value="0" onkeyup="controle_numerique(this);"
id="delaiCarenceActe" name="delaiCarenceActe" onChange="majtoutdelaicarenceactebareme();">
</td>
<td align='center' width="8%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" value="0" onkeyup="controle_numerique(this);"
id="ticketModerateurActe" name="ticketModerateurActe" onChange="majtoutticketmoderateuractebareme();">
</td>
</tbody>
</table>
<?php endif; ?>
</div>
<div id="div_corpsacte" >
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;" >
<thead style="display: block;">
<tr>
<th rowspan="2" style='text-align:center' width="31%"> <?= _("Actes ")."(".$nbreActe.")"; ?> </th>
<th colspan="5" style='text-align:center'> <?= _("Plafond") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Delai Carence") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Ticket Modérateur") ?> </th>
</tr>
<tr>
<th style='text-align:center' width="10%"> <?= _("Choix") ?> </th>
<th style='text-align:center' width="12%"> <?= _("Valeur") ?> </th>
<th style='text-align:center' width="9%"> <?= _("Transaction") ?> </th>
<th style='text-align:center' width="10%"> <?= _("Périodicité") ?> </th>
<th style='text-align:center' width="12%"> <?= _("Observation") ?> </th>
</tr>
</thead>
<tbody style="overflow:auto; height:210px; display:block;">
<?php foreach ($actes as $v):
$idActe = $this->nettoyer($v['id']);
$libelle = $this->nettoyer($v['libelle']);
if (est_anglophone())
{
$libelle = $this->nettoyer($v['libelleEng']);
}
?>
<tr valign="top">
<td align='center' width="31%">
<input type="button" style='font-size:8pt; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width:264px;' class="form-control btn btn-danger" id="btn_acte" value="<?= $libelle ?>"
onClick="javascript:supprimer_actes(<?=$idActe?>);" title="Cliquez pour supprimer cet acte.">
</td>
<td align='center' width="11%">
<select class="form-control text-center" onChange="ajax_maj_forfait_bareme('<?=$idActe?>', this.value, this);" >
<?= liste_options($forfaitTaux,"1",true) ?>
</select>
</td>
<td width="12%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);"
onChange="ajax_maj_plafond_bareme('<?=$idActe?>', this.value, this);" onblur="formatMonetaire(this);"
value="<?= format_N($this->nettoyer($v['forfaitPlafond'])); ?>">
</td>
<td align='center' width="9%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);"
onChange="ajax_maj_nbreTransaction_bareme('<?=$idActe?>', this.value, this);"
value="<?=$this->nettoyer($v['nbreTransaction'])?>">
</td>
<td align='center' width="11%">
<select class="form-control text-center" onChange="ajax_maj_codeperiodicite_bareme('<?=$idActe?>', this.value, this);">
<?= liste_options($periodicite,$this->nettoyer($v['codePeriodicite']),true) ?>
</select>
</td>
<td align='center' width="12%">
<select class="form-control text-center" onChange="ajax_maj_codeobservation_bareme('<?=$idActe?>', this.value, this);">
<?= liste_options($observation,$this->nettoyer($v['codeObservation']),true) ?>
</select>
</td>
<td align='center' width="7%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);"
onChange="ajax_maj_delaicarenceacte_bareme('<?=$idActe?>', this.value, this);"
value="<?=$this->nettoyer($v['delaiCarenceActe'])?>">
</td>
<td align='center' width="8%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);"
onChange="ajax_maj_ticketmoderateur_acte_bareme('<?=$idActe?>', this.value, this);"
value="<?=$this->nettoyer($v['ticketModerateur'])?>">
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" id="btn-fermer-modal" class="btn btn-default" data-bs-dismiss="modal" onclick="javascript:majgarantiebareme('<?=$codeGarantie?>');">Fermer</button>
</div>
</div>
</div>
</div>

View File

@ -0,0 +1,3 @@
<?php
include $_SESSION['dossierSociete'].'/Tarifs/Vue/Ajaxfamilleacteexamen.php';
?>

View File

@ -0,0 +1,3 @@
<?php
include $_SESSION['dossierSociete'].'/Tarifs/Vue/Ajaxactesgarantiestatus.php';
?>

View File

@ -0,0 +1,132 @@
<div id="div_prestations">
<INPUT class="sr-only" id="numeroEntentePrealable" name="numeroEntentePrealable" type="text" value="<?= $numeroEntentePrealable ?>">
<?php
$actVisible = $_SESSION['p_actVisible'];
$actVisible = $_SESSION['p_actVisible'];
$bonCaduc = $_SESSION['p_bonCaduc'];
$facture = $_SESSION['p_facture'];
$codeActeGratuit = $_SESSION['p_codeActeConsultationGratuite'];
?>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
<thead>
<tr>
<th width="5%" style='text-align:center'> <= </th>
<th colspan="2" style="text-align:center"> <?= _("Acte")." (".count($obs).")" ?> </th>
<th style="text-align:center"> <?= _("PU") ?> </th>
<th width="5%" style="text-align:center"> <?= _("Qté") ?> </th>
<th style="text-align:center"> <?= _("PT") ?> </th>
<th style="text-align:center"> <?= _("TM") ?> </th>
<th style="text-align:center"> <?= _("Mont. TM") ?> </th>
<th style="text-align:center"> <?= _("A Remb") ?> </th>
<th style="text-align:center"> <?= _("Dépass") ?> </th>
<th style="text-align:center"> <?= _("Motif") ?> </th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="5" style='text-align:center'> <?= _("Total") ?> </td>
<td align='center'><?= format_N($this->nettoyer($obs_total['fraisReel'])) ?></td>
<td></td>
<td align='center'><?= format_N($this->nettoyer($obs_total['montantTm'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($obs_total['montantArembourser'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($obs_total['depassement'])) ?></td>
<td></td>
</tr>
</tfoot>
<tbody>
<?php foreach ($obs as $v):
//var_dump("test");
$idDetail=$this->nettoyer($v['id']);
$supprimable = $v['supprimable'];
$codeTypePrestation=$this->nettoyer($v['codeTypePrestation']);
$ententePrealable=$this->nettoyer($v['ententePrealable']);
$autorisation=$this->nettoyer($v['autorisation']);
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
{
$libelleActe = $this->nettoyer($v['libelleActeEng']);
}
else
{
$libelleActe = $this->nettoyer($v['libelleActe']);
}
$codeActe = $this->nettoyer($v['codeActe']);
if($actVisible!="1")
{
$libelleActe = $codeActe;
}
$codeGarantie = $this->nettoyer($v['codeGarantie']);
$codeMotifDepassement = $this->nettoyer($v['codeMotifDepassement']);
$motif = $this->nettoyer($v['motif']);
$motifEng = $this->nettoyer($v['motifEng']);
$tm = $this->nettoyer($v['tm']);
$tarif = $this->nettoyer($v['tarif']);
?>
<?php if($ententePrealable=='2' || $autorisation=='2'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($ententePrealable=='1' || $autorisation=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($ententePrealable=='9' || $autorisation=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<?php if ($bonCaduc=="1" || $facture=="1" || $codeActe==$codeActeGratuit): ?>
<td> </td>
<?php else: ?>
<td> <input class = "form-control btn btn-danger" type="button" value="<=" onClick="javascript:supprimer_acte_medical_miseenobservation('<?= $idDetail ?>', '<?= $codeTypePrestation ?>');"> </td>
<?php endif; ?>
<td align='center'> <?= $codeGarantie ?> </td>
<td > <?= $libelleActe ?> </td>
<td align='center'>
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
<?= format_N($this->nettoyer($v['valeurActe'])) ?>
</button>
</td>
<?php if ($bonCaduc=="1" || $facture=="1" || $codeActe==$codeActeGratuit || $ententePrealable=='1'): ?>
<td align='center'> <?= format_N($this->nettoyer($v['quantite'])) ?></td>
<?php else: ?>
<td align='center'>
<INPUT style='text-align:center' class="form-control" TYPE="text" value="<?= $this->nettoyer($v['quantite']) ?>"
onBlur="ajax_maj_qte_acte_miseenobservation('<?=$idDetail?>', this.value, this);">
</td>
<?php endif; ?>
<td align='center'> <?= format_N($this->nettoyer($v['fraisReel'])) ?></td>
<td align='center'> <?= $this->nettoyer($v['tm'])?></td>
<td align='center'> <?= format_N($this->nettoyer($v['montantTm'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($v['montantArembourser'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($v['depassement'])) ?></td>
<?php if($codeMotifDepassement!=''): ?>
<td align='center'>
<button type="button" class="btn btn-info" title="Voir le motif du dépassement..." onClick='javascript:alert_ebene("<?= $motif ?>","<?= $motifEng ?>");'>
<?= $codeMotifDepassement ?>
</button>
</td>
<?php else: ?>
<td > </td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
<tr style='background-color:white'>
<td colspan="11" height="8"></td>
</tr>
</tbody>
</table>
</div>

View File

@ -0,0 +1,146 @@
<?php
$actVisible = $_SESSION['p_actVisible'];
$bonCaduc = $_SESSION['p_bonCaduc'];
$facture = $_SESSION['p_facture'];
$prixActeModifiable = $_SESSION['p_prixActeModifiable'];
?>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th width="5%" style='text-align:center'> <= </th>
<th colspan="2" style="text-align:center"> <?= _("Acte")." (".count($prestations).")" ?> </th>
<th width="15%" style="text-align:center"> <?= _("PU") ?> </th>
<th width="7%" style="text-align:center"> <?= _("Qté") ?> </th>
<th style="text-align:center"> <?= _("PT") ?> </th>
<th style="text-align:center"> <?= _("TM") ?> </th>
<th style="text-align:center"> <?= _("Mont. TM") ?> </th>
<th style="text-align:center"> <?= _("A Remb") ?> </th>
<th style="text-align:center"> <?= _("Dépass") ?> </th>
<th style="text-align:center"> <?= _("Motif") ?> </th>
</tr>
</thead>
<!-- -->
<tfoot>
<tr>
<td colspan="5" style='text-align:center'> <?= _("Total") ?> </td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['fraisReel'])) ?></td>
<td></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantTm'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantArembourser'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['depassement'])) ?></td>
<td></td>
</tr>
</tfoot>
<tbody>
<?php foreach ($prestations as $prestation):
$idPrestationactes=$this->nettoyer($prestation['id']);
$supprimable = $prestation['supprimable'];
$codeTypePrestation=$this->nettoyer($prestation['codeTypePrestation']);
$ententePrealable=$this->nettoyer($prestation['ententePrealable']);
$autorisation=$this->nettoyer($prestation['autorisation']);
$codeGarantie = $this->nettoyer($prestation['codeGarantie']);
$valeurActe = $this->nettoyer($prestation['valeurActe']);
$codeFamilleActe = $this->nettoyer($prestation['codeFamilleActe']);
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
{
$libelleActe = $this->nettoyer($prestation['libelleActeEng']);
}
else
{
$libelleActe = $this->nettoyer($prestation['libelleActe']);
}
$codeActe = $this->nettoyer($prestation['codeActe']);
if($actVisible!="1")
{
$libelleActe = $codeActe;
}
$prixBase = ($ententePrealable=='2') ? "0" : $this->nettoyer($prestation['prixBase']);
$codeMotifDepassement = $this->nettoyer($prestation['codeMotifDepassement']);
$motif = $this->nettoyer($prestation['motif']);
$motifEng = $this->nettoyer($prestation['motifEng']);
$tm = $this->nettoyer($prestation['tm']);
$tarif = $this->nettoyer($prestation['tarif']);
$valeurActe = round($valeurActe);
?>
<?php if($ententePrealable=='2' || $autorisation=='2'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($ententePrealable=='1' || $autorisation=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($ententePrealable=='9' || $autorisation=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<?php if ($facture || $bonCaduc || $ententePrealable=='1'): ?>
<td> </td>
<?php else: ?>
<td> <input class = "form-control btn btn-danger" type="button" value="<=" onClick="javascript:supprimer_acte_medical_selection('<?= $idPrestationactes ?>', '<?= $codeTypePrestation ?>');"> </td>
<?php endif; ?>
<td align='center'> <?= $codeGarantie ?> </td>
<td > <?= $libelleActe ?> </td>
<td align='center'>
<?php if($prixActeModifiable=="0") : ?>
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
<?= format_N($this->nettoyer($prestation['valeurActe'])) ?>
</button>
<?php else: ?>
<INPUT class="form-control" style='text-align:center; font-size:10pt;' TYPE="number" value="<?= $valeurActe ?>"
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){modifier_prix_autres_actes('<?=$idPrestationactes?>', this.value, this);}">
<?php endif; ?>
</td>
<?php if ($facture || $bonCaduc || $ententePrealable=='1' || $autorisation=='1' || $ententePrealable=='9' || $autorisation=='9'): ?>
<td align='center'><?= $this->nettoyer($prestation['quantite']) ?></td>
<?php else: ?>
<td align='center'>
<INPUT style='text-align:center' class="form-control" TYPE="text" value="<?= $this->nettoyer($prestation['quantite']) ?>"
onChange="ajax_maj_qte_acte('<?=$idPrestationactes?>', this.value, this);" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);">
</td>
<?php endif; ?>
<td align='center'> <?= format_N($this->nettoyer($prestation['fraisReel'])) ?></td>
<td align='center'> <?= $this->nettoyer($prestation['tm'])?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantTm'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['depassement'])) ?></td>
<?php if($codeMotifDepassement!=''): ?>
<td align='center'>
<button type="button" class="btn btn-info" title="Voir le motif du dépassement..." onClick='javascript:alert_ebene("<?= $motif ?>","<?= $motifEng ?>");'>
<?= $codeMotifDepassement ?>
</button>
</td>
<?php else: ?>
<td > </td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
<tr style='background-color:white'>
<td colspan="11" height="8"></td>
</tr>
</tbody>
</table>

View File

@ -0,0 +1,126 @@
<?php
$actVisible = $_SESSION['p_actVisible'];
//Ajaxactesmedicauxselectproforma
?>
<div id="div_prestations" style="width:100%" >
<table class="table table-responsive table-condensed" style='font-size:12pt;' >
<tbody>
<tr>
<td width="10%"> <?= _("Réclamé") ?> </td>
<td > <INPUT class="form-control" TYPE="text" value="<?= format_N($prestations_total['fraisReel']) ?>" readonly style="text-align: center; font-size:12pt; background-color:blue;color:white;" > </td>
<?php if ($tm < "100"): ?>
<td align="center" width="13%"> <?= _("Part Assuré") ?> </td>
<td > <INPUT class="form-control" TYPE="text" value="<?= format_N($prestations_total['montantTm']) ?>" readonly style="text-align: center; font-size:12pt; background-color:rgba(255, 0, 127);color:white;" > </td>
<td align="center" > <?= _("A Rembourser") ?> </td>
<td > <INPUT class="form-control" TYPE="text" value="<?= format_N($prestations_total['montantArembourser']) ?>" readonly style="text-align: center; font-size:12pt; background-color:#ba74d4;color:white;" > </td>
<?php else: ?>
<td align="center" width="13%"> <?= _("Part Assuré") ?> </td>
<td > <INPUT class="form-control" TYPE="text" value="<?= format_N($tm) ?>" readonly style="text-align: center; font-size:12pt; background-color:rgba(255, 0, 127);color:white;" > </td>
<td align="center" > <?= _("A Remb.") ?> </td>
<td > <INPUT class="form-control" TYPE="text" value="<?= format_N($prestations_total['fraisReel']-$tm) ?>" readonly style="text-align: center; font-size:12pt; background-color:#ba74d4;color:white;" > </td>
<?php endif; ?>
</tr>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" style="font-size:7pt;">
<thead>
<tr>
<th width="5%" style='text-align:center'> <= </th>
<th style="text-align:center"> <?= _("Actes (".count($prestations).")") ?> </th>
<th width="15%" style="text-align:center"> <?= _("Prix Unitaire") ?> </th>
<th width="13%" style="text-align:center"> <?= _("Qté") ?> </th>
<th width="13%"style="text-align:center"> <?= _("Prix Total") ?> </th>
<?php if ($tm < "100"): ?>
<th width="13%" style="text-align:center"> <?= _("Montant TM") ?> </th>
<th width="13%" style="text-align:center"> <?= _("A Rembourser") ?> </th>
<?php endif; ?>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="4" style='text-align:center'> Total </td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['fraisReel'])) ?></td>
<?php if ($tm < "100"): ?>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantTm'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantArembourser'])) ?></td>
<?php endif; ?>
</tr>
</tfoot>
<tbody>
<?php foreach ($prestations as $prestation):
$idProforma=$this->nettoyer($prestation['id']);
$supprimable = $prestation['supprimable'];
$codeTypePrestation=$this->nettoyer($prestation['codeTypePrestation']);
$ententePrealable=$this->nettoyer($prestation['ententePrealable']);
$autorisation=$this->nettoyer($prestation['autorisation']);
//var_dump($codeTypePrestation);
$codeTarifActe=$this->nettoyer($prestation['codeTarifActe']);
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
{
$libelleActe = $this->nettoyer($prestation['libelleActeEng']);
}
else
{
$libelleActe = $this->nettoyer($prestation['libelleActe']);
}
$codeActe = $this->nettoyer($prestation['codeActe']);
if($actVisible!="1")
{
$libelleActe = $codeActe;
}
$acteChambre=$this->nettoyer($prestation['acteChambre']);
?>
<tr valign="top">
<?php if ($acteChambre=="1"): ?>
<td> </td>
<?php else: ?>
<td> <input class = "form-control btn btn-danger" type="button" value="<=" onClick="javascript:supprimer_acte_medical_selection_proforma('<?= $idProforma ?>', '<?= $codeTypePrestation ?>');"> </td>
<?php endif; ?>
<td align='center'> <?= $libelleActe ?> </td>
<td align='center'>
<INPUT style='text-align:center' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($prestation['valeurActe'])) ?>"
Onchange="ajax_maj_prix_acte_proforma('<?=$idProforma?>', this.value, this);" onBlur="formatMonetaire(this);" onkeyup="controle_numerique(this);" onFocus="formatNumerique(this);">
</td>
<?php if ($acteChambre=="0"): ?>
<td align='center'>
<INPUT style='text-align:center' class="form-control" TYPE="text" value="<?= $this->nettoyer($prestation['quantite']) ?>"
Onchange="ajax_maj_qte_acte_proforma('<?=$idProforma?>', this.value, this);">
</td>
<?php else: ?>
<td align='center'>
<?= $this->nettoyer($prestation['quantite']) ?>
</td>
<?php endif; ?>
<td align='center'> <?= format_N($this->nettoyer($prestation['fraisReel'])) ?></td>
<?php if ($tm < "100"): ?>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantTm'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>

View File

@ -0,0 +1,5 @@
<div id="listeacte">
<SELECT class="form-control" id="codeActe" NAME="codeActe" required AUTOCOMPLETE="OFF" onChange="ajaxprixacte();" style='font-size:10pt;'>
<?php liste_options($acte,""); ?>
</SELECT>
</div>

View File

@ -0,0 +1,5 @@
<div id="listeacte">
<SELECT class="form-control" id="codeActe" NAME="codeActe" required AUTOCOMPLETE="OFF" onChange="ajaxprixactemed();" style='font-size:10pt;'>
<?php liste_options($acte,""); ?>
</SELECT>
</div>

View File

@ -0,0 +1,67 @@
<?php
$actVisible = $_SESSION['p_actVisible'];
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
{
$libelleCarence = "Wait";
}
else
{
$libelleCarence = "Car";
}
?>
<div id="listeacte">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Actes") ?> </th>
<th width="15%" style='text-align:center'> <?= _("Prix") ?> </th>
<th width="5%" style='text-align:center'> => </th>
</tr>
</thead>
<tbody>
<?php foreach ($actes as $acte):
$codeActe=$this->nettoyer($acte['codeActe']);
$act_ententePrealable=$this->nettoyer($acte['ententePrealable']);
$act_exclu=$this->nettoyer($acte['exclu']);
$act_chirurgie=$this->nettoyer($acte['chirurgie']);
$act_valeurActe=$this->nettoyer($acte['valeurActe']);
$act_montantTm=$this->nettoyer($acte['montantTm']);
$act_aRembourser=$this->nettoyer($acte['montantArembourser']);
$delaiCarenceEnCours=$this->nettoyer($acte['delaiCarenceEnCours']);
$libelleActe = $this->nettoyer($acte['libelleActe']);
if($actVisible!="1")
{
$libelleActe = $codeActe;
}
?>
<tr valign="top">
<?php if($act_ententePrealable=='1'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($act_exclu=='1'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td ><?= $libelleActe ?></td>
<td align='center'> <?= format_N($act_valeurActe) ?></td>
<?php if ($act_exclu=="1"): ?>
<td align='center' style="background-color: red;color:white;"> Excl </td>
<?php elseif($delaiCarenceEnCours=='1'): ?>
<td align='center' style="background-color: red;color:white;"> <?=$libelleCarence?> </td>
<?php else: ?>
<td align='center'> <input type="button" value="=>" onClick="javascript:ajouter_un_acte_miseenobservation('<?=$codeActe?>', '<?=$act_valeurActe?>', '<?=$act_montantTm?>', '<?=$act_aRembourser?>' , '<?=$act_ententePrealable?>');" ></td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,75 @@
<?php
$actVisible = $_SESSION['p_actVisible'];
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
{
$libelleCarence = "Wait";
}
else
{
$libelleCarence = "Car";
}
$bonCaduc = $_SESSION['p_bonCaduc'];
$facture = $_SESSION['p_facture'];
?>
<div id="listeacte">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" style="font-size:7pt;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Actes") ?> </th>
<th width="15%" style='text-align:center'> <?= _("Prix") ?> </th>
<th width="5%" style='text-align:center'> => </th>
</tr>
</thead>
<tbody>
<?php foreach ($actes as $acte):
$codeActe=$this->nettoyer($acte['codeActe']);
$act_ententePrealable=$this->nettoyer($acte['ententePrealable']);
$act_exclu=$this->nettoyer($acte['exclu']);
$act_chirurgie=$this->nettoyer($acte['chirurgie']);
$act_valeurActe=$this->nettoyer($acte['valeurActe']);
$act_montantTm=$this->nettoyer($acte['montantTm']);
$act_aRembourser=$this->nettoyer($acte['montantArembourser']);
$delaiCarenceEnCours=$this->nettoyer($acte['delaiCarenceEnCours']);
$libelleActe = $this->nettoyer($acte['libelleActe']);
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){
$libelleActe = $this->nettoyer($acte['libelleActeEng']);
}
if($actVisible!="1")
{
$libelleActe = $codeActe;
}
?>
<tr valign="top">
<?php if($act_ententePrealable=='1'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($act_exclu=='1'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td ><?= $libelleActe ?></td>
<td align='center'> <?= format_N($act_valeurActe) ?></td>
<?php if ($act_exclu=="1"): ?>
<td align='center' style="background-color: red;color:white;"> Excl </td>
<?php elseif($delaiCarenceEnCours=='1'): ?>
<td align='center' style="background-color: red;color:white;"> <?=$libelleCarence?> </td>
<?php else: ?>
<td align='center'> <input type="button" value="=>" onClick="javascript:ajouter_un_acte_selection('<?=$codeActe?>', '<?=$act_valeurActe?>', '<?=$act_montantTm?>', '<?=$act_aRembourser?>' , '<?=$act_ententePrealable?>' , '<?=$act_ententePrealable?>' );" ></td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,52 @@
<div id="listeacte">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Actes de la famille") ?> </th>
<th width="15%" style='text-align:center'>Prix</th>
<th width="5%" style='text-align:center'> => </th>
</tr>
</thead>
<tbody>
<?php foreach ($actes as $acte):
$codeActe=$this->nettoyer($acte['codeActe']);
$act_ententePrealable=$this->nettoyer($acte['ententePrealable']);
$act_exclu=$this->nettoyer($acte['exclu']);
$act_valeurActe=$this->nettoyer($acte['valeurActe']);
$act_montantTm=$this->nettoyer($acte['montantTm']);
$act_aRembourser=$this->nettoyer($acte['montantArembourser']);
if (est_anglophone())
{
$libelleActe = $this->nettoyer($acte['libelleActeEng']);
}
else
{
$libelleActe = $this->nettoyer($acte['libelleActe']);
}
?>
<tr valign="top">
<?php if($act_ententePrealable=='1'): ?>
<tr valign="top" style="background-color: yellow;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td ><?= $libelleActe ?></td>
<td align='center'> <?= format_N($act_valeurActe) ?></td>
<?php if ($act_exclu=="1"): ?>
<td align='center' style="background-color: red;color:white;"> Excl </td>
<?php else: ?>
<td align='center'> <input type="button" value="=>" onClick="javascript:ajouter_un_acte_selection_dec('<?=$codeActe?>', '<?=$act_valeurActe?>', '<?=$act_montantTm?>', '<?=$act_aRembourser?>' , '<?=$act_ententePrealable?>' , '<?=$act_ententePrealable?>' );" ></td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,52 @@
<?php
$actVisible = $_SESSION['p_actVisible'];
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
{
$libelleCarence = "Wait";
}
else
{
$libelleCarence = "Car";
}
?>
<div id="listeacte">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" style="font-size: 7pt;" >
<thead>
<tr>
<th style='text-align:center'> <?= _("Actes (".count($actes).")") ?> </th>
<th width="15%" style='text-align:center'> <?= _("Prix") ?> </th>
<th width="5%" style='text-align:center'> => </th>
</tr>
</thead>
<tbody>
<?php foreach ($actes as $acte):
$codeActe=$this->nettoyer($acte['codeActe']);
$act_ententePrealable=$this->nettoyer($acte['ententePrealable']);
$act_exclu=$this->nettoyer($acte['exclu']);
$act_chirurgie=$this->nettoyer($acte['chirurgie']);
$act_valeurActe=$this->nettoyer($acte['valeurActe']);
$act_montantTm=$this->nettoyer($acte['montantTm']);
$act_aRembourser=$this->nettoyer($acte['montantArembourser']);
$delaiCarenceEnCours=$this->nettoyer($acte['delaiCarenceEnCours']);
$libelleActe = $this->nettoyer($acte['libelleActe']);
if($actVisible!="1")
{
$libelleActe = $codeActe;
}
?>
<tr valign="top">
<td ><?= $libelleActe ?></td>
<td align='center'> <?= format_N($act_valeurActe) ?></td>
<td align='center'> <input type="button" value="=>" onClick="javascript:ajouter_un_acte_selection_proforma('<?=$codeActe?>', '<?=$act_valeurActe?>', '<?=$act_montantTm?>', '<?=$act_aRembourser?>' , '<?=$act_ententePrealable?>');" ></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1 @@
<input class="sr-only" id="idProforma" name="idProforma" type="text" value= "<?= $idProforma; ?>">

View File

@ -0,0 +1,305 @@
<?php
$actVisible = $_SESSION['p_actVisible'];
$idProforma = is_array($enteteProforma) ? $enteteProforma['id'] : "0";
$motifProforma = is_array($enteteProforma) ? $enteteProforma['motif'] : "";
$codeMedecinProforma = is_array($enteteProforma) ? $enteteProforma['codeMedecin'] : "";
$dureeProforma = is_array($enteteProforma) ? $enteteProforma['duree'] : "0";
$demandeTraite = $_SESSION['p_demandeTraite_C'];
$codeReponseEntentePrealable = $_SESSION['p_codeReponseEntentePrealable_C'];
?>
<input class="sr-only" id="idProforma" name="idProforma" type="text" value= "<?= $idProforma ?>">
<input class="sr-only" id="motifProforma" name="motifProforma" type="text" value= "<?= $motifProforma ?>">
<input class="sr-only" id="codeMedecinProforma" name="codeMedecinProforma" type="text" value= "<?= $codeMedecinProforma ?>">
<input class="sr-only" id="dureeProforma" name="dureeProforma" type="text" value= "<?= $dureeProforma ?>">
<input class="sr-only" id="numeroEntentePrealable" name="numeroEntentePrealable" type="text" value= "<?= $numeroEntentePrealable ?>">
<input class="sr-only" id="nbreActe" name="nbreActe" type="text" value= "<?= count($prestations); ?>">
<input class="sr-only" id="ligneZero" name="ligneZero" type="text" value= "<?=$ligneZero;?>">
<input class="sr-only" id="demandeTraite" name="demandeTraite" type="text" value= "<?=$demandeTraite;?>">
<?php if($demandeTraite=="0"):?>
<div >
<input class="form-control" style="text-align: center; font-size: 12pt;font-weight: bold;" type="text" value="<?= _("Liste des prestations")?>" readonly > </td>
</div>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
<thead>
<tr>
<th width="5%" style='text-align:center'> <?= _("Suppr") ?> </th>
<th style="text-align:center"> <?= _("Acte") ?> </th>
<th style="text-align:center"> <?= _("Prix Unitaire") ?> </th>
<th width="5%" style="text-align:center"> <?= _("Quantité") ?> </th>
<th style="text-align:center"> <?= _("Prix Total") ?> </th>
</tr>
</thead>
<tfoot>
<?php
$prestation_total_reclame = $this->nettoyer($prestations_total['totalPrixManuel']);
?>
<tr>
<td colspan="4" style='text-align:center'> <?= _("Total (".count($prestations).")") ?> </td>
<td align='center'><?= format_N($prestation_total_reclame) ?></td>
</tr>
</tfoot>
<tbody>
<?php
foreach ($prestations as $prestation):
$idPrestationactes=$this->nettoyer($prestation['id']);
$supprimable = $prestation['supprimable'];
$codeTypePrestation=$this->nettoyer($prestation['codeTypePrestation']);
$ententePrealable=$this->nettoyer($prestation['ententePrealable']);
$autorisation=$this->nettoyer($prestation['autorisation']);
$codeTarifActe=$this->nettoyer($prestation['codeTarifActe']);
$valeurActeManuel = $this->nettoyer($prestation['valeurActeManuel']);
$libelleConsommable=$this->nettoyer($prestation['libelleConsommable']);
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
{
$libelleActe = substr($this->nettoyer($prestation['libelleActeEng']),0,57);
}
else
{
$libelleActe = substr($this->nettoyer($prestation['libelleActe']),0,57);
}
$codeActe = $this->nettoyer($prestation['codeActe']);
if($codeActe == "CSM"){
$libelleActe = substr($libelleConsommable,0,57);
}
if($actVisible!="1")
{
$libelleActe = $codeActe;
}
$valeurActe = $this->nettoyer($prestation['valeurActe']);
$plafondActe = $this->nettoyer($prestation['plafondActe']);
//var_dump($plafondActe);
$plafond = (($plafondActe == $valeurActe) && ($valeurActe > "0"))?"1":"0";
if ($plafondActe > "0" && $plafondActe !="9999999999"){
$forfaitPlafond = " - [".format_N($plafondActe)."]";
}else{
$forfaitPlafond = "";
}
$prixTarif = $this->nettoyer($prestation['prixTarif']);
//var_dump($tarif);
$codeMotifDepassement = $this->nettoyer($prestation['codeMotifDepassement']);
$motif = $this->nettoyer($prestation['motif']);
$motifEng = $this->nettoyer($prestation['motifEng']);
$tarif = $this->nettoyer($prestation['tarif']);
$prixModifiableEnHospit = $this->nettoyer($prestation['prixModifiableEnHospit']);
$acteChambre = $this->nettoyer($prestation['acteChambre']);
?>
<tr valign="top">
<td>
<button type="button" class="form-control btn btn-danger" onClick="javascript:supprimer_acte_proforma_hospitalisation('<?= $idPrestationactes ?>', '<?= $codeTypePrestation ?>');">
<i class="fa fa-times" aria-hidden="true"></i>
</button>
</td>
<td > <?= $libelleActe."<b style='color:red'>".$forfaitPlafond."</b>" ?> </td>
<td align='center'>
<?php if($prixModifiableEnHospit == "0"): ?>
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
<?= format_N($valeurActeManuel) ?>
</button>
<?php else: ?>
<?php if($codeReponseEntentePrealable == ""): ?>
<INPUT style='text-align:center; font-size:10pt;' class="form-control" TYPE="text" value="<?= format_N($valeurActeManuel) ?>"
onChange="ajax_maj_prix_acte_proformahospitalisation('<?=$idPrestationactes?>', this.value, this);" onBlur="formatMonetaire(this);" onkeyup="controle_numerique(this);" onfocus="formatNumerique(this);">
<?php else: ?>
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
<?= format_N($valeurActeManuel) ?>
</button>
<?php endif; ?>
<?php endif; ?>
</td>
<?php if ($acteChambre=="0"): ?>
<?php if($codeReponseEntentePrealable == ""): ?>
<td align='center' width="8%">
<INPUT style='text-align:center; font-size:10pt;' class="form-control" TYPE="text" value="<?= $this->nettoyer($prestation['quantite']) ?>"
onChange="ajax_maj_qte_acte_proformahospitalisation('<?=$idPrestationactes?>', this.value, this);" onBlur="controle_numerique(this);">
</td>
<?php else: ?>
<td align='center' width="8%">
<INPUT style='text-align:center; font-size:10pt;' class="form-control" TYPE="text" value="<?= $this->nettoyer($prestation['quantite']) ?>"
disabled>
</td>
<?php endif; ?>
<?php else: ?>
<td align='center' width="8%">
<INPUT style='text-align:center; font-size:10pt;' class="form-control" TYPE="text" value="<?= $this->nettoyer($prestation['quantite']) ?>"
disabled>
</td>
<?php endif; ?>
<td align='center'> <?= format_N($this->nettoyer($prestation['prixManuel'])) ?></td>
<!--<td align='center'> <?= format_N($this->nettoyer($prestation['fraisReel'])) ?></td>
<td align='center'> <?= $this->nettoyer($prestation['tm'])?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantTm'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
-->
</tr>
<?php endforeach; ?>
<tr style='background-color:white'>
<td colspan="5" height="8"></td>
</tr>
</tbody>
</table>
<?php else: ?>
<div id="div_legende_couleur" style="width:80%; margin: 5px;">
<table class="table table-responsive" style="width:100%; margin:auto;">
<tbody>
<tr>
<td width="15%" style="font-weight:bold; text-align:right;"><?= _("Accord assureur:") ?></td>
<td width="4%" style="background-color: #00ff00"></td>
<td width="2%"></td>
<td width="15%" style="font-weight:bold; text-align:right;"><?= _("Refus assureur:") ?></td>
<td width="4%" style="background-color: red;"></td>
</tr>
</tbody>
</table>
</div>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
<thead>
<tr>
<th style="text-align:center"> <?= _("Acte <b style='color:red'> - [Plafond]</b>") ?> </th>
<th style="text-align:center"> <?= _("Prix Unitaire") ?> </th>
<th width="5%" style="text-align:center"> <?= _("Quantité") ?> </th>
<th style="text-align:center"> <?= _("Prix Total") ?> </th>
</tr>
</thead>
<tfoot>
<?php
$prestation_total_reclame = $this->nettoyer($prestations_total['totalPrixManuel']);
?>
<tr>
<td colspan="3" style='text-align:center'> <?= _("Total (".count($prestations).")") ?> </td>
<td align='center'><?= format_N($prestation_total_reclame) ?></td>
</tr>
</tfoot>
<tbody>
<?php
foreach ($prestations as $prestation):
$idPrestationactes=$this->nettoyer($prestation['id']);
$supprimable = $prestation['supprimable'];
$codeTypePrestation=$this->nettoyer($prestation['codeTypePrestation']);
$ententePrealable=$this->nettoyer($prestation['ententePrealable']);
$autorisation=$this->nettoyer($prestation['autorisation']);
$codeTarifActe=$this->nettoyer($prestation['codeTarifActe']);
$codeTarifActe=$this->nettoyer($prestation['codeTarifActe']);
$valeurActeManuel = $this->nettoyer($prestation['valeurActeManuel']);
$libelleConsommable=$this->nettoyer($prestation['libelleConsommable']);
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
{
$libelleActe = substr($this->nettoyer($prestation['libelleActeEng']),0,57);
}
else
{
$libelleActe = substr($this->nettoyer($prestation['libelleActe']),0,57);
}
$codeActe = $this->nettoyer($prestation['codeActe']);
if($codeActe == "CSM"){
$libelleActe = substr($libelleConsommable,0,57);
}
if($actVisible!="1")
{
$libelleActe = $codeActe;
}
$valeurActe = $this->nettoyer($prestation['valeurActe']);
$plafondActe = $this->nettoyer($prestation['plafondActe']);
$plafond = (($plafondActe == $valeurActe) && ($valeurActe > "0"))?"1":"0";
if ($plafondActe > "0" && $plafondActe !="9999999999"){
$forfaitPlafond = " - [".format_N($plafondActe)."]";
}else{
$forfaitPlafond = "";
}
$prixTarif = $this->nettoyer($prestation['prixTarif']);
$codeMotifDepassement = $this->nettoyer($prestation['codeMotifDepassement']);
$motif = $this->nettoyer($prestation['motif']);
$motifEng = $this->nettoyer($prestation['motifEng']);
$tarif = $this->nettoyer($prestation['tarif']);
$ententePrealable = $this->nettoyer($prestation['ententePrealable']);
$acteChambre = $this->nettoyer($prestation['acteChambre']);
?>
<?php if($ententePrealable=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($ententePrealable=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td > <?= $libelleActe."<b style='color:red'>".$forfaitPlafond."</b>" ?> </td>
<td align='center'>
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
<?= format_N($valeurActeManuel) ?>
</button>
</td>
<td align='center' width="8%">
<INPUT style='text-align:center; font-size:10pt;' class="form-control" TYPE="text" value="<?= $this->nettoyer($prestation['quantite']) ?>"
disabled>
</td>
<td align='center'> <?= format_N($this->nettoyer($prestation['prixManuel'])) ?></td>
</tr>
<?php endforeach; ?>
<tr style='background-color:white'>
<td colspan="4" height="8"></td>
</tr>
</tbody>
</table>
<?php endif; ?>

View File

@ -0,0 +1,141 @@
<?php
$numeroBonOrdonnance = $_SESSION['p_numeroBonOrdonnance_C'];
$numeroPrescription = $_SESSION['p_numeroPrescription_C'] ;
$estRempalace = false;
$accesAjoutPh = ($_SESSION['p_accesAjoutPh_C']==1) ;
$accesAjoutPhClient = ($_SESSION['p_accesAjoutPhClient']==1) ;
$ajoutPrescription = ($_SESSION['p_ajoutPrescription_C']==1) ;
$modeSaisieFacture = $_SESSION['p_modeSaisieFacture'];
$actVisible = $_SESSION['p_actVisible'];
$hospitalisation = $_SESSION['p_hospitalisation_C'];
$nbMedicamentSaisie = $prescription['nbMedicamentSaisie'];
//echo $prescription['bonCaduc'];
$idPrestationactes = "0";
?>
<div id="ordonnance">
<?php if( ($this->nettoyer($prescription['bonCaduc'])=="0" or $modeSaisieFacture==1) && ($nbMedicamentSaisie<$_SESSION['p_nbMedicamentMax'] or $hospitalisation=="1") ) : ?>
<table class="table table-responsive table-condensed" style='font-size:10pt;' >
<tbody>
<tr>
<?php if($ajoutPrescription) : ?>
<td> <button type="button" class="form-control btn btn-primary" data-bs-toggle="modal" data-bs-target="#popRechercheMedicament" style='font-size:10pt;' ><?= _("Ajouter Médicament...") ?></button> </td>
<?php else: ?>
<td> <button type="button" class="form-control btn btn-primary" style='font-size:10pt;' disabled ><?= _("Ajouter Médicament...") ?></button> </td>
<?php endif; ?>
<td width="10%" > </td>
<?php if($accesAjoutPh) : ?>
<td> <button type="button" class="form-control btn btn-primary" data-bs-toggle="modal" data-bs-target="#popCreerMedicament" style='font-size:10pt;' ><?= _("Créer Médicament...") ?></button> </td>
<?php else: ?>
<td> <button type="button" class="form-control btn btn-primary" style='font-size:10pt;' disabled ><?= _("Créer Médicament...") ?></button> </td>
<?php endif; ?>
<td width="10%" > </td>
<td> <INPUT class="form-control btn btn-info" value="<?= _("GED Ordonnance...") ?>" onclick="javascript:pop_ged_pharmacie();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<?php else: ?>
<?php if ($nbMedicamentSaisie>=$_SESSION['p_nbMedicamentMax'] && $hospitalisation!="1"): ?>
<div class="alert alert-danger" style="height:38px; padding:5px;">
<H4> <?= _("Attention! Maximum de médicaments atteint!") ?></H4>
</div>
<?php endif; ?>
<?php endif; ?>
<table class="table table-striped table-hover table-bordered table-condensed table-responsive" style='font-size:9pt;'>
<thead>
<tr>
<th style="text-align:center"> Subtitut </th>
<th style="text-align:center"> <?= _("Médicaments prescrits") ?> </th>
<th style="text-align:center"> Forme </th>
<th style="text-align:center"> Tarif Pubic </th>
<th style="text-align:center"> Posologie </th>
<th style="text-align:center"> <?= _("Bon") ?> </th>
<th style="text-align:center" > <?= _("Accord") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($detailprescriptions as $detailprescription):
$idMedicament = $this->nettoyer($detailprescription['idMedicament']);
$livre = $this->nettoyer($detailprescription['livre']);
$substituable = $this->nettoyer($detailprescription['substituable']);
$substitue = $this->nettoyer($detailprescription['substitue']);
$nomSubstitut = $this->nettoyer($detailprescription['nomSubstitut']);
$libelleMedicament = $this->nettoyer($detailprescription['libelleMedicament']);
$codeMedicament = $this->nettoyer($detailprescription['codeMedicament']);
$ajPharmacie = $this->nettoyer($detailprescription['ajPharmacie']);
$ententePrealable1 = $this->nettoyer($detailprescription['ententePrealable']);
$barree = $this->nettoyer($detailprescription['barree']);
$tarifPublic = $this->nettoyer($detailprescription['tarifPublic']);
$tarifPublicSubstitut = $this->nettoyer($detailprescription['tarifPublicSubstitut']);
$codeMedicamentSubstitut = $this->nettoyer($detailprescription['codeMedicamentSubstitut']);
$nomMedicamentSubstitut = $this->nettoyer($detailprescription['nomMedicamentSubstitut']);
if($actVisible!="1")
{
$libelleMedicament = $codeMedicament;
$nomSubstitut = $codeMedicament;
}
$forme = $this->nettoyer($detailprescription['forme']);
$formeSubstitut = $this->nettoyer($detailprescription['formeSubstitut']);
$posologie = $this->nettoyer($detailprescription['posologie']);
if (est_anglophone()){
$forme = $this->nettoyer($detailprescription['formeEng']);
$formeSubstitut = $this->nettoyer($detailprescription['formeSubstitutEng']);
}
$idDemandeSubstitution = $this->nettoyer($detailprescription['idDemandeSubstitution']);
$nvellePosologie = $this->nettoyer($detailprescription['nvellePosologie']);
?>
<?php if($ententePrealable1=='2' || $ententePrealable1=='3'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($ententePrealable1=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($ententePrealable1=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<?php if($idPrestationactes == "0") : ?>
<td width="5%" align='center'> <input type="button" value=" ... " onClick="javascript:substituer_medicament('<?= $idMedicament ?>','<?= $posologie ?>', '<?= $idDemandeSubstitution ?>');"></td>
<?php else: ?>
<td width="5%" align='center'> </td>
<?php endif; ?>
<?php if($substituable=="1") : ?>
<td align='center' style="background-color: yellow;"> <?= $libelleMedicament . " => " . $nomSubstitut ?> </td>
<?php elseif($codeMedicamentSubstitut>""): ?>
<td align='center'> <input type="button" value="<?= $nomMedicamentSubstitut ?>" onClick="javascript:alert('<?= $libelleMedicament ?>');"></td>
<td align='center'> <input type="button" value="<?= $formeSubstitut ?>" onClick="javascript:alert('<?= $forme ?>');"></td>
<td align='center'> <input type="button" value="<?= $tarifPublicSubstitut ?>" onClick="javascript:alert('<?= $tarifPublic ?>');"></td>
<?php else: ?>
<td align='center'> <?= $libelleMedicament ?> </td>
<td align='center'> <?= $forme ?> </td>
<td align='center'> <?= $tarifPublic ?> </td>
<?php endif; ?>
<?php if($nvellePosologie >""): ?>
<td align='center'> <input type="button" value="<?= $nvellePosologie ?>" onClick="javascript:alert('<?= $posologie ?>');"></td>
<?php else: ?>
<td align='center'> <?= $posologie ?> </td>
<?php endif; ?>
<td align='center'> <?= $this->nettoyer($detailprescription['numeroBonOrdonnance']) ?> </td>
<?php if($ententePrealable1<>"0"): ?>
<td align='center'> <input type="checkbox" checked disabled></td>
<?php else: ?>
<td align='center'> <input type="checkbox" disabled></td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1 @@
<button style='font-size:12pt; font-weight: bold; background-color:#f5deb3; color:#a0522d;' class="form-control btn" TYPE="text">TAUX DE COUVERTURE: <?= $tauxdecouverture ;?> %</button>

2
Vue_sav/Ajaxadherent/index.php Executable file
View File

@ -0,0 +1,2 @@
<div id="div_test">
</div>

View File

@ -0,0 +1,5 @@
<div id="listeaffections">
<SELECT class="form-control" id="codeAffectionPop" NAME="codeAffectionPop" required AUTOCOMPLETE="OFF" style='font-size:10pt;' >
<?php liste_options($affections, $codeAffection); ?>
</SELECT>
</div>

View File

@ -0,0 +1,10 @@
<div id="div_findelaicarence">
<input class="sr-only" type="text" id="dateFinDelaiCarenceActe" name="dateFinDelaiCarenceActe" value="<?= datefr($dateFinDelaiCarenceActe); ?>" >
<input class="sr-only" type="text" id="plafondActe" name="plafondActe" value="<?= format_N($situation['plafond']); ?>" >
<input class="sr-only" type="text" id="consommation" name="consommation" value="<?= format_N($situation['consommation']); ?>" >
<input class="sr-only" type="text" id="soldeConsommation" name="soldeConsommation" value="<?= format_N($situation['soldeConsommation']); ?>" >
<input class="sr-only" type="text" id="nbreTransaction" name="nbreTransaction" value="<?= $situation['nbreTransaction']; ?>" >
<input class="sr-only" type="text" id="nbreSinistre" name="nbreSinistre" value="<?= $situation['nbreSinistre']; ?>" >
<input class="sr-only" type="text" id="soldeNbreTransaction" name="soldeNbreTransaction" value="<?= $situation['soldeNbreTransaction']; ?>" >
</div>

View File

@ -0,0 +1,56 @@
<div id="div_prestations">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
<thead>
<tr>
<th width="5%" style='text-align:center'> <= </th>
<th style="text-align:center"> <?= _("Actes ajoutés au décompte") ?> </th>
<th style="text-align:center"> <?= _("Frais") ?> </th>
<th style="text-align:center"> <?= _("T M") ?> </th>
<th style="text-align:center"> <?= _("A Remb") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($prestations as $prestation):
$idPrestationactes=$this->nettoyer($prestation['id']);
$idLivre=$this->nettoyer($prestation['id']);
$ententePrealable=$this->nettoyer($prestation['ententePrealable']);
if (est_anglophone())
{
$libelleActe = $this->nettoyer($prestation['libelleActeEng']);
}
else
{
$libelleActe = $this->nettoyer($prestation['libelleActe']);
}
?>
<?php if($ententePrealable=='2'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($ententePrealable=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($ententePrealable=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td> <input class = "form-control btn btn-danger" type="button" value="<=" onClick="javascript:retirer_un_acte_selection_dec('<?= $idLivre ?>');"> </td>
<td align='center'> <?= $libelleActe ?> </td>
<td align='center'> <?= format_N($this->nettoyer($prestation['fraisReel'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantTm'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
</tr>
<?php endforeach; ?>
<tr style='background-color:white'>
<td colspan="5" height="8"></td>
</tr>
</tbody>
</table>
</div>

View File

@ -0,0 +1,71 @@
<?php $nbligne = 0; ?>
<div id="div_bonpecs">
<!-- <table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;"> -->
<table class="table table-striped table-bordered table-hover table-condensed table-responsive">
<thead>
<tr>
<th style="text-align: center;"> <?= _("Type") ?> </th>
<th style="text-align: center;"> <?= _("No Bon") ?> </th>
<th style="text-align: center;"> <?= _("Attribution") ?> </th>
<th style="text-align: center;"> <?= _("Réception") ?> </th>
<th style="text-align: center;"> <?= _("Reçu par") ?> </th>
<th style="text-align: center;"> <?= _("Etat") ?> </th>
<th style="text-align: center;"> <?= _("No Benef") ?> </th>
<th style="text-align: center;"> <?= _("Nom Bénéf") ?> </th>
<th style="text-align: center;"> <?= _("Date Util") ?> </th>
<th style="text-align: center;"> <?= _("Util par") ?> </th>
<th style="text-align: center;"> <?= _("Récept") ?> </th>
<th style="text-align: center;"> <?= _("Rempl") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($bonpecs as $bonpec):
$codeEtatBon = $bonpec['codeEtatBon'];
$numeroBon = $bonpec['numeroBon'];
$idBon = $bonpec['idBon'];
$idgenerartionbon = $bonpec['idgenerartionbon'];
$motifAnnulation = $this->echapper($bonpec['motifAnnulation']);
$nbligne++;
?>
<?php if ($codeEtatBon=='0'): ?>
<tr style="text-align: center; color: rgb(220,20,54);"
onclick="javascript:selectionner_bon(<?= $idBon ?>,'<?= $numeroBon ?>','<?= $codeEtatBon ?>','<?= $motifAnnulation ?>');"
ondblclick="javascript:selectionner_bon(<?= $idBon ?>,'<?= $numeroBon ?>','<?= $codeEtatBon ?>','<?= $motifAnnulation ?>'); demander_annulation_bon();" valign="top"
>
<?php elseif($bonpec['codeEtatBon']=='1'): ?>
<tr style="text-align: center; color: rgb(0,128,0);" style="text-align: center;"
onclick="javascript:selectionner_bon(<?= $idBon ?>,'<?= $numeroBon ?>','<?= $codeEtatBon ?>','<?= $motifAnnulation ?>');"
ondblclick="javascript:selectionner_bon(<?= $idBon ?>,'<?= $numeroBon ?>','<?= $codeEtatBon ?>','<?= $motifAnnulation ?>'); demander_annulation_bon();" valign="top"
>
<?php elseif($bonpec['codeEtatBon']=='2'): ?>
<tr style="text-align: center; color: rgb(190,190,190);"
onclick="javascript:selectionner_bon(<?= $idBon ?>,'<?= $numeroBon ?>','<?= $codeEtatBon ?>','<?= $motifAnnulation ?>');"
ondblclick="javascript:selectionner_bon(<?= $idBon ?>,'<?= $numeroBon ?>','<?= $codeEtatBon ?>','<?= $motifAnnulation ?>'); demander_annulation_bon();" valign="top"
>
<?php elseif($bonpec['codeEtatBon']=='3' || $bonpec['codeEtatBon']=='4' || $bonpec['codeEtatBon']=='9'): ?>
<tr style="text-align: center; color: rgb(190,190,190); text-decoration: line-through;"
onclick="javascript:selectionner_bon(<?= $idBon ?>,'<?= $numeroBon ?>','<?= $codeEtatBon ?>','<?= $motifAnnulation ?>');"
ondblclick="javascript:selectionner_bon(<?= $idBon ?>,'<?= $numeroBon ?>','<?= $codeEtatBon ?>','<?= $motifAnnulation ?>'); demander_annulation_bon();" valign="top"
>
<?php endif; ?>
<td><?= $this->nettoyer($bonpec['codeTypeBon']) ?></td>
<td><?= $numeroBon ?></td>
<td><?= dateLang($this->nettoyer($bonpec['dateGeneration'])) ?></td>
<td><?= dateLang($this->nettoyer($bonpec['dateReception'])) ?></td>
<td><?= $this->nettoyer($bonpec['codeUtilisateurReception']) ?></td>
<td><?= $this->nettoyer($bonpec['etatBon']) ?></td>
<td><?= $this->nettoyer($bonpec['numeroBeneficiaire']) ?></td>
<td><?= $this->nettoyer($bonpec['beneficiaire']) ?></td>
<td><?= dateheureLang($this->nettoyer($bonpec['dateImpression'])) ?></td>
<td><?= $this->nettoyer($bonpec['codeUtilisateurImpression']) ?></td>
<td align="center"> <input type="button" value="<?= $idgenerartionbon ?>" onClick="javascript:afficher_detail_generartionbon(<?= $idgenerartionbon ?>);"> </td>
<td><?= $this->nettoyer($bonpec['numeroRemplacement']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input class="sr-only" type="text" id="nbligne_info" name="nbligne_info" value="<?= $nbligne ?>" >
</div>

View File

@ -0,0 +1,24 @@
<div id="div_bonpecs">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive">
<thead>
<tr>
<th style="text-align: center;"> <?= _("Type") ?> </th>
<th style="text-align: center;"> <?= _("No Bon") ?> </th>
<th style="text-align: center;"> <?= _("Attribution") ?> </th>
<th style="text-align: center;"> <?= _("Réception") ?> </th>
<th style="text-align: center;"> <?= _("Reçu par") ?> </th>
<th style="text-align: center;"> <?= _("Etat") ?> </th>
<th style="text-align: center;"> <?= _("No Benef") ?> </th>
<th style="text-align: center;"> <?= _("Nom Bénéf") ?> </th>
<th style="text-align: center;"> <?= _("Date Util") ?> </th>
<th style="text-align: center;"> <?= _("Util par") ?> </th>
<th style="text-align: center;"> <?= _("Récept") ?> </th>
<th style="text-align: center;"> <?= _("Rempl") ?> </th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<input class="sr-only" type="text" id="nbligne_info" name="nbligne_info" value="0" >
</div>

View File

@ -0,0 +1,88 @@
<div id="div_listeconsommable">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:10pt;'>
<thead>
<tr>
<th width="45%" style="text-align:center"> <?= _("Nom Consommable") ?> </th>
<th width="10%" style="text-align:center"> <?= _("Qté") ?> </th>
<th width="20%" style="text-align:center"> <?= _("Valeur") ?> </th>
<th style="text-align:center"> <?= _("Action") ?> </th>
</tr>
<tbody>
<tr>
<td> <input type="text" class="form-control" id="libelleconsommable" name="libelleconsommable" autofocus style='font-size:10pt;' ></td>
<td align='center'>
<input class="form-control"style="text-align: center; font-size:10pt;" type="number" id="quantiteconsommable" name="quantiteconsommable" value="0"
onBlur="controle_numerique(this);" >
</td>
<td align='center'>
<input class="form-control"style="text-align: center; font-size:10pt;" type="number" id="prixconsommable" name="prixconsommable" value="0"
onBlur="controle_numerique(this);" >
</td>
<td> <input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Ajouter") ?>" onclick="javascript:enregistrer_nv_consommables()();" /></td>
</tr>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:9pt;'>
<thead>
<tr>
<th rowspan="2" width="5%" style="text-align:center"> <input class="form-control btn btn-primary" type="button" value=" - - " onClick="javascript:retirer_consommable_tous();" style='font-size:10pt;' > </th>
<th rowspan="2" width="40%" style="text-align:center"> <?= _("Consommable") ?> </th>
<th colspan="2" width="10%" style="text-align:center"> <?= _("Qté") ?> </th>
<th colspan="2" width="20%" style="text-align:center"> <?= _("Valeur") ?> </th>
<th rowspan="2" width="10%" style="text-align:center"> <?= _("Frais") ?> </th>
<th rowspan="2" width="5%" style="text-align:center"> <?= _("T M") ?> </th>
<th rowspan="2" width="10%" style="text-align:center"> <?= _("A Remb") ?> </th>
</tr>
<tr>
<th width="4%" style="text-align:center"> <?= _("Ancien") ?> </th>
<th style="text-align:center"> <?= _("Nouveau") ?> </th>
<th width="8%" style="text-align:center"> <?= _("Ancien") ?> </th>
<th style="text-align:center"> <?= _("Nouveau") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($consommables as $consommable):
$idConsommable = $this->nettoyer($consommable['id']);
$libelleConsommable = $this->echapper($consommable['libelleConsommable']);
$valeurActe = $this->nettoyer($consommable['valeurActe']);
?>
<tr valign="top">
<td align='center'> <input type="button" value=" - " onClick="javascript:retirer_consommable('<?= $idConsommable ?>');"></td>
<td align='center' > <?= $libelleConsommable ?> </td>
<td align='center'> <?= format_N($this->nettoyer($consommable['quantite'])) ?> </td>
<td align='center'>
<INPUT style='text-align:center; font-size:9pt;' class="form-control" TYPE="text" value="<?= $this->nettoyer($consommable['quantite']) ?>"
onBlur="ajax_maj_qte_consommable('<?=$idConsommable?>', this.value, this);">
</td>
<td align='center'> <?= format_N($this->nettoyer($consommable['valeurActe'])) ?> </td>
<td align='center'>
<INPUT style='text-align:center; font-size:9pt;' class="form-control" TYPE="text" value="<?= $this->nettoyer($consommable['valeurActe']) ?>"
onBlur="ajax_maj_prix_consommable('<?=$idConsommable?>', this.value, this);">
</td>
<td align='center'> <?= format_N($this->nettoyer($consommable['fraisReel'])) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($consommable['montantTm'])) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($consommable['montantArembourser'])) ?> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,219 @@
<div id="div_verification_facture">
<?php
$idFacture = $this->nettoyer($facture_pop['idFacture']);
$_SESSION['idAdherent_C'] = $this->nettoyer($facture_pop['idAdherent']);
$actVisible = $_SESSION['actVisible'];
$codeTypeAffection = $this->nettoyer($facture_pop['codeTypeAffection']);
$codeAffection = $this->nettoyer($facture_pop['codeAffection']);
if (est_anglophone())
{
$libelleAffection = $this->nettoyer($facture_pop['libelleAffectionEng']);
}
else
{
$libelleAffection = $this->nettoyer($facture_pop['libelleAffection']);
}
$AffectionVisible = $_SESSION['AffectionVisible'];
if($AffectionVisible!="1")
{
$libelleAffection = $codeAffection;
}
?>
<input class="sr-only" type="text" id="ndPrestNonTraites" name="ndPrestNonTraites" value="<?= $this->nettoyer($prestations_total['ndPrestNonTraites']) ?>" >
<input class="sr-only" type="text" id="fraisRetenu_fact" name="fraisRetenu_fact" value="<?= $this->nettoyer($facture_pop['fraisRetenu']) ?>" >
<input class="sr-only" type="text" id="fraisRetenu_dec" name="fraisRetenu_dec" value="<?= $this->nettoyer($prestations_total['fraisRetenu']) ?>" >
<input class="sr-only" type="text" id="idFacture" name="idFacture" value="<?= $this->nettoyer($facture_pop['idFacture']) ?>" >
<input class="sr-only" type="text" id="codeTypeFacture" name="codeTypeFacture" value="<?= $this->nettoyer($facture_pop['codeTypeFacture']) ?>" >
<input class="sr-only" type="text" id="valide_dec" name="valide_dec" value="<?= $this->nettoyer($facture_pop['valide']) ?>" >
<input class="sr-only" type="text" id="montantForce_dec" name="montantForce_dec" value="<?= format_N($this->nettoyer($prestations_total['montantForce'])) ?>" >
<input class="sr-only" type="text" id="montantApayer_dec" name="montantApayer_dec" value="<?= format_N($this->nettoyer($prestations_total['montantApayer'])) ?>" >
<input class="sr-only" type="text" id="montantRedresse_dec" name="montantRedresse_dec" value="<?= format_N($this->nettoyer($prestations_total['montantRedresse'])) ?>" >
<table class="table table-responsive table-condensed" style='font-size:8pt;'>
<tbody>
<tr>
<td width="10%">Date</td>
<td colspan="3" width="40%"> <INPUT style='font-size:10pt;text-align:center;' class="form-control" TYPE="text" value="<?= dateheureLang($this->nettoyer($facture_pop['dateSysteme'])) ?>" readonly ></td>
<td width="10%" align="center"> <?= _("No Bon") ?> </td>
<td width="15%" align="center" style='font-size:10pt; background-color:blue;color:white;'> <?= $facture_pop['numeroBonConsultation'] ?> </td>
<td width="10%" align="center"> <?= _("Frais") ?> </td>
<td width="15%" > <INPUT style='font-size:10pt;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($facture_pop['fraisReel'])) ?>" readonly ></td>
</tr>
<tr>
<td> <?= _("T M") ?> </td>
<td width="15%"> <INPUT style='font-size:10pt; color:red;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($facture_pop['montantTm'])) ?>" readonly ></td>
<td width="10%" align="center"> <?= _("A Remb") ?> </td>
<td width="15%"> <INPUT style='font-size:10pt;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($facture_pop['montantArembourser'])) ?>" readonly ></td>
<td align="center"> <?= _("Dépas") ?> </td>
<td> <INPUT style='font-size:10pt; color:red;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($facture_pop['fraisExclu'])) ?>" readonly ></td>
<td align="center"> <?= _("Retenu") ?> </td>
<td> <INPUT style='font-size:10pt; color:blue;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($facture_pop['fraisRetenu'])) ?>" readonly ></td>
</tr>
<tr>
<td> <?= _("Affection") ?> </td>
<td colspan="7">
<INPUT style='font-size:10pt; text-align:center;' class="form-control" TYPE="text" value="<?= $libelleAffection ?>" readonly >
</td>
</tr>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th colspan="2" style="text-align:center"> <?= _("Acte") ?> </th>
<th style="text-align:center"> <?= _("Valeur") ?> </th>
<th style="text-align:center"> <?= _("Qtité") ?> </th>
<th style='text-align:center'> <?= _("Frais") ?> </th>
<th style='text-align:center'> <?= _("T M") ?> </th>
<th style='text-align:center'> <?= _("A Remb") ?> </th>
<th style='text-align:center'> <?= _("Forcé") ?> </th>
<th style='text-align:center'> <?= _("A payer") ?> </th>
<th style='text-align:center'> <?= _("Redres") ?> </th>
<th style='text-align:center'>Val</th>
<th style='text-align:center'>Rej</th>
<!-- <th style='text-align:center'>Att</th> -->
<th style='text-align:center'>Excl</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="4" style='text-align:center'> Total </td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['fraisReel'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantTm'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantArembourser'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantForce'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantApayer'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantRedresse'])) ?></td>
<td colspan="3"> </td>
</tr>
<tr>
<td colspan="4"><input id="btn_valid_facture" name="btn_valid_facture" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="valider_facture_dec();" style='font-size:8pt;' ></td>
<td> <input class = "form-control btn btn-info" type="button" value=" + " onClick="ajouter_facture_dec();" style='font-size:15pt;' > </td>
<td colspan="9"><input id="btn_reinit_facture" name="btn_reinit_facture" class = "form-control btn btn-primary" type="button" value="<?= _("Ré-initialiser") ?>" onClick="reinit_facture_dec();" style='font-size:8pt;' ></td>
</tr>
</tfoot>
<tbody>
<?php foreach ($prestations as $prestation):
$idPrestationactes_temp = $this->nettoyer($prestation['id']);
$idPrestationactes = $this->nettoyer($prestation['idPrestationactes']);
$codeTypePrestation = $this->nettoyer($prestation['codeTypePrestation']);
$ententePrealable = $this->nettoyer($prestation['ententePrealable']);
$autorisation = $this->nettoyer($prestation['autorisation']);
$valide = $prestation['valide'];
$ajoutDecompte = $prestation['ajoutDecompte'];
if (est_anglophone())
{
$libelleActe = $this->nettoyer($prestation['libelleActeEng']);
}
else
{
$libelleActe = $this->nettoyer($prestation['libelleActe']);
}
?>
<?php if($ententePrealable=='2' || $autorisation=='2'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($ententePrealable=='1' || $autorisation=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($ententePrealable=='9' || $autorisation=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td width="5%" align='center'> <?= $codeTypePrestation ?> </td>
<?php if($ajoutDecompte=='1'): ?>
<td width="25%" style='font-size:10pt; background-color:blue;color:white;' > <?= $libelleActe ?> </td>
<?php else: ?>
<td width="25%"> <?= $libelleActe ?> </td>
<?php endif; ?>
<td align='center'> <?= format_N($this->nettoyer($prestation['valeurActe'])) ?></td>
<td align='center'> <?= $this->nettoyer($prestation['quantite']) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['fraisReel'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantTm'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
<?php if($ententePrealable>'1' || $autorisation>'1'): ?>
<td width="10%" align='center'> <?= format_N($this->nettoyer($prestation['montantForce'])) ?></td>
<?php else: ?>
<td width="10%">
<INPUT class="form-control" style='text-align:center' TYPE="number" value="<?= $this->nettoyer($prestation['montantForce']) ?>"
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){maj_montantForce_prestation('<?=$idPrestationactes_temp?>', this.value);}">
</td>
<?php endif; ?>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantApayer'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantRedresse'])) ?></td>
<?php if($ententePrealable>'1' || $autorisation>'1'): ?>
<td align='center'> <input type="checkbox" disabled ></td>
<td align='center'> <input type="checkbox" disabled ></td>
<td align='center'> <input type="checkbox" disabled ></td>
<?php else: ?>
<?php if($valide=='1'): ?>
<td align='center'> <input type="checkbox" checked value="<?= $valide ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};valider_prestation('<?=$idPrestationactes_temp?>', this.value);"></td>
<?php else: ?>
<td align='center'> <input type="checkbox" value="<?= $valide ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};valider_prestation('<?=$idPrestationactes_temp?>', this.value);"></td>
<?php endif; ?>
<?php if($valide=='9'): ?>
<td align='center'> <input type="checkbox" checked value="<?= $valide ?>" onClick="javascript:if(this.value=='9'){this.value='0'}else{this.value='9'};valider_prestation('<?=$idPrestationactes_temp?>', this.value);"></td>
<?php else: ?>
<td align='center'> <input type="checkbox" value="<?= $valide ?>" onClick="javascript:if(this.value=='9'){this.value='0'}else{this.value='9'};valider_prestation('<?=$idPrestationactes_temp?>', this.value);"></td>
<?php endif; ?>
<?php if($valide=='2'): ?>
<td align='center'> <input type="checkbox" checked value="<?= $valide ?>" disabled ></td>
<?php else: ?>
<td align='center'> <input type="checkbox" value="<?= $valide ?>" disabled ></td>
<?php endif; ?>
<?php endif; ?>
</tr>
<?php endforeach; ?>
<tr style='background-color:white'>
<td colspan="13" height="8"></td>
</tr>
</tbody>
</table>
<div id="div_ajout_actes">
</div>
<div id="div_limites">
</div>
</div>

View File

@ -0,0 +1,199 @@
<div id="div_verification_facture">
<?php
$idFacture = $this->nettoyer($facture_pop['idFacture']);
$_SESSION['idAdherent_C'] = $this->nettoyer($facture_pop['idAdherent']);
$actVisible = $_SESSION['actVisible'];
$codeTypeAffection = $this->nettoyer($facture_pop['codeTypeAffection']);
$codeAffection = $this->nettoyer($facture_pop['codeAffection']);
if (est_anglophone())
{
$libelleAffection = $this->nettoyer($facture_pop['libelleAffectionEng']);
}
else
{
$libelleAffection = $this->nettoyer($facture_pop['libelleAffection']);
}
$AffectionVisible = $_SESSION['AffectionVisible'];
if($AffectionVisible!="1")
{
$libelleAffection = $codeAffection;
}
?>
<input class="sr-only" type="text" id="ndPrestNonTraites" name="ndPrestNonTraites" value="<?= $this->nettoyer($prestations_total['ndPrestNonTraites']) ?>" >
<input class="sr-only" type="text" id="fraisRetenu_fact" name="fraisRetenu_fact" value="<?= $this->nettoyer($facture_pop['fraisRetenu']) ?>" >
<input class="sr-only" type="text" id="fraisRetenu_dec" name="fraisRetenu_dec" value="<?= $this->nettoyer($prestations_total['fraisRetenu']) ?>" >
<input class="sr-only" type="text" id="idFacture" name="idFacture" value="<?= $this->nettoyer($facture_pop['idFacture']) ?>" >
<input class="sr-only" type="text" id="codeTypeFacture" name="codeTypeFacture" value="<?= $this->nettoyer($facture_pop['codeTypeFacture']) ?>" >
<input class="sr-only" type="text" id="valide_dec" name="valide_dec" value="<?= $this->nettoyer($facture_pop['valide']) ?>" >
<input class="sr-only" type="text" id="montantForce_dec" name="montantForce_dec" value="<?= format_N($this->nettoyer($prestations_total['montantForce'])) ?>" >
<input class="sr-only" type="text" id="montantApayer_dec" name="montantApayer_dec" value="<?= format_N($this->nettoyer($prestations_total['montantApayer'])) ?>" >
<input class="sr-only" type="text" id="montantRedresse_dec" name="montantRedresse_dec" value="<?= format_N($this->nettoyer($prestations_total['montantRedresse'])) ?>" >
<table class="table table-responsive table-condensed" style='font-size:8pt;'>
<tbody>
<tr>
<td width="10%">Date</td>
<td colspan="3" width="40%"> <INPUT style='font-size:10pt;text-align:center;' class="form-control" TYPE="text" value="<?= dateheureLang($this->nettoyer($facture_pop['dateSysteme'])) ?>" readonly ></td>
<td width="10%" align="center"> <?= _("No Bon") ?> </td>
<td width="15%" align="center" style='font-size:10pt; background-color:blue;color:white;'> <?= $facture_pop['numeroBonOrdonnance'] ?> </td>
<td width="10%" align="center"> <?= _("Frais") ?> </td>
<td width="15%" > <INPUT style='font-size:10pt;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($facture_pop['fraisReel'])) ?>" readonly ></td>
</tr>
<tr>
<td> <?= _("T M") ?> </td>
<td width="15%"> <INPUT style='font-size:10pt; color:red;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($facture_pop['montantTm'])) ?>" readonly ></td>
<td width="10%" align="center"> <?= _("A Remb") ?> </td>
<td width="15%"> <INPUT style='font-size:10pt;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($facture_pop['montantArembourser'])) ?>" readonly ></td>
<td align="center"> <?= _("Dépas") ?> </td>
<td> <INPUT style='font-size:10pt; color:red;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($facture_pop['fraisExclu'])) ?>" readonly ></td>
<td align="center"> <?= _("Retenu") ?> </td>
<td> <INPUT style='font-size:10pt; color:blue;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($facture_pop['fraisRetenu'])) ?>" readonly ></td>
</tr>
<tr>
<td> <?= _("Affection") ?> </td>
<td colspan="7">
<INPUT style='font-size:10pt; text-align:center;' class="form-control" TYPE="text" value="<?= $libelleAffection ?>" readonly >
</td>
</tr>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th width="45%"> <?= _("Rubrique") ?> </th>
<th style='text-align:center'> <?= _("Frais") ?> </th>
<th style='text-align:center'> <?= _("T M") ?> </th>
<th style='text-align:center'> <?= _("A Remb") ?> </th>
<th style='text-align:center'> <?= _("Forcé") ?> </th>
<th style='text-align:center'> <?= _("A payer") ?> </th>
<th style='text-align:center'> <?= _("Redres") ?> </th>
<th style='text-align:center'>Val</th>
<th style='text-align:center'>Rej</th>
<!-- <th style='text-align:center'>Att</th> -->
<th style='text-align:center'>Excl</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="1" style='text-align:center'> Total </td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['fraisReel'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantTm'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantArembourser'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantForce'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantApayer'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantRedresse'])) ?></td>
<td colspan="3"> </td>
</tr>
<tr>
<td colspan="1"><input id="btn_valid_facture" name="btn_valid_facture" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="valider_facture_dec_opt();" style='font-size:8pt;' ></td>
<td> </td>
<td colspan="9"><input id="btn_reinit_facture" name="btn_reinit_facture" class = "form-control btn btn-primary" type="button" value="<?= _("Ré-initialiser") ?>" onClick="reinit_facture_dec_opt();" style='font-size:8pt;' ></td>
</tr>
</tfoot>
<tbody>
<?php foreach ($prestations as $prestation):
$idPrestationactes_temp = $this->nettoyer($prestation['id']);
$idPrestationactes = $this->nettoyer($prestation['idPrestationactes']);
$codeTypePrestation = $this->nettoyer($prestation['codeTypePrestation']);
$ententePrealable = $this->nettoyer($prestation['ententePrealable']);
$autorisation = $this->nettoyer($prestation['autorisation']);
$valide = $prestation['valide'];
$libelleActe = $this->nettoyer($prestation['libelleActe']);
if (est_anglophone()){
$libelleActe = $this->nettoyer($prestation['libelleActeEng']);
}
?>
<?php if($ententePrealable=='2' || $autorisation=='2'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($ententePrealable=='1' || $autorisation=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($ententePrealable=='9' || $autorisation=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td> <?= $libelleActe ?> </td>
<td align='center'> <?= format_N($this->nettoyer($prestation['fraisReel'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantTm'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
<?php if($ententePrealable>'1' || $autorisation>'1'): ?>
<td width="10%" align='center'> <?= format_N($this->nettoyer($prestation['montantForce'])) ?></td>
<?php else: ?>
<td width="7%">
<INPUT class="form-control" style='text-align:center' TYPE="number" value="<?= $this->nettoyer($prestation['montantForce']) ?>"
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){maj_montantForce_prestation_opt('<?=$idPrestationactes_temp?>', this.value);}">
</td>
<?php endif; ?>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantApayer'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantRedresse'])) ?></td>
<?php if($ententePrealable>'1' || $autorisation>'1'): ?>
<td align='center'> <input type="checkbox" disabled ></td>
<td align='center'> <input type="checkbox" disabled ></td>
<td align='center'> <input type="checkbox" disabled ></td>
<?php else: ?>
<?php if($valide=='1'): ?>
<td align='center'> <input type="checkbox" checked value="<?= $valide ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};valider_prestation_opt('<?=$idPrestationactes_temp?>', this.value);"></td>
<?php else: ?>
<td align='center'> <input type="checkbox" value="<?= $valide ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};valider_prestation_opt('<?=$idPrestationactes_temp?>', this.value);"></td>
<?php endif; ?>
<?php if($valide=='9'): ?>
<td align='center'> <input type="checkbox" checked value="<?= $valide ?>" onClick="javascript:if(this.value=='9'){this.value='0'}else{this.value='9'};valider_prestation_opt('<?=$idPrestationactes_temp?>', this.value);"></td>
<?php else: ?>
<td align='center'> <input type="checkbox" value="<?= $valide ?>" onClick="javascript:if(this.value=='9'){this.value='0'}else{this.value='9'};valider_prestation_opt('<?=$idPrestationactes_temp?>', this.value);"></td>
<?php endif; ?>
<?php if($valide=='2'): ?>
<td align='center'> <input type="checkbox" checked value="<?= $valide ?>" disabled ></td>
<?php else: ?>
<td align='center'> <input type="checkbox" value="<?= $valide ?>" disabled ></td>
<?php endif; ?>
<?php endif; ?>
</tr>
<?php endforeach; ?>
<tr style='background-color:white'>
<td colspan="10" height="8"></td>
</tr>
</tbody>
</table>
<div id="div_limites">
</div>
</div>

View File

@ -0,0 +1,218 @@
<div id="div_verification_facture">
<?php
$idFacture = $this->nettoyer($facture_pop['idFacture']);
$_SESSION['idAdherent_C'] = $this->nettoyer($facture_pop['idAdherent']);
$actVisible = $_SESSION['actVisible'];
$codeTypeAffection = $this->nettoyer($facture_pop['codeTypeAffection']);
$codeAffection = $this->nettoyer($facture_pop['codeAffection']);
if (est_anglophone())
{
$libelleAffection = $this->nettoyer($facture_pop['libelleAffectionEng']);
}
else
{
$libelleAffection = $this->nettoyer($facture_pop['libelleAffection']);
}
$AffectionVisible = $_SESSION['AffectionVisible'];
if($AffectionVisible!="1")
{
$libelleAffection = $codeAffection;
}
$fact_exclue = $this->nettoyer($facture_pop['valide']=="2");
?>
<input class="sr-only" type="text" id="ndPrestNonTraites" name="ndPrestNonTraites" value="<?= $this->nettoyer($prestations_total['ndPrestNonTraites']) ?>" >
<input class="sr-only" type="text" id="fraisRetenu_fact" name="fraisRetenu_fact" value="<?= $this->nettoyer($facture_pop['fraisRetenu']) ?>" >
<input class="sr-only" type="text" id="fraisRetenu_dec" name="fraisRetenu_dec" value="<?= $this->nettoyer($prestations_total['fraisRetenu']) ?>" >
<input class="sr-only" type="text" id="idFacture" name="idFacture" value="<?= $this->nettoyer($facture_pop['idFacture']) ?>" >
<input class="sr-only" type="text" id="codeTypeFacture" name="codeTypeFacture" value="<?= $this->nettoyer($facture_pop['codeTypeFacture']) ?>" >
<input class="sr-only" type="text" id="valide_dec" name="valide_dec" value="<?= $this->nettoyer($facture_pop['valide']) ?>" >
<input class="sr-only" type="text" id="montantForce_dec" name="montantForce_dec" value="<?= format_N($this->nettoyer($prestations_total['montantForce'])) ?>" >
<input class="sr-only" type="text" id="montantApayer_dec" name="montantApayer_dec" value="<?= format_N($this->nettoyer($prestations_total['montantApayer'])) ?>" >
<input class="sr-only" type="text" id="montantRedresse_dec" name="montantRedresse_dec" value="<?= format_N($this->nettoyer($prestations_total['montantRedresse'])) ?>" >
<table class="table table-responsive table-condensed" style='font-size:8pt;'>
<tbody>
<tr>
<td width="10%">Date</td>
<td colspan="3" width="40%"> <INPUT style='font-size:10pt;text-align:center;' class="form-control" TYPE="text" value="<?= dateheureLang($this->nettoyer($facture_pop['dateSysteme'])) ?>" readonly ></td>
<td width="10%" align="center"> <?= _("No Bon") ?> </td>
<td width="15%" align="center" style='font-size:10pt; background-color:blue;color:white;'> <?= $facture_pop['numeroBonOrdonnance'] ?> </td>
<td width="10%" align="center"> <?= _("Frais") ?> </td>
<td width="15%" > <INPUT style='font-size:10pt;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($facture_pop['prixManuel'])) ?>" readonly ></td>
</tr>
<tr>
<td> <?= _("T M") ?> </td>
<td width="15%"> <INPUT style='font-size:10pt; color:red;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($facture_pop['montantTm'])) ?>" readonly ></td>
<td width="10%" align="center"> <?= _("A Remb") ?> </td>
<td width="15%"> <INPUT style='font-size:10pt;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($facture_pop['montantArembourser'])) ?>" readonly ></td>
<td align="center"> <?= _("Dépas") ?> </td>
<td> <INPUT style='font-size:10pt; color:red;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($facture_pop['fraisExclu'])) ?>" readonly ></td>
<td align="center"> <?= _("Retenu") ?> </td>
<td> <INPUT style='font-size:10pt; color:blue;text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($facture_pop['fraisRetenu'])) ?>" readonly ></td>
</tr>
<tr>
<td> <?= _("Affection") ?> </td>
<td colspan="7">
<INPUT style='font-size:10pt; text-align:center;' class="form-control" TYPE="text" value="<?= $libelleAffection ?>" readonly >
</td>
</tr>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<tr>
<th> <?= _("Médicaments") ?> </th>
<th style="text-align:center"> <?= _("Public") ?> </th>
<th style="text-align:center"> <?= _("Phcie") ?> </th>
<th style="text-align:center"> <?= _("Qté") ?> </th>
<th style='text-align:center'> <?= _("Frais") ?> </th>
<th style='text-align:center'> <?= _("T M") ?> </th>
<th style='text-align:center'> <?= _("A Remb") ?> </th>
<th style='text-align:center'> <?= _("Forcé") ?> </th>
<th style='text-align:center'> <?= _("A payer") ?> </th>
<th style='text-align:center'> <?= _("Redres") ?> </th>
<th style='text-align:center'>Val</th>
<th style='text-align:center'>Rej</th>
<th style='text-align:center'>Excl</th>
</tr>
</thead>
<tfoot>
<tr>
<td style='text-align:center'> Total </td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['valeurActe'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['valeurActeManuel'])) ?></td>
<td ></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['fraisReel'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantTm'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantArembourser'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantForce'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantApayer'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prestations_total['montantRedresse'])) ?></td>
<td colspan="3"> </td>
</tr>
<tr>
<td colspan="3"><input id="btn_valid_facture" name="btn_valid_facture" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="valider_facture_dec_pha();" style='font-size:8pt;' ></td>
<td> </td>
<td colspan="9"><input id="btn_reinit_facture" name="btn_reinit_facture" class = "form-control btn btn-primary" type="button" value="<?= _("Ré-initialiser") ?>" onClick="reinit_facture_dec_pha();" style='font-size:8pt;' ></td>
</tr>
</tfoot>
<tbody>
<?php foreach ($prestations as $prestation):
$idPrestationactes_temp = $this->nettoyer($prestation['id']);
$idPrestationactes = $this->nettoyer($prestation['idPrestationactes']);
$codeTypePrestation = $this->nettoyer($prestation['codeTypePrestation']);
$ententePrealable = $this->nettoyer($prestation['ententePrealable']);
$autorisation = $this->nettoyer($prestation['autorisation']);
$valide = $prestation['valide'];
$ajPharmacie = $this->nettoyer($prestation['ajPharmacie']);
$valeurActe = $this->nettoyer($prestation['valeurActe']);
$valeurActeManuel = $this->nettoyer($prestation['valeurActeManuel']);
$gap = $valeurActe - $valeurActeManuel;
?>
<?php if($ajPharmacie=="1") : ?>
<tr valign="top" style="background-color: rgb(0, 142, 142);">
<?php else: ?>
<?php if($ententePrealable=='2' || $autorisation=='2'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($ententePrealable=='1' || $autorisation=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($ententePrealable=='9' || $autorisation=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<?php endif; ?>
<td width="30%"> <?= $this->nettoyer($prestation['libelleMedicament']) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($prestation['valeurActe'])) ?></td>
<td align='center'>
<input type="button" value="<?= format_N($this->nettoyer($prestation['valeurActeManuel'])) ?>"
onClick="javascript:alert('<?= $gap ?>');">
</td>
<td align='center'> <?= $this->nettoyer($prestation['quantite']) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['prixManuel'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantTm'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
<?php if($ententePrealable>'1' || $autorisation>'1' || $fact_exclue): ?>
<td width="10%" align='center'> <?= format_N($this->nettoyer($prestation['montantForce'])) ?></td>
<?php else: ?>
<td width="10%">
<INPUT class="form-control" style='text-align:center' TYPE="number" value="<?= $this->nettoyer($prestation['montantForce']) ?>"
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){maj_montantForce_prestation_pha('<?=$idPrestationactes_temp?>', this.value);}">
</td>
<?php endif; ?>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantApayer'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantRedresse'])) ?></td>
<?php if($ententePrealable>'1' || $autorisation>'1'): ?>
<td align='center'> <input type="checkbox" disabled ></td>
<td align='center'> <input type="checkbox" disabled ></td>
<td align='center'> <input type="checkbox" disabled ></td>
<?php else: ?>
<?php if($valide=='1'): ?>
<td align='center'> <input type="checkbox" checked value="<?= $valide ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};valider_prestation_pha('<?=$idPrestationactes_temp?>', this.value);"></td>
<?php else: ?>
<td align='center'> <input type="checkbox" value="<?= $valide ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};valider_prestation_pha('<?=$idPrestationactes_temp?>', this.value);"></td>
<?php endif; ?>
<?php if($valide=='9'): ?>
<td align='center'> <input type="checkbox" checked value="<?= $valide ?>" onClick="javascript:if(this.value=='9'){this.value='0'}else{this.value='9'};valider_prestation_pha('<?=$idPrestationactes_temp?>', this.value);"></td>
<?php else: ?>
<td align='center'> <input type="checkbox" value="<?= $valide ?>" onClick="javascript:if(this.value=='9'){this.value='0'}else{this.value='9'};valider_prestation_pha('<?=$idPrestationactes_temp?>', this.value);"></td>
<?php endif; ?>
<?php if($valide=='2'): ?>
<td align='center'> <input type="checkbox" checked value="<?= $valide ?>" disabled ></td>
<?php else: ?>
<td align='center'> <input type="checkbox" value="<?= $valide ?>" disabled ></td>
<?php endif; ?>
<?php endif; ?>
</tr>
<?php endforeach; ?>
<tr style='background-color:white'>
<td colspan="12" height="8"></td>
</tr>
</tbody>
</table>
<div id="div_limites">
</div>
</div>

View File

@ -0,0 +1,90 @@
<div id="div_ajout_actes">
<input class = "form-control btn btn-info" type="button" value="<?= _("Récapituler ajouts actes") ?>" onClick="recap_ajout_acte_dec();" style='font-size:9pt;' > </td>
<table class="table table-responsive table-condensed" style='font-size:8pt;'>
<tbody>
<tr>
<td width="20%" > <?= _("Famille Actes") ?> </td>
<td>
<SELECT class="form-control" id="codeFamilleActe" NAME="codeFamilleActe" required AUTOCOMPLETE="OFF" onChange="ajax_actes_possibles_selection_dec();" style='font-size:8pt;' >
<?php liste_options($familleacte,""); ?>
</SELECT>
</td>
</tr>
</tbody>
</table>
<div class="row" id="totam_donnees">
<div id="div_actes" class="col-4" style="padding-right:1px;">
<div id="listeacte">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
<thead>
<tr>
<th width="90%" style='text-align:center'> <?= _("Actes de la famille") ?> </th>
<th style='text-align:center'> => </th>
</tr>
</thead>
</table>
</div>
</div>
<div id="div_prestations" class="col-8" >
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
<thead>
<tr>
<th width="5%" style='text-align:center'> <= </th>
<th style="text-align:center"> <?= _("Actes ajoutés au décompte") ?> </th>
<th style="text-align:center"> <?= _("Frais") ?> </th>
<th style="text-align:center"> <?= _("T M") ?> </th>
<th style="text-align:center"> <?= _("A Remb") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($prestations as $prestation):
$idPrestationactes=$this->nettoyer($prestation['id']);
$idLivre=$this->nettoyer($prestation['id']);
$ententePrealable=$this->nettoyer($prestation['ententePrealable']);
if (est_anglophone())
{
$libelleActe = $this->nettoyer($prestation['libelleActeEng']);
}
else
{
$libelleActe = $this->nettoyer($prestation['libelleActe']);
}
?>
<?php if($ententePrealable=='2'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($ententePrealable=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($ententePrealable=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td> <input class = "form-control btn btn-danger" type="button" value="<=" onClick="javascript:retirer_un_acte_selection_dec('<?= $idLivre ?>');"> </td>
<td align='center'> <?= $libelleActe ?> </td>
<td align='center'> <?= format_N($this->nettoyer($prestation['fraisReel'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantTm'])) ?></td>
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
</tr>
<?php endforeach; ?>
<tr style='background-color:white'>
<td colspan="5" height="8"></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>

View File

@ -0,0 +1,35 @@
<form id="formData">
<legend id="titre_formData">Ajouter des données</legend>
<table class="table table-responsive table-condensed">
<tbody>
<tr>
<td width="8%" align="center" class="required">Prime Mini</td>
<td width="20%" ><INPUT class="form-control text-center" TYPE="text" value="0" id="primeMin" NAME="primeMin" required AUTOCOMPLETE="OFF" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);"></td>
<td width="8%" align="center" class="required">Prime Maxi</td>
<td width="20%"><INPUT class="form-control text-center" TYPE="text" value="0" id="primeMax" NAME="primeMax" required AUTOCOMPLETE="OFF" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);"></td>
<td width="10%" align="center" class="required">Type Contrat</td>
<td>
<SELECT class="form-control text-center" id="codeTypeContrat" NAME="codeTypeContrat" required AUTOCOMPLETE="OFF" >
<?php liste_options($typecontrat,"", false); ?>
</SELECT>
</td>
</tr>
<tr>
<td width="8%" align="center" class="required">Accessoire</td>
<td width="20%"><INPUT class="form-control text-center" TYPE="text" value="0" id="accessoireForfait" NAME="accessoireForfait" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);"></td>
<td width="8%" align="center">Taux</td>
<td width="20%"><INPUT class="form-control text-center" TYPE="number" min="0" value="0" step="0.01" id="tauxAccessoire" NAME="tauxAccessoire" onBlur="controle_numerique(this);"></td>
<td width="10%" align="center" class="required">Application</td>
<td>
<SELECT class="form-control text-center" id="codeApplication" NAME="codeApplication" required AUTOCOMPLETE="OFF" >
<?php liste_options($application,"", false); ?>
</SELECT>
</td>
</tr>
</tbody>
</table>
</form>

View File

@ -0,0 +1,79 @@
<div class="modal-dialog">
<div style='width:800px;' class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-bs-dismiss="modal">&times;</button>
<legend class="modal-title text-center" id="user"><?= _("Nouveau Praticien") ?></legend>
</div>
<div style='width:100%;' class="modal-body">
<form id="formModal">
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("Nom") ?> </td>
<td width="40%"><INPUT style='font-size:10pt;' class="form-control majuscule" TYPE="text" id="nom" NAME="nom" required AUTOCOMPLETE="OFF" autofocus ></td>
<td width="10%" align="center" > <?= _("Prénoms") ?> </td>
<td colspan="3" ><INPUT style='font-size:10pt;' class="form-control majuscule" TYPE="text" id="prenoms" NAME="prenoms" required AUTOCOMPLETE="OFF" ></td>
</tr>
<tr>
<td> <?= _("Corporation") ?> </td>
<td>
<SELECT style="font-size:10pt;" class="form-select" id="codeMetier" NAME="codeMetier" required AUTOCOMPLETE="OFF" autofocus >
<?php liste_options($metier,""); ?>
</SELECT>
</td>
<td width="10%" align="center"> <?= _("Téléphone") ?> </td>
<td colspan="3"><INPUT style='font-size:10pt;' class="form-control" TYPE="tel" id="telephone" NAME="telephone" ></td>
</tr>
<tr>
<td> <?= _("Spécialité") ?> </td>
<td>
<SELECT style="font-size:10pt;" class="form-select" id="codeSpecialite" NAME="codeSpecialite" autofocus >
<?php liste_options($specialite,""); ?>
</SELECT>
</td>
<td align="center"> E-mail </td>
<td colspan="3"><INPUT style='font-size:10pt;' class="form-control" TYPE="email" id="email" NAME="email" placeholder="E-mail" ></td>
</tr>
<tr>
<td > Adresse </td>
<td ><INPUT style='font-size:10pt;' class="form-control" TYPE="text" id="adresse" NAME="adresse" ></td>
<td align="center"> <?= _("No Ordre") ?> </td>
<td>
<INPUT style='font-size:10pt;' class="form-control" type="text" id="noOrdreMedecin" name="noOrdreMedecin"
onChange="this.value=supprimer_espace_string(this.value);">
</td>
<td align="center" width="5%"> Genre</td>
<td>
<SELECT style='font-size:10pt;' class="form-control" id="sexe" NAME="sexe" required AUTOCOMPLETE="OFF" >
<?php liste_options($sexe,""); ?>
</SELECT>
</td>
</tr>
<tr>
<td colspan="6"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:creer_praticien();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>
<div id="div_unicite_medecin">
<INPUT class="sr-only" TYPE="text" id="unicitemedecin" NAME="unicitemedecin" value="0" >
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" id="btn-fermer-modal" class="btn btn-default" data-bs-dismiss="modal">Fermer</button>
</div>
</div>
</div>

View File

@ -0,0 +1,38 @@
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<tbody>
<tr>
<td align='center'><input class = "form-control btn btn-danger" data-bs-toggle="modal" data-bs-target="#popRecherchePrestataireMoins" style="font-size:10pt;" type="button" value="<?= _("Prestataires en moins (".count($prestataireenmoinss).")") ?>" onclick=""></td>
</tr>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabspecialemini compact" style="font-size:9pt;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Nom") ?> </th>
<th style='text-align:center'> <?= _("Type") ?> </th>
<th width="2%" style='text-align:center'> <?= _("Suppr") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($prestataireenmoinss as $prestataireenmoins):
$type = $this->nettoyer($prestataireenmoins['typep']);
if (est_anglophone()){
$type = $this->nettoyer($prestataireenmoins['typepEng']);
}
$idData = $this->nettoyer($prestataireenmoins['id']);
?>
<tr valign="top">
<td > <?= $this->nettoyer($prestataireenmoins['prestataire']) ?></td>
<td > <?= $type; ?></td>
<td >
<button style="width:100%" type="button" id="btn-supprimer" name="Supprimer"
onclick="JAVASCRIPT:supprimerprestataireenplus(<?= $idData; ?>)">X</button>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>

View File

@ -0,0 +1,39 @@
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<tbody>
<tr>
<td align='center'><input class = "form-control btn btn-primary" data-bs-toggle="modal" data-bs-target="#popRecherchePrestatairePlus" style="font-size:10pt;" type="button" value="<?= _("Prestataires en plus (".count($prestataireenpluss).")") ?>" onclick=""></td>
</tr>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabspecialemini compact" style="font-size:9pt;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Nom") ?> </th>
<th style='text-align:center'> <?= _("Type") ?> </th>
<th style='text-align:center'> <?= _("Ville") ?> </th>
<th width="2%" style='text-align:center'> <?= _("Suppr") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($prestataireenpluss as $prestataireenplus):
$type = $this->nettoyer($prestataireenplus['typep']);
if (est_anglophone()){
$type = $this->nettoyer($prestataireenplus['typepEng']);
}
$idData = $this->nettoyer($prestataireenplus['id']);
?>
<tr valign="top">
<td > <?= $this->nettoyer($prestataireenplus['prestataire']); ?></td>
<td > <?= $type; ?></td>
<td > <?= $this->nettoyer($prestataireenplus['ville']); ?></td>
<td >
<button style="width:100%" type="button" id="btn-supprimer" name="Supprimer"
onclick="JAVASCRIPT:supprimerprestataireenplus(<?= $idData; ?>)">X</button>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>

View File

@ -0,0 +1,25 @@
<div id="div_bonpecs">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<thead>
<tr>
<th style='text-align:center' > Id </th>
<th style='text-align:center' > <?= _("Type") ?> </th>
<th style='text-align:center'> <?= _("Quantité") ?> </th>
<th style='text-align:center'> <?= _("Demandé par") ?> </th>
<th style='text-align:center'> Date </th>
</tr>
</thead>
<tbody>
<?php foreach ($demandesbons as $demandesbon):?>
<tr valign="top">
<td align='center'><?= $this->nettoyer($demandesbon['id']) ?></td>
<td align='center'><?= $this->nettoyer($demandesbon['typbon']) ?></td>
<td align='center'><?= $this->nettoyer($demandesbon['quantite']) ?></td>
<td align='center'><?= $this->nettoyer($demandesbon['utilisateur']) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($demandesbon['dateSysteme'])) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,33 @@
<?php $nbligne = 0; ?>
<div id="div_bonpecs">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive">
<thead>
<tr>
<th style="text-align: center;">Type</th>
<th style="text-align: center;">Date</th>
<th style="text-align: center;"> <?= _("No Départ") ?> </th>
<th style="text-align: center;"> <?= _("No Fin") ?> </th>
<th style="text-align: center;"> <?= _("Généré par") ?> </th>
<th style="text-align: center;"> <?= _("Réceptionnaire") ?> </th>
<th style="text-align: center;"> <?= _("Détail") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($generartionbons as $generartionbon):
$id=$this->nettoyer($generartionbon['id']);
$nbligne++;
?>
<td align='center'><?= $this->nettoyer($generartionbon['typeBon']) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($generartionbon['dateSysteme'])) ?></td>
<td align='center'><?= $this->nettoyer($generartionbon['noDepart']) ?></td>
<td align='center'><?= $this->nettoyer($generartionbon['noFin']) ?></td>
<td align='center'><?= $this->nettoyer($generartionbon['utilisateur']) ?></td>
<td align='center'><?= $this->nettoyer($generartionbon['receptionnaire']) ?></td>
<td align="center"> <input type="button" value="<?= $id ?>" onClick="javascript:afficher_detail_generartionbon(<?= $id ?>);"> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input class="sr-only" type="text" id="nbligne_info" name="nbligne_info" value="<?= $nbligne ?>" >
</div>

View File

@ -0,0 +1,39 @@
<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'> <?= _("Facture") ?> </th>
<th style='text-align:center'> <?= _("Prestataire") ?> </th>
<th style='text-align:center'> <?= _("Souscripteur") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
<th width="6%" style='text-align:center'> <?= _("Frais") ?> </th>
<th width="6%" style='text-align:center'> <?= _("A payer") ?> </th>
<th width="6%" style='text-align:center'> <?= _("Redressé") ?> </th>
<th style='text-align:center'> <?= _("Vérif") ?> </th>
<th style='text-align:center'> <?= _("Exercice") ?> </th>
<th style='text-align:center'> <?= _("Mois") ?> </th>
</tr>
</thead>
</tfoot>
<tbody>
<?php foreach ($decomptes as $decompte):
?>
<tr valign="top">
<td align='center'><?= $this->nettoyer($decompte['idFacture']) ?></td>
<td align='center'><?= $this->nettoyer($decompte['prestataire']) ?></td>
<td align='center'><?= $this->nettoyer($decompte['souscripteur']) ?></td>
<td align='center'><?= $this->nettoyer($decompte['numeroBeneficiaire']) ?></td>
<td align='center'><?= $this->nettoyer($decompte['beneficiaire']) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['fraisReel'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['montantApayer'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['montantRedresse'])) ?></td>
<td align='center'><?= $this->nettoyer($decompte['userControle']) ?></td>
<td align='center'><?= $this->nettoyer($decompte['codeExercice']) ?></td>
<td align='center'><?= $this->nettoyer($decompte['codeMois']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,101 @@
<div id="div_ententeprealable">
<table class="table table-striped table-bordered table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center'> No </th>
<th rowspan="2" style='text-align:center'> Date </th>
<th rowspan="2" style='text-align:center'> <?= _("Médicaments") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Prix") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Gap") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Prestataire") ?> </th>
<th rowspan="2" colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Répondue le") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Répondue par") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Situation") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Motif Réponse") ?> </th>
</tr>
<tr>
<th style='text-align:center'> <?= _("Réel") ?> </th>
<th style='text-align:center'> <?= _("A l'assuré") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($ententeprealables as $ententeprealable):
$idDemandesubstitution = $this->nettoyer($ententeprealable['idDemandesubstitution']);
$codeReponseEntentePrealable = $this->nettoyer($ententeprealable['codeReponseEntentePrealable']);
$numeroDemandeSubstitution = $this->nettoyer($ententeprealable['numeroDemandeSubstitution']);
$codeMedicamentSubstitution = $this->nettoyer($ententeprealable['codeMedicamentSubstitution']);
$libelleSubstitut = $this->nettoyer($ententeprealable['libelleSubstitut']);
$prixSubstitution = $this->nettoyer($ententeprealable['prixSubstitution']);
$codeMedicamentPrescrit = $this->nettoyer($ententeprealable['codeMedicamentPrescrit']);
$nomPrescrit = $this->nettoyer($ententeprealable['nomPrescrit']);
$prixPrescription = $this->nettoyer($ententeprealable['prixPrescription']);
$gap = $this->nettoyer($ententeprealable['gap']);
$reponsentEnteprealable = $this->nettoyer($ententeprealable['reponsentEnteprealable']);
if (est_anglophone()){
$reponsentEnteprealable = $this->nettoyer($ententeprealable['reponsentEnteprealableEng']);
}
?>
<?php if($codeReponseEntentePrealable=='2'): ?>
<tr valign="top" style="background-color: yellow;">
<?php elseif($codeReponseEntentePrealable=='1'): ?>
<tr valign="top" style="background-color: #00ff00;">
<?php elseif($codeReponseEntentePrealable=='9'): ?>
<tr valign="top" style="background-color: red;color:white;">
<?php else: ?>
<tr valign="top">
<?php endif; ?>
<td align='center'>
<input type="button" value="<?= $numeroDemandeSubstitution ?> "
onClick="javascript:consulter_approbation_pha(<?= $idDemandesubstitution ?>);">
</td>
<td align='center'><?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?></td>
<td align='center'>
<input type="button" value="<?= $libelleSubstitut ?> " onClick="javascript:alert('<?= $nomPrescrit ?>');">
</td>
<td align='center'>
<input type="button" value="<?= format_N($prixSubstitution) ?> " onClick="javascript:alert('<?= format_N($prixPrescription) ?>');">
</td>
<td align='center'><?= $gap ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['prestataire']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?></td>
<td><?= $this->nettoyer($ententeprealable['beneficiaire']) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($ententeprealable['dateReponse'])) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['responsableAccord']) ?></td>
<td align='center'><?= $reponsentEnteprealable ?></td>
<?php if ($codeReponseEntentePrealable=='2'): ?>
<td align="center" >
<input style="color:blue;" type="button" value="<?= _("Accepter") ?>"
onClick="javascript:accepter_substitution_pha(<?= $idDemandesubstitution ?>);">
</td>
<td align="center">
<input style="color:red;" type="button" value="<?= _("Refuser") ?>"
onClick="javascript:refuser_substitution_pha(<?= $idDemandesubstitution ?>);">
</td>
<?php elseif($codeReponseEntentePrealable=='1'): ?>
<td colspan="2" align='center'><?= $this->nettoyer($ententeprealable['motifReel']) ?></td>
<?php elseif($codeReponseEntentePrealable=='9'): ?>
<td align='center'><?= $this->nettoyer($ententeprealable['motifReel']) ?></td>
<td align='center'><?= $this->nettoyer($ententeprealable['motifRefusAssure']) ?></td>
<?php endif; ?>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,45 @@
<?php $nbligne = 0; ?>
<div id="div_assures_actifs">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<thead>
<tr>
<th> <?= _("Souscripteur") ?> </th>
<th style='text-align:center'> <?= _("Police") ?> </th>
<th style='text-align:center'> <?= _("Effet") ?> </th>
<th style='text-align:center'> <?= _("Echéance") ?> </th>
<th style='text-align:center'> <?= _("Adhérents") ?> </th>
<th style='text-align:center'> <?= _("Dépendants") ?> </th>
<th style='text-align:center'> <?= _("Bénéficiaires") ?> </th>
</tr>
</thead>
<tfoot>
<tr>
<td style='text-align:center' colspan="4"> Total </td>
<td align='center'><?= format_N($this->nettoyer($ente_etat['nbAdherentTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($ente_etat['nbDependantTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($ente_etat['nbBeneficiaireTotal'])) ?></td>
</tr>
</tfoot>
<tbody>
<?php foreach ($beneficiaires as $beneficiaire):
$nbligne++;
?>
<tr valign="top">
<td><?= $this->nettoyer($beneficiaire['souscripteur']) ?></td>
<td align='center'><?= $this->nettoyer($beneficiaire['numeroPolice']) ?></td>
<td align='center'><?= dateLang($this->nettoyer($beneficiaire['dateEffet'])) ?></td>
<td align='center'><?= dateLang($this->nettoyer($beneficiaire['dateFin'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['nbAdherent'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['nbDependant'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['nbBeneficiaire'])) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,92 @@
<?php $nbligne = 0; ?>
<div id="div_detail">
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<td width="34%"> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:en_attente_demandesreglement();"><?= _("Actualiser...") ?></button> </td>
<td> <input class="form-control" style="text-align: center; font-size:10pt;" type="text" id="nbligne" name="nbligne" value="Lignes : <?= format_N($this->nettoyer($decomptes_total['nbLigne'])) ?> " readonly> </td>
<td width="34%"> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:en_attente_demandesreglement_export();"> <?= _("Exporter vers Excel...") ?> </button> </td>
</tr>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<thead>
<tr>
<td colspan="4" style='text-align:center'> <?= format_N($this->nettoyer($decomptes_total['nbLigne'])) ?> <?= _("Lignes au total") ?> </td>
<td align='center'><?= format_N($this->nettoyer($decomptes_total['montantApayerTotal'])) ?></td>
<td colspan="2" > </td>
</tr>
<tr>
<th style='text-align:center'> <?= _("Exercice") ?> </th>
<th style='text-align:center'> <?= _("Mois") ?> </th>
<th width="10%" style='text-align:center'> <?= _("No Décpte") ?> </th>
<th style='text-align:center'> <?= _("Prestataire") ?> </th>
<th style='text-align:center'> <?= _("A régler") ?> </th>
<td style='text-align:center' colspan="2" > <?= _("Validation") ?> </td>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="4" style='text-align:center'> <?= format_N($this->nettoyer($decomptes_total['nbLigne'])) ?> <?= _("Lignes au total") ?> </td>
<td align='center'><?= format_N($this->nettoyer($decomptes_total['montantApayerTotal'])) ?></td>
<td colspan="2" > </td>
</tr>
</tfoot>
<tbody>
<?php foreach ($decomptes as $decompte):
$idReglement = $this->nettoyer($decompte['idReglement']);
$idBeneficiaire = $this->nettoyer($decompte['idBeneficiaire']);
$numeroDecompte = $this->nettoyer($decompte['numeroDecompte']);
$numeroDemandeReglement = $this->nettoyer($decompte['numeroDemandeReglement']);
$codePrestataire = $this->nettoyer($decompte['codePrestataire']);
$codeExercice = $this->nettoyer($decompte['codeExercice']);
$codeMois = $this->nettoyer($decompte['codeMois']);
$codeTypeDecompte = $this->nettoyer($decompte['codeTypeDecompte']);
if($codeTypeDecompte=="E" or $codeTypeDecompte=="L")
{
$codeTypeDecompte="P";
}
$nbligne++;
?>
<tr valign="top">
<td align='center'><?= $this->nettoyer($decompte['codeExercice']) ?></td>
<td align='center'><?= $this->nettoyer($decompte['codeMois']) ?></td>
<td align="center">
<?php if($codeTypeDecompte=='P'): ?>
<input style='font-size:9pt;' class="form-control btn btn-primary" type="button" value="<?= $numeroDecompte ?>"
onClick="javascript:initierdecompte_liste('<?= $codePrestataire ?>', '<?= $codeExercice ?>', '<?= $codeMois ?>');">
<?php elseif($codeTypeDecompte=='C'): ?>
<input style='font-size:9pt;' class="form-control btn btn-warning" type="button" value="<?= $numeroDecompte ?>"
onClick="javascript:rechercher_dossier_classique('<?= $numeroDecompte ?>', '<?= $idBeneficiaire ?>' );">
<?php elseif($codeTypeDecompte=='F'): ?>
<input style='font-size:9pt;' class="form-control btn btn-danger" type="button" value="<?= $numeroDecompte ?>"
onClick="javascript:rechercher_frais_funeraire('<?= $idReglement ?>', '<?= $idBeneficiaire ?>' );">
<?php endif; ?>
</td>
<td align='center'><?= $this->nettoyer($decompte['prestataire']) ?></td>
<td align='center'><?= format_N($this->nettoyer($decompte['montantApayer'])) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($decompte['heureValidationDecompte'])) ?></td>
<td align='center'><?= $this->nettoyer($decompte['userValidationDecompte']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input class="sr-only" type="text" id="nbligne_info" name="nbligne_info" value="<?= $nbligne ?>" >
</div>

View File

@ -0,0 +1,2 @@
<INPUT class="form-control datepicker" TYPE="text" id="dateEntree" NAME="dateEntree" value="<?= dateLang($dateAvenant) ?>" required AUTOCOMPLETE="OFF"
onChange="prorater_prime_adherent();">

View File

@ -0,0 +1,2 @@
<INPUT class="form-control datepicker" TYPE="text" id="dateEntree" NAME="dateEntree" value="<?= dateLang($dateAvenant) ?>" required AUTOCOMPLETE="OFF"
onChange="prorater_prime_beneficiaire();">

0
Vue_sav/Ajaxavenant/index.php Executable file
View File

View File

@ -0,0 +1,79 @@
<?php
$idBeneficiaire = $beneficiaire['id'];
$datejour = date('Y-m-d');
$estcouvert = ($beneficiaire['dateEcheancePolice']>=$datejour) ? "1" : "0";
$estsorti = "0";
$dateSortieBeneficiaire = $beneficiaire['dateSortieBeneficiaire'];
if( $dateSortieBeneficiaire > "2000-01-01")
{
$estsorti = ($dateSortieBeneficiaire<=$datejour)? "1" : "0";
$estcouvert = ($estcouvert && ($dateSortieBeneficiaire>$datejour)) ? "1" : "0";
}
$dateEffetCouvert = $beneficiaire['dateEffetCouvert'];
$codeEtatBeneficiaire = $beneficiaire['codeEtatBeneficiaire'];
$etatbeneficiaireEng = $beneficiaire['etatbeneficiaireEng'];
$etatbeneficiaire = $beneficiaire['etatbeneficiaire'];
?>
<input class="sr-only" id="estcouvert" name="estcouvert" type="text" value= "<?= $estcouvert ?>" >
<input class="sr-only" id="estsorti" name="estsorti" type="text" value= "<?= $estsorti ?>" >
<?php if($idBeneficiaire > "0"): ?>
<table class="table table-condensed" style="font-size:10pt; padding:0px; height:30px;">
<tbody>
<tr>
<td width="15%"> <?= _("Couverture") ?> </td>
<?php if ($estcouvert=="1") : ?>
<td width="25%" align="center" style='font-size:10pt; background-color:blue;color:white;'> <?= dateLang($this->nettoyer($beneficiaire['dateEntreeBeneficiaire']), $_SESSION['p_lang']).' - '.dateLang($beneficiaire['dateEcheancePolice'], $_SESSION['p_lang']) ?> </td>
<?php else: ?>
<td width="25%" align="center" style='font-size:10pt; background-color:red;color:white;'> <?= dateLang($this->nettoyer($beneficiaire['dateEntreeBeneficiaire']), $_SESSION['p_lang']).' - '.dateLang($beneficiaire['dateEcheancePolice'], $_SESSION['p_lang']) ?> </td>
<?php endif; ?>
<td align="center" width="11%"> <?= _("Naissance") ?> </td>
<?php if ($estcouvert=="1") : ?>
<td colspan="3" align="center" style='font-size:10pt; background-color:blue;color:white;'><?= dateLang($this->nettoyer($beneficiaire['dateNaissance']), $_SESSION['p_lang']).' => '.$beneficiaire['ageBeneficiaire'].' '. _('ans') ?></td>
<?php else: ?>
<td colspan="3" align="center" style='font-size:10pt; background-color:red;color:white;'> <?= dateLang($this->nettoyer($beneficiaire['dateNaissance']), $_SESSION['p_lang']).' => '.$beneficiaire['ageBeneficiaire'].' '. _('ans') ?> </td>
<?php endif; ?>
<td width="8%" align="center"> <?= _("Etat") ?> </td>
<?php if ($dateEffetCouvert=="0") : ?>
<td width="12%" align="center" style='font-size:10pt; background-color:red;color:white;'> <?= _("Non renouvelé") ?> </td>
<?php else: ?>
<?php if ($estcouvert=="1") : ?>
<?php if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"): ?>
<?php if ($codeEtatBeneficiaire=="V"): ?>
<td width="12%" align="center" style='font-size:10pt; background-color:blue;color:white;'> <?= $etatbeneficiaireEng ?> </td>
<?php else: ?>
<td width="12%" align="center" style='font-size:10pt; background-color:red;color:white;'> <?= $etatbeneficiaireEng ?> </td>
<?php endif; ?>
<?php else: ?>
<?php if ($codeEtatBeneficiaire=="V"): ?>
<td width="12%" align="center" style='font-size:10pt; background-color:blue;color:white;'> <?= $etatbeneficiaire ?> </td>
<?php else: ?>
<td width="12%"align="center" style='font-size:10pt; background-color:red;color:white;'> <?= $etatbeneficiaire ?> </td>
<?php endif; ?>
<?php endif; ?>
<?php else: ?>
<?php if ($estsorti=="1"): ?>
<td width="12%" align="center" style='font-size:10pt; background-color:red;color:white;'> <?= _("Retiré") ?> </td>
<?php else: ?>
<td width="12%" align="center" style='font-size:10pt; background-color:red;color:white;'> <?= _("Expiré") ?> </td>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
</tr>
<?php endif; ?>
</tbody>
</table>

View File

@ -0,0 +1,70 @@
<div id="div_detail_requete">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<thead>
<tr>
<td colspan="4" style='text-align:center'> Total </td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['primeNetteTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['commissionTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['commissionAutreTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['accessoireTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['taxeTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['fraisCarteTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['primeTtcTotal'])) ?></td>
</tr>
<tr>
<th style='text-align:center'> <?= _("Effet") ?> </th>
<th style='text-align:center' colspan="3" > <?= _("Bénéficiaire") ?> </th>
<th style='text-align:center'> <?= _("P Nette") ?> </th>
<th style='text-align:center'> <?= _("Com Court") ?> </th>
<th style='text-align:center'> <?= _("Com Commerc") ?> </th>
<th style='text-align:center'> <?= _("Acess") ?> </th>
<th style='text-align:center'> <?= (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes") ?> </th>
<th style='text-align:center'>
<?php
if(isset($_SESSION['composanteprime']['Cartes']))
{
echo _($_SESSION['composanteprime']['Cartes']);
}
else
{
echo _("Cartes");
}
?>
</th>
<th style='text-align:center'> <?= _("Prime TTC") ?> </th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="4" style='text-align:center'> Total </td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['primeNetteTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['commissionTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['commissionAutreTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['accessoireTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['taxeTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['fraisCarteTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['primeTtcTotal'])) ?></td>
</tr>
</tfoot>
<tbody>
<?php foreach ($beneficiaires as $beneficiaire):
?>
<tr valign="top">
<td align='center'><?= dateLang($this->nettoyer($beneficiaire['dateEffet'])) ?></td>
<td align='center'> <?= $this->nettoyer($beneficiaire['codeLienParente']) ?></td>
<td align='center'> <?= $this->nettoyer($beneficiaire['numeroBeneficiaire']) ?></td>
<td><?= $this->nettoyer($beneficiaire['beneficiaire']) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['primeNette'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['commission'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['commissionAutre'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['accessoire'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['taxe'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['fraisCarte'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['primeTtc'])) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,79 @@
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<td colspan="2" style='text-align:center'> Total </td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['primeNetteTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['commissionTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['commissionAutreTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['accessoireTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['taxeTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['fraisCarteTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['primeTtcTotal'])) ?></td>
<td> </td>
</tr>
<tr>
<th rowspan="2" style='text-align:center'> <?= _("Effet") ?> </th>
<th rowspan="2" style='text-align:center' > <?= _("Avenant") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("P Nette") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Commissions") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Acess") ?> </th>
<th rowspan="2" style='text-align:center'> <?= (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes") ?> </th>
<th rowspan="2" style='text-align:center'>
<?php
if(isset($_SESSION['composanteprime']['Cartes']))
{
echo _($_SESSION['composanteprime']['Cartes']);
}
else
{
echo _("Cartes");
}
?>
</th>
<th rowspan="2" style='text-align:center'> <?= _("Prime TTC") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Facturation") ?> </th>
</tr>
<tr>
<th style='text-align:center'> <?= _("Courtier") ?> </th>
<th style='text-align:center'> <?= _("Commerc") ?> </th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="2" style='text-align:center'> Total </td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['primeNetteTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['commissionTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['commissionAutreTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['accessoireTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['taxeTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['fraisCarteTotal'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaires_total['primeTtcTotal'])) ?></td>
<td> </td>
</tr>
</tfoot>
<tbody>
<?php foreach ($beneficiaires as $beneficiaire):
?>
<tr valign="top">
<td align='center'><?= dateLang($this->nettoyer($beneficiaire['dateEffet'])) ?></td>
<!--
<td align='center'> <?= $this->nettoyer($beneficiaire['codeLienParente']) ?></td>
<td align='center'> <?= $this->nettoyer($beneficiaire['numeroBeneficiaire']) ?></td>
<td><?= $this->nettoyer($beneficiaire['beneficiaire']) ?></td>
-->
<td align='center'> <?= $this->nettoyer($beneficiaire['avenant']) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['primeNette'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['commission'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['commissionAutre'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['accessoire'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['taxe'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['fraisCarte'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($beneficiaire['primeTtc'])) ?></td>
<td align='center'><?= dateheureLang($this->nettoyer($beneficiaire['dateFacturation']), $_SESSION['p_lang']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>

View File

@ -0,0 +1,5 @@
<?php?>
<div id="msgErreur" class="alert alert-danger" style="height:38px; padding:5px;" >
<input class="sr-only" type="text" id="codeEtatBon" name="codeEtatBon" value="<?= $codeEtatBon ?>">
<H4><?= $msgErreur ?></H4>
</div>

View File

@ -0,0 +1,89 @@
<?php $nbligne = 0; ?>
<div id="div_detail_requete">
<button class="sr-only" id="btn_pop_detail" name="btn_pop_detail" type="button" data-bs-toggle="modal" data-bs-target="#popdetail" > </button>
<INPUT class="sr-only" type="text" id="codePrestataire" name="codePrestataire" value="">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<td colspan="10" style='text-align:center'> Total </td>
<td style='text-align:center'> <?= format_N($this->nettoyer($donnees_total['primeHtTot'])) ?> </td>
<td style='text-align:center'> <?= format_N($this->nettoyer($donnees_total['taxeTot'])) ?> </td>
<td style='text-align:center'> <?= format_N($this->nettoyer($donnees_total['fraisCarteTot'])) ?> </td>
<td align='center'><?= format_N($this->nettoyer($donnees_total['primeTtcTot'])) ?></td>
<td> </td>
</tr>
<tr>
<th style='text-align:center'> <?= _("Date Cpt") ?> </th>
<th style='text-align:center'> <?= _("No Enc") ?> </th>
<th style='text-align:center'> <?= _("Mode") ?> </th>
<th style='text-align:center'> <?= _("Cpte") ?> </th>
<th style='text-align:center'> <?= _("Réf") ?> </th>
<th style='text-align:center'> <?= _("Libelle Encaissement") ?> </th>
<th style='text-align:center'> <?= _("Client") ?> </th>
<th style='text-align:center'> <?= _("Police") ?> </th>
<th style='text-align:center'> <?= _("Effet") ?> </th>
<th style='text-align:center'> <?= _("Quittance") ?> </th>
<th style='text-align:center'> <?= _("PRIME NETTE") ?> </th>
<!-- <th style='text-align:center'> <?= (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes") ?> </th> -->
<th style='text-align:center'> <?= _("Taxes") ?> </th>
<th style='text-align:center'>
<?php
if(isset($_SESSION['composanteprime']['Cartes']))
{
echo _($_SESSION['composanteprime']['Cartes']);
}
else
{
echo _("Cartes");
}
?>
</th>
<th style='text-align:center'> <?= _("PRIME TOTALE") ?> </th>
<th style='text-align:center'> STATUS </th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="10" style='text-align:center'> Total </td>
<td style='text-align:center'> <?= format_N($this->nettoyer($donnees_total['primeHtTot'])) ?> </td>
<td style='text-align:center'> <?= format_N($this->nettoyer($donnees_total['taxeTot'])) ?> </td>
<td style='text-align:center'> <?= format_N($this->nettoyer($donnees_total['fraisCarteTot'])) ?> </td>
<td align='center'><?= format_N($this->nettoyer($donnees_total['primeTtcTot'])) ?></td>
<td> </td>
</tr>
</tfoot>
<tbody>
<?php foreach ($donnees as $donnee):
$nbligne++;
?>
<tr valign="top">
<td align='center'><?= dateLang($this->nettoyer($donnee['dateComptable'])) ?></td>
<td align='center'><?= $this->nettoyer($donnee['numeroEncaissement']) ?></td>
<td align='center'><?= $this->nettoyer($donnee['codeModePaiement']) ?></td>
<td align='center'><?= $this->nettoyer($donnee['codeMoyenPaiement']) ?></td>
<td align='center'><?= $this->nettoyer($donnee['referencePaiement']) ?></td>
<td align='center'><?= $this->nettoyer($donnee['libelleOperation']) ?></td>
<td><?= $this->nettoyer($donnee['souscripteur']) ?></td>
<td align='center'><?= $this->nettoyer($donnee['numeroPolice']) ?></td>
<td align='center'><?= dateLang($this->nettoyer($donnee['dateEffet'])) ?></td>
<td align='center'><?= $this->nettoyer($donnee['numeroQuittance']) ?></td>
<td align='center'><?= format_N($this->nettoyer($donnee['primeHt'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($donnee['taxe'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($donnee['fraisCarte'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($donnee['primeTtc'])) ?></td>
<td align='center'> <?= $this->nettoyer($donnee['codeEtape']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input class="sr-only" type="text" id="nbligne_info" name="nbligne_info" value="<?= $nbligne ?>" >
</div>

View File

@ -0,0 +1,98 @@
<?php $nbligne = 0; ?>
<div id="div_detail_requete">
<button class="sr-only" id="btn_pop_detail" name="btn_pop_detail" type="button" data-bs-toggle="modal" data-bs-target="#popdetail" > </button>
<INPUT class="sr-only" type="text" id="codePrestataire" name="codePrestataire" value="">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<td colspan="6" style='text-align:center'> Total </td>
<td style='text-align:center'> <?= format_N($this->nettoyer($donnees_total['primeHtTot'])) ?> </td>
<td style='text-align:center'> <?= format_N($this->nettoyer($donnees_total['taxeTot'])) ?> </td>
<td style='text-align:center'> <?= format_N($this->nettoyer($donnees_total['fraisCarteTot'])) ?> </td>
<td align='center'><?= format_N($this->nettoyer($donnees_total['primeTtcTot'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($donnees_total['encaisseTot'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($donnees_total['soldeTot'])) ?></td>
<td colspan="2"> </td>
</tr>
<tr>
<th style='text-align:center'> <?= _("Client") ?> </th>
<th style='text-align:center'> <?= _("Police") ?> </th>
<th style='text-align:center'> <?= _("Emis") ?> </th>
<th style='text-align:center'> <?= _("Quit") ?> </th>
<th style='text-align:center'> <?= _("Effet") ?> </th>
<th style='text-align:center'> <?= _("Echéance") ?> </th>
<th style='text-align:center'> <?= _("PRIME NETTE") ?> </th>
<!-- <th style='text-align:center'> <?= (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes") ?> </th> -->
<th style='text-align:center'> <?= _("Taxes") ?> </th>
<th style='text-align:center'>
<?php
if(isset($_SESSION['composanteprime']['Cartes']))
{
echo _($_SESSION['composanteprime']['Cartes']);
}
else
{
echo _("Cartes");
}
?>
</th>
<th style='text-align:center'> <?= _("PRIME TOTALE") ?> </th>
<th style='text-align:center'> <?= _("ENCAISSEMENTS") ?> </th>
<th style='text-align:center'> <?= _("SOLDE") ?> </th>
<th style='text-align:center'> STATUS </th>
<th style='text-align:center'> <?= _("Facturation") ?> </th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="6" style='text-align:center'> Total </td>
<td style='text-align:center'> <?= format_N($this->nettoyer($donnees_total['primeHtTot'])) ?> </td>
<td style='text-align:center'> <?= format_N($this->nettoyer($donnees_total['taxeTot'])) ?> </td>
<td style='text-align:center'> <?= format_N($this->nettoyer($donnees_total['fraisCarteTot'])) ?> </td>
<td align='center'><?= format_N($this->nettoyer($donnees_total['primeTtcTot'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($donnees_total['encaisseTot'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($donnees_total['soldeTot'])) ?></td>
<td colspan="2"> </td>
</tr>
</tfoot>
<tbody>
<?php foreach ($donnees as $donnee):
$etape = $this->nettoyer($donnee['etape']);
if (est_anglophone())
{
$etape = $this->nettoyer($donnee['etapeEng']);
}
$nbligne++;
?>
<tr valign="top">
<td><?= $this->nettoyer($donnee['souscripteur']) ?></td>
<td align='center'><?= $this->nettoyer($donnee['numeroPolice']) ?></td>
<td align='center'><?= $this->nettoyer($donnee['numeroEmission']) ?></td>
<td align='center'><?= $this->nettoyer($donnee['numeroQuittance']) ?></td>
<td align='center'><?= dateLang($this->nettoyer($donnee['dateEffet'])) ?></td>
<td align='center'><?= dateLang($this->nettoyer($donnee['dateFin'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($donnee['primeHt'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($donnee['taxe'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($donnee['fraisCarte'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($donnee['primeTtc'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($donnee['encaisse'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($donnee['solde'])) ?></td>
<td align='center'> <?= $etape ?> </td>
<td align='center'><?= dateheureLang($this->nettoyer($donnee['dateSysteme']), $_SESSION['p_lang']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input class="sr-only" type="text" id="nbligne_info" name="nbligne_info" value="<?= $nbligne ?>" >
</div>

View File

@ -0,0 +1,5 @@
<?php if($prestations_total['totalPrixManuel'] == "0"): ?>
<button type="button" class="form-control btn btn-primary" style='font-size:12pt;' onclick="javascript:alertsiprixprestationzero();"> <?= _("Envoyer un avis de prorogation") ?> </button>
<?php else: ?>
<button type="button" class="form-control btn btn-primary" data-bs-toggle="modal" data-bs-target="#popAjoutChambre" style='font-size:12pt;' > <?= _("Envoyer un avis de prorogation") ?> </button>
<?php endif; ?>

View File

@ -0,0 +1,28 @@
<div id="detail_facture">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th style='text-align:center'> Date </th>
<th > <?= _("Souscripteur") ?> </th>
<th colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
<th style='text-align:center'> <?= _("Carte") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($gcs as $gc):
$idTemp=$this->nettoyer($gc['idTemp']);
?>
<tr valign="top">
<td align='center'><?= dateLang($this->nettoyer($gc['dateCarte'])) ?></td>
<td><?= $this->nettoyer($gc['souscripteur']) ?></td>
<td align='center'><?= $this->nettoyer($gc['numeroBeneficiaire']) ?></td>
<td><?= $this->nettoyer($gc['beneficiaire']) ?></td>
<td align='center'><?= format_N($this->nettoyer($gc['montantCarte'])) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,51 @@
<div id="detail_facture">
<?php $this->titre = "INTER-SANTE - Facturation Gestion confiée";
$valideAs = $this->nettoyer($reglement['valideAs']);
?>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center'> Date </th>
<th rowspan="2" > <?= _("Souscripteur") ?> </th>
<th rowspan="2" colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Carte") ?> </th>
<?php if($valideAs=='0'): ?>
<th width="6%" colspan="2" style='text-align:center'> <?= _("Choix") ?> </th>
<?php endif; ?>
</tr>
<?php if($valideAs=='0'): ?>
<tr>
<th style='text-align:center'> <input class = "form-control btn btn-primary" type="button" value="V" onClick="selectionner_carte_gc_tout('1');"> </td>
<th style='text-align:center'> <input class = "form-control btn btn-primary" type="button" value="X" onClick="selectionner_carte_gc_tout('0');"> </td>
</tr>
<?php endif; ?>
</thead>
<tbody>
<?php foreach ($gcs as $gc):
$idTemp=$this->nettoyer($gc['idTemp']);
?>
<tr valign="top">
<td align='center'><?= dateLang($this->nettoyer($gc['dateCarte'])) ?></td>
<td><?= $this->nettoyer($gc['souscripteur']) ?></td>
<td align='center'><?= $this->nettoyer($gc['numeroBeneficiaire']) ?></td>
<td><?= $this->nettoyer($gc['beneficiaire']) ?></td>
<td align='center'><?= format_N($this->nettoyer($gc['montantCarte'])) ?></td>
<?php if($valideAs=='0'): ?>
<?php if($gc['choix']=='1'): ?>
<td colspan="2" align='center'> <input type="checkbox" checked value="<?php echo $gc['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_carte_gc(<?= $idTemp ?>, this.value);"></td>
<?php else: ?>
<td colspan="2" align='center'> <input type="checkbox" value="<?php echo $gc['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_carte_gc(<?= $idTemp ?>, this.value);"></td>
<?php endif; ?>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,51 @@
<div id="detail_facture">
<?php $this->titre = "INTER-SANTE - Facturation Gestion confiée";
$valideAs = $this->nettoyer($reglement['valideAs']);
?>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center'> Date </th>
<th rowspan="2" > <?= _("Souscripteur") ?> </th>
<th rowspan="2" colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Carte") ?> </th>
<?php if($valideAs=='0'): ?>
<th width="6%" colspan="2" style='text-align:center'> <?= _("Choix") ?> </th>
<?php endif; ?>
</tr>
<?php if($valideAs=='0'): ?>
<tr>
<th style='text-align:center'> <input class = "form-control btn btn-primary" type="button" value="V" onClick="selectionner_carte_gc_tout('1');"> </td>
<th style='text-align:center'> <input class = "form-control btn btn-primary" type="button" value="X" onClick="selectionner_carte_gc_tout('0');"> </td>
</tr>
<?php endif; ?>
</thead>
<tbody>
<?php foreach ($gcs as $gc):
$idTemp=$this->nettoyer($gc['idTemp']);
?>
<tr valign="top">
<td align='center'><?= dateLang($this->nettoyer($gc['dateCarte'])) ?></td>
<td><?= $this->nettoyer($gc['souscripteur']) ?></td>
<td align='center'><?= $this->nettoyer($gc['numeroBeneficiaire']) ?></td>
<td><?= $this->nettoyer($gc['beneficiaire']) ?></td>
<td align='center'><?= format_N($this->nettoyer($gc['montantCarte'])) ?></td>
<?php if($valideAs=='0'): ?>
<?php if($gc['choix']=='1'): ?>
<td colspan="2" align='center'> <input type="checkbox" checked value="<?php echo $gc['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_carte_gc(<?= $idTemp ?>, this.value);"></td>
<?php else: ?>
<td colspan="2" align='center'> <input type="checkbox" value="<?php echo $gc['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_carte_gc(<?= $idTemp ?>, this.value);"></td>
<?php endif; ?>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,69 @@
<div id="reglement_gc">
<input class="sr-only" type="text" id="nbFacture" name="nbFacture" value="<?= $this->nettoyer($reglement['nbFacture']) ?>" >
<input class="sr-only" type="text" id="montantFacture" name="montantFacture" value="<?= $this->nettoyer($reglement['montantFacture']) ?>" >
<input class="sr-only" type="text" id="commissionFacture" name="montantArembourser" value="<?= $this->nettoyer($reglement['commissionFacture']) ?>" >
<input class="sr-only" type="text" id="montantRedresse" name="montantRedresse" value="<?= $this->nettoyer($reglement['montantRedresse']) ?>" >
<input class="sr-only" type="text" id="commissionRedresse" name="commissionRedresse" value="<?= $this->nettoyer($reglement['commissionRedresse']) ?>" >
<input class="sr-only" type="text" id="montantCarte" name="montantCarte" value="<?= $this->nettoyer($reglement['montantCarte']) ?>" >
<input class="sr-only" type="text" id="montantRedresse" name="montantRedresse" value="<?= $this->nettoyer($reglement['montantRedresse']) ?>" >
<input class="sr-only" type="text" id="montantDu" name="montantDu" value="<?= $this->nettoyer($reglement['montantDu']) ?>" >
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
<tbody>
<tr>
<td width="5%"> <?= _("No Fact") ?> </td>
<td width="7%"> <input id="gcNumeroDecompte" name="gcNumeroDecompte" class = "form-control btn" type="text" value="<?= $this->nettoyer($reglement['gcNumeroDecompte']) ?>" style='font-size:9pt;' readonly> </td>
<td width="6%" align='center'> <?= _("Mont Fact") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['montantFacture'])) ?>" readonly > </td>
<td width="6%" align='center'> <?= _("Redres") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['montantRedresse'])) ?>" readonly > </td>
<td align="center" width="6%"> <?= _("A payer") ?> </td>
<td > <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['montantApayer'])) ?>" readonly > </td>
<td width="6%" align='center'> <?= _("Com Fact") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['commissionFacture'])) ?>" readonly > </td>
<td width="6%" align='center'> <?= _("Com Red") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['commissionRedresse'])) ?>" readonly > </td>
</tr>
<tr>
<td> <?= _("Nb Carte") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['nbCarte'])) ?>" readonly > </td>
<td align='center'> <?= _("Mont Carte") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['montantCarte'])) ?>" readonly > </td>
<td align='center'> <?= _("HT Carte") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['htCarte'])) ?>" readonly > </td>
<td align='center'> <?= _("Tva Carte") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['tvaCarte'])) ?>" readonly > </td>
<td align='center'> Total </td>
<td > <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['montantDu'])) ?>" readonly > </td>
<td align="center" > <?= _("Nb Fact") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['nbFacture'])) ?>" readonly > </td>
</tr>
<tr>
<td> Date </td>
<td colspan="3"> <input class = "form-control btn" type="text" value="<?= dateheureLang($this->nettoyer($reglement['dateSysteme'])) ?>" style='font-size:9pt;' readonly> </td>
<td align="center" > Obs </td>
<td colspan="3"> <input style='font-size:9pt;' class="form-control" type="text" value= "<?= $reglement['observations'] ?>" readonly > </td>
<td align="center" > Compo </td>
<td colspan="3">
<SELECT style='font-size:9pt;' onChange="ajaxchangercompsantegcreglement();" class="form-control" id="codeComposante" NAME="codeComposante">
<?php liste_options($composante,""); ?>
</SELECT>
</td>
</tr>
</tbody>
</table>
</div>

View File

@ -0,0 +1,31 @@
<div id="div_entete_sel">
<?php
$valideAs = $this->nettoyer($reglement['valideAs']);
?>
<INPUT style='text-align:center; font-size:10pt;' class="form-control" TYPE="text" value="<?= _("Filtres : Cartes non encores facturées") ?>" readonly >
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td> </td>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:recharger_frais_gestion_gc_non_sel();"> <?= _("Recharger...") ?> </button> </td>
<td> </td>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:reafficher_frais_gestion_gc_non_sel();"> <?= _("Rafraichir...") ?> </button> </td>
<td> </td>
<?php if($valideAs=='0'): ?>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:valider_selection_frais_gestion_gc();"> <?= _("Mettre à jour la facturation...") ?> </button> </td>
<?php else: ?>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" disabled > <?= _("Mettre à jour la facturation...") ?> </button> </td>
<?php endif; ?>
</tr>
</tbody>
</table>
<div id="detail_facture">
</div>
</div>

View File

@ -0,0 +1,70 @@
<div id="detail_facture">
<?php
$valideAs = $this->nettoyer($reglement['valideAs']);
?>
<INPUT style='text-align:center; font-size:10pt;' class="form-control" TYPE="text" value="Filtres : Cartes sélectionnées pour facturation" readonly >
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:recharger_cartes_gc_sel();"> <?= _("Recharger...") ?> </button> </td>
<td> </td>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:reafficher_cartes_gc_sel();"> <?= _("Rafraichir...") ?> </button> </td>
<td> </td>
<?php if($valideAs=='0'): ?>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:valider_selection_cartes_gc_sel();"> <?= _("Mettre à jour la facturation...") ?> </button> </td>
<?php else: ?>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" disabled > <?= _("Mettre à jour la facturation...") ?> </button> </td>
<?php endif; ?>
</tr>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center'> Date </th>
<th rowspan="2" > <?= _("Souscripteur") ?> </th>
<th rowspan="2" colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Carte") ?> </th>
<?php if($valideAs=='0'): ?>
<th width="6%" colspan="2" style='text-align:center'> <?= _("Choix") ?> </th>
<?php endif; ?>
</tr>
<?php if($valideAs=='0'): ?>
<tr>
<th style='text-align:center'> <input class = "form-control btn btn-primary" type="button" value="V" onClick="selectionner_carte_sel_gc_tout('1');"> </td>
<th style='text-align:center'> <input class = "form-control btn btn-primary" type="button" value="X" onClick="selectionner_carte_sel_gc_tout('0');"> </td>
</tr>
<?php endif; ?>
</thead>
<tbody>
<?php foreach ($gcs as $gc):
$idTemp=$this->nettoyer($gc['idTemp']);
?>
<tr valign="top">
<td align='center'><?= dateLang($this->nettoyer($gc['dateCarte'])) ?></td>
<td><?= $this->nettoyer($gc['souscripteur']) ?></td>
<td align='center'><?= $this->nettoyer($gc['numeroBeneficiaire']) ?></td>
<td><?= $this->nettoyer($gc['beneficiaire']) ?></td>
<td align='center'><?= format_N($this->nettoyer($gc['montantCarte'])) ?></td>
<?php if($valideAs=='0'): ?>
<?php if($gc['choix']=='1'): ?>
<td colspan="2" align='center'> <input type="checkbox" checked value="<?php echo $gc['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_carte_sel_gc(<?= $idTemp ?>, this.value);"></td>
<?php else: ?>
<td colspan="2" align='center'> <input type="checkbox" value="<?php echo $gc['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_carte_sel_gc(<?= $idTemp ?>, this.value);"></td>
<?php endif; ?>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,71 @@
<div id="detail_facture">
<?php
$valideAs = $this->nettoyer($reglement['valideAs']);
?>
<INPUT style='text-align:center; font-size:10pt;' class="form-control" TYPE="text" value="Filtres : Cartes sélectionnées pour facturation" readonly >
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:recharger_cartes_gc_sel();"> <?= _("Recharger...") ?> </button> </td>
<td> </td>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:reafficher_cartes_gc_sel();"> <?= _("Rafraichir...") ?> </button> </td>
<td> </td>
<?php if($valideAs=='0'): ?>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:valider_selection_cartes_gc_sel();"> <?= _("Mettre à jour la facturation...") ?> </button> </td>
<?php else: ?>
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" disabled > <?= _("Mettre à jour la facturation...") ?> </button> </td>
<?php endif; ?>
</tr>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th rowspan="2" style='text-align:center'> Date </th>
<th rowspan="2" > <?= _("Souscripteur") ?> </th>
<th rowspan="2" colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Carte") ?> </th>
<?php if($valideAs=='0'): ?>
<th width="6%" colspan="2" style='text-align:center'> <?= _("Choix") ?> </th>
<?php endif; ?>
</tr>
<?php if($valideAs=='0'): ?>
<tr>
<th style='text-align:center'> <input class = "form-control btn btn-primary" type="button" value="V" onClick="selectionner_carte_sel_gc_tout('1');"> </td>
<th style='text-align:center'> <input class = "form-control btn btn-primary" type="button" value="X" onClick="selectionner_carte_sel_gc_tout('0');"> </td>
</tr>
<?php endif; ?>
</thead>
<tbody>
<?php foreach ($gcs as $gc):
$idTemp=$this->nettoyer($gc['idTemp']);
?>
<tr valign="top">
<td align='center'><?= dateLang($this->nettoyer($gc['dateCarte'])) ?></td>
<td><?= $this->nettoyer($gc['souscripteur']) ?></td>
<td align='center'><?= $this->nettoyer($gc['numeroBeneficiaire']) ?></td>
<td><?= $this->nettoyer($gc['beneficiaire']) ?></td>
<td align='center'><?= format_N($this->nettoyer($gc['montantCarte'])) ?></td>
<?php if($valideAs=='0'): ?>
<?php if($gc['choix']=='1'): ?>
<td colspan="2" align='center'> <input type="checkbox" checked value="<?php echo $gc['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_carte_sel_gc(<?= $idTemp ?>, this.value);"></td>
<?php else: ?>
<td colspan="2" align='center'> <input type="checkbox" value="<?php echo $gc['choix'] ; ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};selectionner_carte_sel_gc(<?= $idTemp ?>, this.value);"></td>
<?php endif; ?>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>

View File

@ -0,0 +1,70 @@
<div id="reglement_gc">
<input class="sr-only" type="text" id="nbFacture" name="nbFacture" value="<?= $this->nettoyer($reglement['nbFacture']) ?>" >
<input class="sr-only" type="text" id="montantFacture" name="montantFacture" value="<?= $this->nettoyer($reglement['montantFacture']) ?>" >
<input class="sr-only" type="text" id="commissionFacture" name="montantArembourser" value="<?= $this->nettoyer($reglement['commissionFacture']) ?>" >
<input class="sr-only" type="text" id="montantRedresse" name="montantRedresse" value="<?= $this->nettoyer($reglement['montantRedresse']) ?>" >
<input class="sr-only" type="text" id="commissionRedresse" name="commissionRedresse" value="<?= $this->nettoyer($reglement['commissionRedresse']) ?>" >
<input class="sr-only" type="text" id="montantCarte" name="montantCarte" value="<?= $this->nettoyer($reglement['montantCarte']) ?>" >
<input class="sr-only" type="text" id="montantRedresse" name="montantRedresse" value="<?= $this->nettoyer($reglement['montantRedresse']) ?>" >
<input class="sr-only" type="text" id="montantDu" name="montantDu" value="<?= $this->nettoyer($reglement['montantDu']) ?>" >
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
<tbody>
<tr>
<td width="5%"> <?= _("No Fact") ?> </td>
<td width="7%"> <input id="gcNumeroDecompte" name="gcNumeroDecompte" class = "form-control btn" type="text" value="<?= $this->nettoyer($reglement['gcNumeroDecompte']) ?>" style='font-size:9pt;' readonly> </td>
<td width="6%" align='center'> <?= _("Mont Fact") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['montantFacture'])) ?>" readonly > </td>
<td width="6%" align='center'> <?= _("Redres") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['montantRedresse'])) ?>" readonly > </td>
<td align="center" width="6%"> <?= _("A payer") ?> </td>
<td > <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['montantApayer'])) ?>" readonly > </td>
<td width="6%" align='center'> <?= _("Com Fact") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['commissionFacture'])) ?>" readonly > </td>
<td width="6%" align='center'> <?= _("Com Red") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['commissionRedresse'])) ?>" readonly > </td>
</tr>
<tr>
<td> <?= _("Nb Carte") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['nbCarte'])) ?>" readonly > </td>
<td align='center'> <?= _("Mont Carte") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['montantCarte'])) ?>" readonly > </td>
<td align='center'> <?= _("HT Carte") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['htCarte'])) ?>" readonly > </td>
<td align='center'> <?= _("Tva Carte") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['tvaCarte'])) ?>" readonly > </td>
<td align='center'> Total </td>
<td > <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['montantDu'])) ?>" readonly > </td>
<td align="center" > <?= _("Nb Fact") ?> </td>
<td> <INPUT style='font-size:9pt; text-align:center;' class="form-control" TYPE="text" value="<?= format_N($this->nettoyer($reglement['nbFacture'])) ?>" readonly > </td>
</tr>
<tr>
<td> Date </td>
<td colspan="3"> <input class = "form-control btn" type="text" value="<?= dateheureLang($this->nettoyer($reglement['dateSysteme'])) ?>" style='font-size:9pt;' readonly> </td>
<td align="center" > Obs </td>
<td colspan="3"> <input style='font-size:9pt;' class="form-control" type="text" value= "<?= $reglement['observations'] ?>" readonly > </td>
<td align="center" > Compo </td>
<td colspan="3">
<SELECT style='font-size:9pt;' onChange="ajaxchangercompsantegcreglement();" class="form-control" id="codeComposante" NAME="codeComposante">
<?php liste_options($composante,""); ?>
</SELECT>
</td>
</tr>
</tbody>
</table>
</div>

View File

@ -0,0 +1,3 @@
<SELECT class="form-control" id="codeTypePrestataire" NAME="codeTypePrestataire" required AUTOCOMPLETE="OFF" >
<?php liste_options($typeprestataire, ""); ?>
</SELECT>

View File

@ -0,0 +1,100 @@
<div id="div_prime">
<fieldset >
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:10pt; text-align:center'>
<thead>
<tr>
<th style='text-align:center'> <?= _("Composantes primes") ?> </th>
<th style='text-align:center'> <?= _("Adhérent") ?> </th>
<th style='text-align:center'> <?= _("Dépendants") ?> </th>
</tr>
</thead>
<tfoot>
<tr>
<td> <?= _("Prime TTC") ?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['primeTtcAdherent']))?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['primeTtcBeneficiaire']))?> </td>
</tr>
<tr style='color:blue;'>
<td> <?= _("Prime Nette Statisque") ?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['primeNetteStat']))?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['primeNetteStatBeneficiaire']))?> </td>
</tr>
</tfoot>
<tbody>
<tr>
<td> <?= _("Prime de Base") ?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['primeFamille']))?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['primeBeneficiaire']))?> </td>
</tr>
<tr>
<td> <?= _("Cpl frais funéraires") ?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['primeCplFuneraire']))?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['primeCplFuneraireBeneficiaire']))?> </td>
</tr>
<tr>
<td> <?= _("Garanties Optionnelles") ?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['surprimeOption']))?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['surprimeOptionBeneficiaire']))?> </td>
</tr>
<tr>
<td> <?= _("Rachat Ticket Modérateur") ?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['surprimeTm']))?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['surprimeTmBeneficiaire']))?> </td>
</tr>
<tr>
<td> <?= _("Surprimes Diverses") ?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['surprimeAnt']))?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['surprimeAntBeneficiaire']))?> </td>
</tr>
<tr style='color:red'>
<td> <?= _("Prime Nette de commission") ?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['primeNette']))?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['primeNetteBeneficiaire']))?> </td>
</tr>
<tr>
<td> <?= _("Commission Courtage") ?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['commission']))?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['commissionBeneficiaire']))?> </td>
</tr>
<tr>
<td> <?= _("Commission Commerciaux") ?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['commissionAutre']))?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['commissionAutreBeneficiaire']))?> </td>
</tr>
<tr>
<td> <?= _("Accessoires") ?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['accessoire']))?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['accessoireBeneficiaire']))?> </td>
</tr>
<tr style='color:red'>
<td> <?= _("Prime Nette") ?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['primeHt']))?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['primeHtBeneficiaire']))?> </td>
</tr>
<tr>
<td> <?= (isset($_SESSION['composanteprime']['Taxes'])) ? _($_SESSION['composanteprime']['Taxes']) : _("Taxes") ?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['taxe']))?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['taxeBeneficiaire']))?> </td>
</tr>
<tr>
<td> <?= _("Frais Cartes") ?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['fraisCarte']))?> </td>
<td> <?= format_N($this->nettoyer($collegeTemp['fraisCarteBeneficiaire']))?> </td>
</tr>
</tbody>
</table>
</div>

View File

@ -0,0 +1,61 @@
<div id="infosacte" style='font-size:10pt;'>
<input class="sr-only" type="number" id="prixActe" name="prixActe" value="<?= $prixActe ?>">
<input class="sr-only" type="number" id="valeurActe" name="valeurActe" value="<?= $valeurActe ?>">
<input class="sr-only" type="number" id="montantTm" name="montantTm" value="<?= $montantTm ?>">
<input class="sr-only" type="number" id="aRembourser" name="aRembourser" value="<?= $aRembourser ?>">
<input class="sr-only" type="text" id="acteExclu" name="acteExclu" value="<?= $acteExclu ?>">
<input class="sr-only" type="text" id="ententePrealable" name="ententePrealable" value="<?= $ententePrealable ?>">
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="15%" > <?= _("Prix") ?> </td>
<td width="20%" > <input id="prixActe_info" name="prixActe_info" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= format_N($prixActe) ?>" readonly> </td>
<td width="15%" align="center"> Total </td>
<td width="15%" > <input id="valeurActe_info" name="valeurActe_info" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= format_N($valeurActe) ?>" readonly ></td>
<td width="15%" align="center"> <?= _("T M") ?> </td>
<td width="20%" > <input id="montantTm_info" name="montantTm_info" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= format_N($montantTm) ?>" readonly ></td>
</tr>
<tr>
<td> <?= _("Motif") ?> </td>
<td colspan="5"><input id="motifHospit" name="motifHospit" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;" value="<?= $_SESSION['p_motifHospitalisation_C'] ?>" type="text" readonly></td>
</tr>
<tr>
<td> <?= _("A Remb") ?> </td>
<td > <input id="aRembourser_info" name="aRembourser_info" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= format_N($aRembourser) ?>" readonly ></td>
<td align="center"> <?= _("Accord?") ?> </td>
<td align="center"> <input id="montantTm_info" name="montantTm_info" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= div_oui_non($ententePrealable, $_SESSION['p_lang']); ?>" readonly > </td>
<td align="center"> <?= _("No Chambre") ?> </td>
<td> <input id="numeroChambre" name="numeroChambre" class="form-control" style="text-align: center; font-size:10pt;'" type="text" value="<?= $numeroChambre ?>" ></td>
</tr>
<!--
<tr>
<td> </td>
<td colspan="5"> <input id="btn_enreg_chambre" name="btn_enreg_chambre" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrerchambre();" style='font-size:10pt;' > </td>
</tr>
-->
<tr>
<td> </td>
<td colspan="5">
<?php if ($acteExclu=="1"): ?>
<input id="btn_enreg_chambre" name="btn_enreg_chambre" class = "form-control btn btn-danger" type="button" value="Chambre exclue! Demander Accord? / Room not covered! Request Agreement" disabled onClick="javascript:demanderaccordchambreexclu();" style='font-size:10pt;' >
<?php else: ?>
<?php if ($ententePrealable=="1"): ?>
<input id="btn_enreg_chambre" name="btn_enreg_chambre" class = "form-control btn btn-warning" type="button" value="<?= _("Demander Accord") ?>" onClick="javascript:enregistrerchambre();" style='font-size:10pt;' >
<?php else: ?>
<input id="btn_enreg_chambre" name="btn_enreg_chambre" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrerchambre();" style='font-size:10pt;' >
<?php endif; ?>
<?php endif; ?>
</td>
</tr>
</tbody>
</table>
</div>

View File

@ -0,0 +1,13 @@
<?php
?>
<div class="wrap-input100 validate-input" data-validate="Enter username">
<?php if($_SESSION['p_lang']=="en_US"): ?>
<label for="login">Login</label>
<input class="input100" type="text" name="login" id="login" value="<?= $codeUtilisateur ?>" placeholder="Login" style="text-align:center;" required AUTOCOMPLETE="off">
<?php else: ?>
<label for="login">Identifiant</label>
<input class="input100" type="text" name="login" id="login" value="<?= $codeUtilisateur ?>" placeholder="Identifiant" style="text-align:center;" required AUTOCOMPLETE="off">
<?php endif; ?>
</div>

View File

View File

View File

@ -0,0 +1,247 @@
<?php
$numeroBonOrdonnance = $this->nettoyer($prescription['numeroBonOrdonnance']);
$numeroPrescription = $_SESSION['p_numeroPrescription_C'] ;
$actVisible = $_SESSION['p_actVisible'];
echo $numeroBonOrdonnance;
?>
<?php if ($numeroPrescription>" ") : ?>
<div id="pharmacien">
<div id="prestation" onkeypress="javascript:ctrlkeypressord(event);">
<input class="sr-only" type="text" id="idPrestationactes" name="idPrestationactes" value="<?= $this->nettoyer($prescription['idPrestationactes']) ?>" >
<table class="table table-responsive table-condensed" style='font-size:9pt;' >
<tbody>
<tr>
<td width="7%" > <?= _("No Ordonn") ?> </td>
<td width="10%">
<INPUT style='text-align:center' class="form-control" TYPE="text" id="numeroBonOrdonnance" name="numeroBonOrdonnance"
value="<?= $numeroBonOrdonnance ?>" onChange="chercher_ordonnance(this.value);" required AUTOCOMPLETE="OFF" >
</td>
<td width="7%" align="center" > <?= _("Date Prescript") ?> </td>
<td width="10%" > <INPUT class="form-control" TYPE="text" value="<?= dateLang($this->nettoyer($prescription['datePrescription'])) ?>" readonly style="text-align: center; font-size:9pt;" > </td>
<td width="7%" align="center"> <?= _("Médecin") ?> </td>
<td> <INPUT class="form-control" TYPE="text" value="<?= $this->nettoyer($prescription['medecinPrescription']) ?>" readonly style='font-size:9pt;'> </td>
<td width="7%" align="center"> <?= _("Tél Méd") ?> </td>
<td width="15%"> <INPUT class="form-control" TYPE="text" value="<?= $this->nettoyer($prescription['telephoneMedecin']) ?>" readonly style='font-size:9pt;'> </td>
</tr>
</tbody>
</table>
</div>
<div id="ordonnance">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:9pt;'>
<thead>
<tr>
<th width="50%" style="text-align:center"> <?= _("Médicaments prescrits") ?> </th>
<th width="5%" style="text-align:center"> <?= _("Unité") ?> </th>
<th width="10%" style="text-align:center"> <?= _("Valeur") ?> </th>
<th width="5%" style="text-align:center"> <?= _("Qté") ?> </th>
<th width="10%" style="text-align:center"> <?= _("Frais") ?> </th>
<th width="10%" style="text-align:center"> <?= _("T M") ?> </th>
<th width="10%" style="text-align:center"> <?= _("A Remb") ?> </th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="4" style='text-align:center'> Total</td>
<td align='center'><?= format_N($this->nettoyer($prescription['fraisReel'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prescription['montantTm'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prescription['montantArembourser'])) ?></td>
</tr>
</tfoot>
<tbody>
<?php foreach ($detailprescriptions as $detailprescription):
$libelleMedicament=$this->nettoyer($detailprescription['libelleMedicament']);
$codeMedicament=$this->nettoyer($detailprescription['codeMedicament']);
?>
<tr valign="top">
<td align='center'>
<?php if($actVisible=="1"): ?>
<?= $libelleMedicament ?>
<?php else: ?>
<?= $codeMedicament ?>
<?php endif; ?>
</td>
<td align='center'> <?= $this->nettoyer($detailprescription['unite']) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($detailprescription['valeurActe'])) ?> </td>
<td align='center'> <?= $this->nettoyer($detailprescription['quantite']) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($detailprescription['fraisReel'])) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($detailprescription['montantTm'])) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($detailprescription['montantArembourser'])) ?> </td>
</tr>
<?php endforeach; ?>
<tr style='background-color:white'>
<td colspan="7" height="5"></td>
</tr>
</tbody>
</table>
</div>
<div id="livraison">
<legend> <?= _("Non livrés") ?> </legend>
<div id="non_livre">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:9pt;'>
<thead>
<tr>
<th width="5%" style="text-align:center" > <input class="form-control btn btn-primary" type="button" value=" + + " onClick="javascript:ajoutermedicament_tous();" style='font-size:10pt;' > </th>
<th width="45%" > <?= _("Non livrés") ?> </th>
<th width="5%" > <?= _("Unité") ?> </th>
<th width="10%" style="text-align:center"> <?= _("Valeur") ?> </th>
<th width="5%" style="text-align:center"> <?= _("Qté") ?> </th>
<th width="10%" style="text-align:center"> <?= _("Frais") ?> </th>
<th width="10%" style="text-align:center"> <?= _("T M") ?> </th>
<th width="10%" style="text-align:center"> <?= _("A Remb") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($detailnonlivres as $detailnonlivre):
$idNonLivre=$this->nettoyer($detailnonlivre['id']);
$libelleMedicament=$this->nettoyer($detailnonlivre['libelleMedicament']);
$codeMedicament=$this->nettoyer($detailnonlivre['codeMedicament']);
?>
<tr valign="top">
<?php if($actVisible=="1"): ?>
<td width="5%" align='center'> <input type="button" value=" + " onClick="javascript:ajoutermedicament('<?= $idNonLivre ?>');"></td>
<td> <?= $libelleMedicament ?> </td>
<?php else: ?>
<td width="5%" align='center'> <input type="button" value=" + " disabled ></td>
<td> <?= $libelleMedicament ?> </td>
<?php endif; ?>
<td align='center'> <?= $this->nettoyer($detailnonlivre['unite']) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($detailnonlivre['valeurActe'])) ?> </td>
<td align='center'> <?= $this->nettoyer($detailnonlivre['quantite']) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($detailnonlivre['fraisReel'])) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($detailnonlivre['montantTm'])) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($detailnonlivre['montantArembourser'])) ?> </td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<legend> <?= _("A Livrer") ?> </legend>
<div id="livre">
<?php $nbLivre = 0; ?>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:9pt;'>
<thead>
<tr>
<th width="5%" style="text-align:center" > <input class="form-control btn btn-primary" type="button" value=" - - " onClick="javascript:retirermedicament_tous();" style='font-size:10pt;' > </th>
<th width="45%" > <?= _("Médicaments à livrer") ?> </th>
<th width="5%" style="text-align:center"> <?= _("Unité") ?> </th>
<th width="10%" style="text-align:center"> <?= _("Valeur") ?> </th>
<th width="5%" style="text-align:center"> <?= _("Qté") ?> </th>
<th width="10%" style="text-align:center"> <?= _("Frais") ?> </th>
<th width="10%" style="text-align:center"> <?= _("T M") ?> </th>
<th width="10%" style="text-align:center"> <?= _("A Remb") ?> </th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="5" style='text-align:center'> Total </td>
<td align='center'><?= format_N($this->nettoyer($prescription['fraisReelLivre'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prescription['montantTmLivre'])) ?></td>
<td align='center'><?= format_N($this->nettoyer($prescription['montantArembourserLivre'])) ?></td>
</tr>
</tfoot>
<tbody>
<?php foreach ($detaillivres as $detaillivre):
$idLivre=$this->nettoyer($detaillivre['id']);
$substituable = $this->nettoyer($detaillivre['substituable']);
$substitue = $this->nettoyer($detaillivre['substitue']);
$libelleMedicament=$this->nettoyer($detaillivre['libelleMedicament']);
$codeMedicament=$this->nettoyer($detaillivre['codeMedicament']);
$nomSubstitut=$this->nettoyer($detaillivre['nomSubstitut']);
if($actVisible=="1")
{
$libelleMedicament=$codeMedicament;
$nomSubstitut=$codeMedicament;
}
$nbLivre++;
?>
<tr valign="top">
<td align='center'> <input type="button" value=" - " onClick="javascript:retirermedicament('<?= $idLivre ?>');"></td>
<?php if($substituable=="1") : ?>
<?php if($substitue=="1") : ?>
<td> <input style="text-align:left; font-size:9pt;" class="form-control btn btn-warning" type="button" value="<?= $nomSubstitut ?>" onClick="javascript:annuler_substitution_medicament('<?= $idLivre ?>');"></td>
<?php else: ?>
<td> <input style="text-align:left; font-size:9pt;" class="form-control btn btn-primary" type="button" value="<?= $libelleMedicament ?>" onClick="javascript:substituer_medicament('<?= $idLivre ?>');"></td>
<?php endif; ?>
<?php else: ?>
<td> <?= $libelleMedicament ?> </td>
<?php endif; ?>
<td align='center'> <?= $this->nettoyer($detaillivre['unite']) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($detaillivre['valeurActe'])) ?> </td>
<td align='center'> <?= $this->nettoyer($detaillivre['quantite']) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($detaillivre['fraisReel'])) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($detaillivre['montantTm'])) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($detaillivre['montantArembourser'])) ?> </td>
</tr>
<?php endforeach; ?>
<tr style='background-color:white'>
<td colspan="8" height="5"></td>
</tr>
</tbody>
</table>
<input class="sr-only" type="text" id="nbLivre" name="nbLivre" value="<?= $nbLivre ?>" >
</div>
</div>
</div>
<?php else: ?>
<div id="pharmacien" onkeypress="javascript:ctrlkeypressord(event);">
<div id="prestation" onkeypress="javascript:ctrlkeypressord(event);">
<input class="sr-only" type="text" id="idPrestationactes" name="idPrestationactes" >
<table class="table table-responsive table-condensed" style='font-size:9pt;' >
<tbody>
<tr>
<td width="7%" align="center"> <?= _("No Ordonn") ?> </td>
<td width="10%">
<INPUT style='text-align:center' class="form-control" TYPE="text" id="numeroBonOrdonnance" name="numeroBonOrdonnance"
onChange="chercher_ordonnance(this.value);" required AUTOCOMPLETE="OFF" >
</td>
<td > </td>
</tr>
</tbody>
</table>
</div>
<div id="ordonnance">
</div>
<div id="livraison">
<div id="non_livre">
</div>
<div id="livre">
</div>
</div>
</div>
<div id ="msgErreur" class="alert alert-danger" style="height:38px; padding:5px;" >
<H4><?= _("Ordonnance introuvable!") ?></H4>
</div>
<?php endif; ?>

View File

@ -0,0 +1,7 @@
<INPUT class="sr-only" TYPE="text" id="numeroBon" name="numeroBon" value="<?= $numeroBonOptique ?>">
<?php if ($numeroBonOptique=="-1") : ?>
<div class="alert alert-danger" style="height:30px; padding:5px; margin:5px; " >
<H4 align="center" > <?= _("Numéro de Bon non trouvé!") ?></H4>
</div>
<?php endif; ?>

View File

@ -0,0 +1,36 @@
<div id="infosacte" style='font-size:10pt;'>
<input class="sr-only" type="number" id="prixActe" name="prixActe" value="<?= $prixActe ?>">
<input class="sr-only" type="number" id="valeurActe" name="valeurActe" value="<?= $valeurActe ?>">
<input class="sr-only" type="number" id="montantTm" name="montantTm" value="<?= $montantTm ?>">
<input class="sr-only" type="number" id="aRembourser" name="aRembourser" value="<?= $aRembourser ?>">
<input class="sr-only" type="text" id="ententePrealable" name="ententePrealable" value="<?= $ententePrealable ?>">
<input class="sr-only" type="text" id="acteExclu" name="acteExclu" value="<?= $acteExclu ?>">
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td width="10%" > <?= _("Prix Acte") ?> </td>
<td width="30%" > <input id="prixActe_info" name="prixActe_info" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= format_N($prixActe) ?>" readonly> </td>
<td width="10%" align="center"> <?= _("Quantité") ?> </td>
<td width="20%" > <input class="form-control" type="number" id="quantite" name="quantite" style="text-align: center; font-size:10pt;'"
value="<?= $quantite ?>" onBlur="ajax_changer_qte_acte();" ></td>
<td width="10%" align="center"> <?= _("Valeur Acte") ?> </td>
<td width="20%" > <input id="valeurActe_info" name="valeurActe_info" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= format_N($valeurActe) ?>" readonly ></td>
</tr>
<tr>
<td width="10%" align="center"> <?= _("T M") ?> </td>
<td width="20%" > <input id="montantTm_info" name="montantTm_info" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= format_N($montantTm) ?>" readonly ></td>
<td width="10%" align="center"> <?= _("A Remb") ?> </td>
<td width="20%" > <input id="aRembourser_info" name="aRembourser_info" class="form-control" style="background-color: rgb(190,190,190);text-align: center; font-size:10pt;'" type="text" value="<?= format_N($aRembourser) ?>" readonly ></td>
<td> </td>
<td ><input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistreractemedical();" style='font-size:10pt;' ></td>
</tr>
</tbody>
</table>
</div>

View File

@ -0,0 +1,30 @@
<?php
if(!empty($actes)) {
?>
<ul id="element-list">
<?php
foreach($actes as $v) {
$tab = explode(" <==> ",$v["libelle"]);
if (isset($tab[1]) && $tab[1] != "Garanti"){
$style = "background-color: red; color:white;";
}elseif (isset($tab[2]) && $tab[2] == "Demander Accord"){
$style = "background-color: yellow;";
}else{
$style = "background-color: white;";
}
?>
<li style="<?php echo $style; ?>" onClick="selectElement('<?php echo $v["libelle"]; ?>');add_selected_dentisterie('<?php echo $v["code"]." <==> ".$v["libelle"]; ?>');"><?php echo $v["libelle"]; ?></li>
<?php } ?>
</ul>
<?php
} else{
?>
<marquee behavior="scroll" direction="left" scrollamount="10" style="color:white; background-color:red; font-size:14pt; font-weight:bold;">
<?= _("L'acte n'a pas été trouvé! Veuillez en informer le gestionnaire pour qu'il vous l'ajoute. Merci de votre compréhension.") ?>
</marquee>
<?php } ?>

View File

@ -0,0 +1,29 @@
<?php
if(!empty($actes)) {
?>
<ul id="element-list">
<?php
foreach($actes as $v) {
$tab = explode(" <==> ",$v["libelle"]);
if (isset($tab[2]) && $tab[2] != "Garanti"){
$style = "background-color: red; color:white;";
}elseif (isset($tab[3]) && $tab[3] == "Demander Accord"){
$style = "background-color: yellow;";
}else{
$style = "background-color: white;";
}
?>
<li style="<?php echo $style; ?>" onClick="selectElement('<?php echo $v["libelle"]; ?>');add_selected_exam('<?php echo $v["code"]." <==> ".$v["libelle"]; ?>');"><?php echo $v["libelle"]; ?></li>
<?php } ?>
</ul>
<?php
} else{
?>
<marquee behavior="scroll" direction="left" scrollamount="10" style="color:white; background-color:red; font-size:14pt; font-weight:bold;">
<?= _("L'acte n'a pas été trouvé! Veuillez en informer le gestionnaire pour qu'il vous l'ajoute. Merci de votre compréhension.") ?>
</marquee>
<?php } ?>

View File

@ -0,0 +1,26 @@
<?php
if(!empty($actes)) {
?>
<ul id="element-list">
<?php
foreach($actes as $v) {
$tab = explode(" <==> ",$v["libelle"]);
if (isset($tab[2]) && $tab[2] != "Garanti"){
$style = "background-color: red; color:white;";
}elseif (isset($tab[3]) && $tab[3] == "Demander Accord"){
$style = "background-color: yellow;";
}else{
$style = "background-color: white;";
}
?>
<li style="<?php echo $style; ?>" onClick="selectElement('<?php echo $v["libelle"]; ?>');add_selected_exam_hosp('<?php echo $v["code"]." <==> ".$v["libelle"]; ?>');"><?php echo $v["libelle"]; ?></li>
<?php } ?>
</ul>
<?php
} else{
?>
<marquee behavior="scroll" direction="left" scrollamount="10" style="color:white; background-color:red; font-size:14pt; font-weight:bold;">
<?= _("L'acte n'a pas été trouvé! Veuillez en informer le gestionnaire pour qu'il vous l'ajoute. Merci de votre compréhension.") ?>
</marquee>
<?php } ?>

View File

@ -0,0 +1,26 @@
<?php
if(!empty($actes)) {
?>
<ul id="element-list">
<?php
foreach($actes as $v) {
$tab = explode(" <==> ",$v["libelle"]);
if (isset($tab[2]) && $tab[2] != "Garanti"){
$style = "background-color: red; color:white;";
}elseif (isset($tab[3]) && $tab[3] == "Demander Accord"){
$style = "background-color: yellow;";
}else{
$style = "background-color: white;";
}
?>
<li style="<?php echo $style; ?>" onClick="selectElement('<?php echo $v["libelle"]; ?>');add_selected_acte_proforma_hosp('<?php echo $v["code"]." <==> ".$v["libelle"]; ?>');"><?php echo $v["libelle"]; ?></li>
<?php } ?>
</ul>
<?php
} else{
?>
<marquee behavior="scroll" direction="left" scrollamount="10" style="color:white; background-color:red; font-size:14pt; font-weight:bold;">
<?= _("L'acte n'a pas &eacute;t&eacute; retrouv&eacute;! Veuillez en informer le gestionnaire pour qu'il vous l'ajoute. Merci de votre compr&eacute;hension.") ?>
</marquee>
<?php } ?>

View File

@ -0,0 +1,29 @@
<?php
if(!empty($medicaments)) {
?>
<ul id="element-list">
<?php
foreach($medicaments as $v) {
$tab = explode(" <==> ",$v["libelle"]);
if (isset($tab[2]) && $tab[2] != "Garanti"){
$style = "background-color: red; color:white;";
}elseif (isset($tab[4]) && $tab[4] == "Demander Accord"){
$style = "background-color: yellow;";
}else{
$style = "background-color: white;";
}
?>
<li style="<?php echo $style; ?>" onClick="selectElement('<?php echo $v["libelle"]; ?>');add_selected_drug('<?php echo $v["code"]." <==> ".$v["libelle"]; ?>');"><?php echo $v["libelle"]; ?></li>
<?php } ?>
</ul>
<?php
} else{
?>
<marquee behavior="scroll" direction="left" scrollamount="10" style="color:white; background-color:red; font-size:14pt; font-weight:bold;">
<?= _("Le médicament n'a pas été trouvé! Veuillez en informer le gestionnaire pour qu'il vous l'ajoute. Merci de votre compréhension.") ?>
</marquee>
<?php } ?>

Some files were not shown because too many files have changed in this diff Show More