a
This commit is contained in:
parent
ee2c6ac854
commit
2f2eb5a4fa
|
|
@ -1,140 +1,147 @@
|
|||
<div id="div_prestations">
|
||||
<?php
|
||||
$actVisible = $_SESSION['p_actVisible'];
|
||||
<?php
|
||||
$actVisible = $_SESSION['p_actVisible'];
|
||||
$bonCaduc = $_SESSION['p_bonCaduc'];
|
||||
$facture = $_SESSION['p_facture'];
|
||||
$datePrestation = $_SESSION['p_datePrestation'];
|
||||
$prixActeModifiable = $_SESSION['p_prixActeModifiable'];
|
||||
?>
|
||||
|
||||
KANE SIMPLE
|
||||
|
||||
<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 style="text-align:center"> <?= _("PU") ?> </th>
|
||||
<th width="10%" style="text-align:center"> <?= _("Qté") ?> </th>
|
||||
|
||||
$bonCaduc = $_SESSION['p_bonCaduc'];
|
||||
$facture = $_SESSION['p_facture'];
|
||||
?>
|
||||
<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 style="text-align:center"> <?= _("PU") ?> </th>
|
||||
<th width="10%" 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>
|
||||
|
||||
<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>
|
||||
<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>
|
||||
<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']);
|
||||
?>
|
||||
|
||||
<?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 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']);
|
||||
}
|
||||
<?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>
|
||||
|
||||
$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']);
|
||||
?>
|
||||
|
||||
<?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'>
|
||||
<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>
|
||||
</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 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>
|
||||
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<tr style='background-color:white'>
|
||||
<td colspan="11" height="8"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<?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>
|
||||
|
||||
</div>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -1,17 +1,11 @@
|
|||
<?php
|
||||
$actVisible = $_SESSION['p_actVisible'];
|
||||
|
||||
$bonCaduc = $_SESSION['p_bonCaduc'];
|
||||
$facture = $_SESSION['p_facture'];
|
||||
|
||||
$datePrestation = $_SESSION['p_datePrestation'];
|
||||
|
||||
$prixActeModifiable = $_SESSION['p_prixActeModifiable'];
|
||||
|
||||
echo "prixActeModifiable => $prixActeModifiable";
|
||||
?>
|
||||
|
||||
KANE LE GRAND
|
||||
<INPUT class="sr-only" id="codeFamilleActeMed" name="codeFamilleActeMed" type="text" value="<?= $_SESSION['codeFamilleActeMed']; ?>">
|
||||
<INPUT class="sr-only" id="datePrestation" name="datePrestation" type="text" value="<?= datefr($datePrestation); ?>">
|
||||
|
||||
|
|
@ -257,7 +251,6 @@ KANE LE GRAND
|
|||
<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'): ?>
|
||||
|
|
|
|||
|
|
@ -909,7 +909,7 @@
|
|||
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.css" integrity="sha512-3pIirOrwegjM6erE5gPSwkUzO+3cTjpnV9lexlNZqvupR64iZBnOOTiiLPb9M36zpMScbmUNIcHUqKD47M719g==" crossorigin="anonymous" referrerpolicy="no-referrer" />-->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js" integrity="sha512-VEd+nq25CkR676O+pLBnDW09R7VQX9Mdiij052gVCp5yVH3jGtH70Ho/UUv4mJDsEdTvqRCFZg0NKGiojGnUCw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
|
||||
<script src="Js/fonctions.js?ver=2026.03.13.09"></script>
|
||||
<script src="Js/fonctions.js?ver=2026.03.13.10"></script>
|
||||
<script src="Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user