a
This commit is contained in:
parent
bf16c5da0c
commit
474a98e732
|
|
@ -8,6 +8,8 @@
|
||||||
$codeActeGratuit = $_SESSION['p_codeActeConsultationGratuite'];
|
$codeActeGratuit = $_SESSION['p_codeActeConsultationGratuite'];
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
Vue/Ajaxselectactesmedicauxobservation/index.php
|
||||||
|
|
||||||
<INPUT class="sr-only" id="datePrestation" name="datePrestation" type="text" value="<?= datefr($datePrestation); ?>">
|
<INPUT class="sr-only" id="datePrestation" name="datePrestation" type="text" value="<?= datefr($datePrestation); ?>">
|
||||||
|
|
||||||
<div id="div_statutacte">
|
<div id="div_statutacte">
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,8 @@
|
||||||
$facture = $_SESSION['p_facture'];
|
$facture = $_SESSION['p_facture'];
|
||||||
|
|
||||||
$codeActeGratuit = $_SESSION['p_codeActeConsultationGratuite'];
|
$codeActeGratuit = $_SESSION['p_codeActeConsultationGratuite'];
|
||||||
|
|
||||||
|
$prixActeModifiable = $_SESSION['p_prixActeModifiable'];
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<input class="sr-only" id="codeTypePrestation" name="codeTypePrestation" type="text" value="ACT">
|
<input class="sr-only" id="codeTypePrestation" name="codeTypePrestation" type="text" value="ACT">
|
||||||
|
|
@ -30,24 +32,6 @@
|
||||||
|
|
||||||
<table class="table table-responsive table-condensed" style='font-size:9pt;' >
|
<table class="table table-responsive table-condensed" style='font-size:9pt;' >
|
||||||
<tbody>
|
<tbody>
|
||||||
<!--
|
|
||||||
<tr>
|
|
||||||
<td width="8%" > <?= _("Souscripteur") ?> </td>
|
|
||||||
<td width="20%">
|
|
||||||
<INPUT style='text-align:center; font-size:11pt;' class="form-control" TYPE="text" id="nomClient" name="nomClient"
|
|
||||||
value="<?= $_SESSION['p_nomClient_C'] ?>" onChange="" readonly >
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td width="5%" align="center" > <?= _("Adhérent") ?> </td>
|
|
||||||
<td width="20%" > <INPUT class="form-control" TYPE="text" value="<?= $_SESSION['p_adherent_C']; ?>" readonly style="text-align: center; font-size:9pt;" > </td>
|
|
||||||
|
|
||||||
<td width="5%" align="center"> <?= _("Patient") ?> </td>
|
|
||||||
<td width="25%"> <INPUT class="form-control" TYPE="text" value="<?= $_SESSION['p_beneficiaire_C']; ?>" readonly style='font-size:9pt;'> </td>
|
|
||||||
|
|
||||||
<td width="7%" align="center"> <?= _("Tél Patient") ?> </td>
|
|
||||||
<td width="13%"> <INPUT class="form-control" TYPE="text" value="<?= $_SESSION['p_telephonePortableBeneficiaire_C']; ?>" readonly style='font-size:9pt;'> </td>
|
|
||||||
</tr>
|
|
||||||
-->
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
||||||
|
|
@ -103,145 +87,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row" id="totam_donnees">
|
<div class="row" id="totam_donnees">
|
||||||
<div id="div_actes" class="col-4" style="padding-right:1px;">
|
<?php require "Vue/Ajaxselectactesmedicauxobservation/index.php";?>
|
||||||
<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 width="90%" style='text-align:center'> <?= _("Actes") ?> </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 colspan="2" style="text-align:center"> <?= _("Acte")." (".count($obs).")" ?> </th>
|
|
||||||
<th width="5%" style="text-align:center"> <?= _("Accord") ?> </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"> <?= _("Mt 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="6" 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']);
|
|
||||||
?>
|
|
||||||
<tr valign="top">
|
|
||||||
<?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>
|
|
||||||
|
|
||||||
<?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; ?>
|
|
||||||
|
|
||||||
<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>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="div_fraisExclu">
|
<div id="div_fraisExclu">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user