a
This commit is contained in:
parent
f239243d75
commit
a1a38fb0c6
|
|
@ -149,165 +149,9 @@
|
|||
|
||||
<div id="div_prestations" >
|
||||
A INCLURE ICI
|
||||
|
||||
<!--
|
||||
<?php require "Vue/Ajaxlistefacturesabonnement/index.php";?>
|
||||
|
||||
<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"> <?= _("Actes (".count($prestations).")") ?> </th>
|
||||
<th style="text-align:center"> <?= _("N° Dent") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Accord") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Prix Unitaire") ?> </th>
|
||||
<th width="10%" style="text-align:center"> <?= _("Qté") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Prix Total") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Montant TM") ?> </th>
|
||||
<th style="text-align:center"> <?= _("A Rembourser") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Dépass") ?> </th>
|
||||
<th style="text-align:center"> <?= _("Motif") ?> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="6" 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['depassement'])) ?></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
<tbody>
|
||||
|
||||
<?php
|
||||
$existeEntentePrealable = '0';
|
||||
$envoyeSms = '0';
|
||||
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']);
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
$codeMotifDepassement = $this->nettoyer($prestation['codeMotifDepassement']);
|
||||
|
||||
$motif = $this->nettoyer($prestation['motif']);
|
||||
$motifEng = $this->nettoyer($prestation['motifEng']);
|
||||
|
||||
$tarif = $this->nettoyer($prestation['tarif']);
|
||||
|
||||
$prixTarif = $this->nettoyer($prestation['prixTarif']);
|
||||
|
||||
$ententePrealable = $this->nettoyer($prestation['ententePrealable']);
|
||||
$envoyeSms = $this->nettoyer($prestation['envoyeSms']);
|
||||
|
||||
if($ententePrealable == "2"){
|
||||
$existeEntentePrealable = $ententePrealable;
|
||||
}
|
||||
|
||||
$envoyeSms++;
|
||||
?>
|
||||
<?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 ($ententePrealable!='1' && $ententePrealable!='9'): ?>
|
||||
<td> <input class = "form-control btn btn-danger" type="button" value="X" onClick="javascript:supprimer_acte_dentaire_selection('<?= $idPrestationactes ?>');"> </td>
|
||||
<?php else: ?>
|
||||
<td> </td>
|
||||
<?php endif; ?>
|
||||
|
||||
<td align='center'> <?= $libelleActe ?> </td>
|
||||
|
||||
<td align='center'> <?= $this->nettoyer($prestation['numeroDent']) ?> </td>
|
||||
|
||||
<?php if($ententePrealable<>"0"): ?>
|
||||
<?php if($ententePrealable=='2'): ?>
|
||||
<td align='center' style="background-color: yellow;"> <input type="checkbox" checked disabled> </td>
|
||||
<?php elseif($ententePrealable=='1'): ?>
|
||||
<td align='center' style="background-color: #00ff00;"> <input type="checkbox" checked disabled> </td>
|
||||
<?php elseif($ententePrealable=='9'): ?>
|
||||
<td align='center' style="background-color: red;color:white;"> <input type="checkbox" checked disabled> </td>
|
||||
<?php else: ?>
|
||||
<td align='center'> <input type="checkbox" checked disabled> </td>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<td align='center' > <input type="checkbox" disabled></td>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if($facture=='1' || $bonCaduc=='1'): ?>
|
||||
<td align='center'>
|
||||
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
|
||||
<?= format_N($this->nettoyer($prestation['valeurActe'])); ?>
|
||||
</button>
|
||||
</td>
|
||||
|
||||
<td align='center'><?= $this->nettoyer($prestation['quantite']) ?></td>
|
||||
<?php else: ?>
|
||||
<td align='center'>
|
||||
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
|
||||
<?= format_N($this->nettoyer($prestation['valeurActe'])); ?>
|
||||
</button>
|
||||
</td>
|
||||
|
||||
<td align='center'>
|
||||
<?= $this->nettoyer($prestation['quantite']) ?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
||||
<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>
|
||||
<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>
|
||||
|
||||
<input class="sr-only" type="text" id="existeEntentePrealable" name="existeEntentePrealable" value="<?= $existeEntentePrealable ?>" >
|
||||
<input class="sr-only" type="text" id="envoyeSms" name="envoyeSms" value="<?= $envoyeSms ?>" >
|
||||
-->
|
||||
<?php require "Vue/Ajaxdetaildentisterie/index.php";?>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="modal fade" id="popRechercheMedecin" role="dialog">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user