166 lines
7.9 KiB
PHP
Executable File
166 lines
7.9 KiB
PHP
Executable File
<?php
|
|
$soldeConsommation = $baremesolde['soldeConsommation'];
|
|
$soldeNbreTransaction = $baremesolde['soldeNbreTransaction'];
|
|
|
|
if($soldeConsommation < "0")
|
|
{
|
|
$soldeConsommation = "0";
|
|
}
|
|
|
|
if($soldeNbreTransaction< "0")
|
|
{
|
|
$soldeNbreTransaction = "0";
|
|
}
|
|
|
|
$motif = $motif['libelle'];
|
|
|
|
if (est_anglophone())
|
|
{
|
|
$motif = $motif['libelleEng'];
|
|
}
|
|
|
|
$forfaitTm = $_SESSION['p_bareme']['bareme_forfaitTm']*1.0;
|
|
?>
|
|
<div id="infosacte" style='font-size:10pt;'>
|
|
<input class="sr-only" type="text" id="prixActe" name="prixActe" value="<?= $prixActe ?>">
|
|
<input class="sr-only" type="text" id="prixBase" name="prixBase" value="<?= $prixBase ?>">
|
|
<input class="sr-only" type="text" id="montantTm" name="montantTm" value="<?= $montantTm ?>">
|
|
<input class="sr-only" type="text" id="aRembourser" name="aRembourser" value="<?= $aRembourser ?>">
|
|
<input class="sr-only" type="text" id="depassement" name="depassement" value="<?= $depassement ?>">
|
|
|
|
<input class="sr-only" type="text" id="codeTypeConsultation" name="codeTypeConsultation" value="<?= $codeTypeConsultation ?>">
|
|
|
|
<div id="div_statutacte">
|
|
|
|
</div>
|
|
|
|
<?php
|
|
//var_dump($depassement);
|
|
?>
|
|
|
|
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
|
<tbody>
|
|
<tr>
|
|
<?php if($soldeConsommation <= "0") : ?>
|
|
<td width="15%" >
|
|
<?= _("Solde plafond") ?>
|
|
</td>
|
|
<td align="center" width="20%">
|
|
<INPUT class="form-control" TYPE="text" Value="<?= format_N($soldeConsommation); ?>" readonly style='font-size:14pt; font-weight:bold; color: red; text-align:center;' >
|
|
</td>
|
|
<?php else: ?>
|
|
<td width="15%" >
|
|
|
|
</td>
|
|
<td align="center" width="20%">
|
|
<INPUT class="form-control" TYPE="text" Value="" readonly style='font-size:10pt; text-align:center;' >
|
|
</td>
|
|
<?php endif; ?>
|
|
|
|
<?php if($soldeNbreTransaction <= "0") : ?>
|
|
<td width="15%" align="center" >
|
|
<?= _("Solde nombre prestation") ?>
|
|
</td>
|
|
|
|
<td align="center" width="20%">
|
|
<INPUT class="form-control" TYPE="text" Value="<?= $soldeNbreTransaction ?>" readonly style='font-size:14pt; font-weight:bold; color: red; text-align:center;' >
|
|
</td>
|
|
|
|
<?php else: ?>
|
|
<td width="15%" align="center" >
|
|
|
|
</td>
|
|
|
|
<td align="center" width="20%">
|
|
<INPUT class="form-control" TYPE="text" Value="" readonly style='font-size:10pt; text-align:center;' >
|
|
</td>
|
|
<?php endif; ?>
|
|
<?php if($_SESSION['p_bareme']['bareme_forfaitTm'] > "0"):?>
|
|
<td width="15%" align="center" >
|
|
<?= _("Ticket Modérateur (Forfait)") ?>
|
|
</td>
|
|
<td width="20%">
|
|
<input class="form-control" style="text-align: center; font-size:10pt;'" type="text" value="<?= format_N($forfaitTm) ?>" disabled >
|
|
</td>
|
|
<?php else:?>
|
|
<td width="15%" align="center" >
|
|
<?= _("Ticket Modérateur (%)") ?>
|
|
</td>
|
|
<td width="20%">
|
|
<input class="form-control" style="text-align: center; font-size:10pt;'" type="number" value="<?= round($_SESSION['p_bareme']['bareme_ticketModerateur']) ?>" disabled >
|
|
</td>
|
|
<?php endif;?>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<?php if($depassement>"0") : ?>
|
|
<td width="15%" style="font-weight:bold;">
|
|
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
|
<input class="form-control" style="border:none; background-color:transparent !important;;" type="text" value="" readonly >
|
|
<?= _("Réclamé") ?>
|
|
</td>
|
|
<td width="20%" >
|
|
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
|
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
|
|
|
<button id="prixActe_info" name="prixActe_info" TYPE="button" class="form-control button" style="text-align: center; font-size:10pt; font-weight:bold; background-color:#5f9ea0; color:white;" title="<?= _("Voir le tarif appliqué") ?>" onclick='javascript:tarif_applique("<?=$tarif ?>");'>
|
|
<i class="fa fa-hand-pointer-o pull-right" ></i>
|
|
<?= format_N($prixActe) ?>
|
|
</button>
|
|
</td>
|
|
|
|
<td width="15%" align="center">
|
|
<input class="form-control" style="text-align: center; font-size:10pt; border:none; background-color:transparent !important;" type="text" value="<?= _("Montant TM") ?>" readonly >
|
|
<input class="form-control" style="text-align: center; font-size:10pt; border:none; background-color:transparent !important;;" type="text" value="<?= _("Dépassement") ?>" readonly >
|
|
<input class="form-control" style="text-align: center; font-size:10pt; font-weight:bold; border:none; background-color:transparent !important;;" type="text" value="<?= _("Part Assuré") ?>" readonly >
|
|
</td>
|
|
<td width="20%" >
|
|
<input class="form-control" style="text-align: center; font-size:10pt;" type="text" value="<?= format_N($montantTm) ?>" readonly >
|
|
<input id="depassement_info" name="depassement_info" class="form-control" style="text-align: center; font-size:10pt;" type="text" value="<?= format_N($depassement) ?>" readonly >
|
|
<input id="partassure_info" name="partassure_info" class="form-control" style="text-align: center; font-size:10pt; font-weight:bold; background-color:#ba74d4 !important; color:white;" type="text" value="<?= format_N($montantTm+$depassement) ?>" readonly >
|
|
</td>
|
|
|
|
<td width="15%" align="center" style="font-weight:bold;">
|
|
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
|
<input class="form-control" style="border:none; background-color:transparent !important;;" type="text" value="" readonly >
|
|
<?= _("A Rembourser") ?>
|
|
</td>
|
|
<td width="20%" >
|
|
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
|
<input class="form-control" style="border:none; background-color:transparent !important;" type="text" value="" readonly >
|
|
<input id="aRembourser_info" name="aRembourser_info" class="form-control" style="text-align: center; font-size:10pt; font-weight:bold;" type="text" value="<?= format_N($aRembourser) ?>" readonly >
|
|
</td>
|
|
<?php else: ?>
|
|
<td width="15%" style="font-weight:bold;"> <?= _("Réclamé") ?> </td>
|
|
<td width="20%" >
|
|
<button id="prixActe_info" name="prixActe_info" TYPE="button" class="form-control span_link" style="text-align: center; font-size:10pt; font-weight:bold;" title="<?= _("Voir le tarif appliqué") ?>" onclick='javascript:tarif_applique("<?=$tarif ?>");'>
|
|
<i class="fa fa-hand-pointer-o pull-right" ></i>
|
|
<?= format_N($prixActe) ?>
|
|
</button>
|
|
</td>
|
|
|
|
<td width="15%" align="center" style="font-weight:bold;"> <?= _("Part assuré") ?> </td>
|
|
<td width="20%" > <input id="montantTm_info" name="montantTm_info" class="form-control" style="text-align: center; font-size:10pt; font-weight:bold; color:red;" type="text" value="<?= format_N($montantTm) ?>" readonly ></td>
|
|
|
|
<td width="15%" align="center" style="font-weight:bold;"> <?= _("A Rembourser") ?> </td>
|
|
<td width="20%" > <input id="aRembourser_info" name="aRembourser_info" class="form-control" style="text-align: center; font-size:10pt; font-weight:bold;" type="text" value="<?= format_N($aRembourser) ?>" readonly ></td>
|
|
|
|
<?php endif; ?>
|
|
</tr>
|
|
|
|
<?php if($depassement>"0") : ?>
|
|
<tr>
|
|
<td ><?= _("Motif Dépassement") ?></td>
|
|
<td colspan="5">
|
|
<input class="form-control" style="text-align: center; font-size:10pt; font-weight:bold; background-color:red !important; color:white;" type="text" value="<?= $motif ?>" readonly >
|
|
</td>
|
|
</tr>
|
|
<?php endif; ?>
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|