a
This commit is contained in:
parent
5dcb666d6e
commit
55fc5da312
|
|
@ -13,18 +13,13 @@
|
||||||
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt; white-space:nowrap;">
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt; white-space:nowrap;">
|
||||||
<thead class="table-dark">
|
<thead class="table-dark">
|
||||||
<tr>
|
<tr>
|
||||||
<th width="10%" style="text-align:center"> Date </th>
|
<th style="text-align:center"> Date </th>
|
||||||
<th style="text-align:center" > <?= _("Prestataire") ?> </th>
|
<th style="text-align:center" > <?= _("Prestataire") ?> </th>
|
||||||
<th colspan="2" style="text-align:center"> <?= _("Actes") ?> </th>
|
<th colspan="2" style="text-align:center"> <?= _("Actes") ?> </th>
|
||||||
<th width="5%" style="text-align:center" > <?= _("Accord") ?> </th>
|
|
||||||
<th style="text-align:center" > <?= _("Médecin") ?> </th>
|
|
||||||
<th style="text-align:center" > <?= _("Patient") ?> </th>
|
<th style="text-align:center" > <?= _("Patient") ?> </th>
|
||||||
<th width="7%" style="text-align:center"> <?= _("Prix Total") ?> </th>
|
<th style="text-align:center"> <?= _("Prix Total") ?> </th>
|
||||||
|
<th style="text-align:center"> <?= _("Montant TM") ?> </th>
|
||||||
<th width="7%" style="text-align:center"> <?= _("Montant TM") ?> </th>
|
|
||||||
<th style="text-align:center"> <?= _("Part assureur") ?> </th>
|
<th style="text-align:center"> <?= _("Part assureur") ?> </th>
|
||||||
<th width="7%" style="text-align:center"> <?= _("Dépassement") ?> </th>
|
|
||||||
<th width="5%" style="text-align:center"> <?= _("Motif") ?> </th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
|
|
@ -33,117 +28,25 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
foreach ($historiqueprestations as $prestation):
|
foreach ($historiqueprestations as $prestation):
|
||||||
$idPrestationactes = $this->nettoyer($prestation['id']);
|
|
||||||
$supprimable = $prestation['supprimable'];
|
|
||||||
$codeTypePrestation = $this->nettoyer($prestation['codeTypePrestation']);
|
|
||||||
$codeActe = $this->nettoyer($prestation['codeActe']);
|
|
||||||
$ententePrealable = $this->nettoyer($prestation['ententePrealable']);
|
|
||||||
$autorisation = $this->nettoyer($prestation['autorisation']);
|
|
||||||
|
|
||||||
$idProlongation = $this->nettoyer($prestation['idProlongation']);
|
|
||||||
|
|
||||||
if (isset($_SESSION['lang']) && $_SESSION['lang']=="en_US")
|
if (isset($_SESSION['lang']) && $_SESSION['lang']=="en_US")
|
||||||
{
|
{
|
||||||
if($codeTypePrestation == "PHAR" && $codeActe == "00000")
|
$libelleActe = $this->nettoyer($prestation['libelleActeEng']);
|
||||||
{
|
|
||||||
$libelleActe = "PHARMACIE INTERNE";
|
|
||||||
}else{
|
|
||||||
$libelleActe = $this->nettoyer($prestation['libelleActeEng']);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if($codeTypePrestation == "PHAR" && $codeActe == "00000")
|
$libelleActe = $this->nettoyer($prestation['libelleActe']);
|
||||||
{
|
|
||||||
$libelleActe = "INTERNAL PHARMACY";
|
|
||||||
}else{
|
|
||||||
$libelleActe = $this->nettoyer($prestation['libelleActe']);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$codeActe = $this->nettoyer($prestation['codeActe']);
|
|
||||||
|
|
||||||
$codeGarantie = $this->nettoyer($prestation['codeGarantie']);
|
|
||||||
|
|
||||||
$libelleConsommable = $this->nettoyer($prestation['libelleConsommable']);
|
|
||||||
|
|
||||||
if($codeTypePrestation == "CSM")
|
|
||||||
{
|
|
||||||
$libelleActe = $libelleConsommable;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if($idProlongation > "0"){
|
|
||||||
$libelleActe = $libelleActe." - "."PROROGATION";
|
|
||||||
}
|
|
||||||
|
|
||||||
$prixBase = $prestation['prixBase'];
|
|
||||||
|
|
||||||
if ($prixBase == "0"){
|
|
||||||
$prixBase = $prestation['valeurActe'];
|
|
||||||
}
|
|
||||||
|
|
||||||
$codeMotifDepassement = $this->nettoyer($prestation['codeMotifDepassement']);
|
|
||||||
|
|
||||||
$motif = $this->nettoyer($prestation['motif']);
|
|
||||||
$motifEng = $this->nettoyer($prestation['motifEng']);
|
|
||||||
|
|
||||||
$tarif = $this->nettoyer($prestation['tarif']);
|
|
||||||
|
|
||||||
$exclusionrecapacte = $this->nettoyer($prestation['exclusionrecapacte']);
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<?php
|
<?php
|
||||||
if($ententePrealable == '2'){
|
|
||||||
$_SESSION['ententePrealableenattente'] = 1;
|
|
||||||
}else{
|
|
||||||
$_SESSION['ententePrealableenattente'] = 0;
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<td align='center'> <?= dateheureLang($this->nettoyer($prestation['dateSysteme']), $_SESSION['lang']) ?> </td>
|
<td align='center'> <?= dateheureLang($this->nettoyer($prestation['dateSysteme']), $_SESSION['lang']) ?> </td>
|
||||||
<td align='center'> <?= $this->nettoyer($prestation['prestataire']); ?> </td>
|
<td align='center'> <?= $this->nettoyer($prestation['prestataire']); ?> </td>
|
||||||
|
|
||||||
<td align='center'> <?= $codeGarantie ?> </td>
|
|
||||||
<td align='center'> <?= $libelleActe ?> </td>
|
<td align='center'> <?= $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'> <?= $this->nettoyer($prestation['medecinActe']) ?> </td>
|
|
||||||
|
|
||||||
<td > <?= $this->nettoyer($prestation['patient']); ?> </td>
|
<td > <?= $this->nettoyer($prestation['patient']); ?> </td>
|
||||||
|
|
||||||
<td align='center'> <?= format_N($this->nettoyer($prestation['fraisReel'])) ?></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['montantTm'])) ?></td>
|
||||||
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
|
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
|
||||||
|
</tr>
|
||||||
<td align='center'> <?= format_N($this->nettoyer($prestation['depassement'])) ?></td>
|
|
||||||
|
|
||||||
<?php if($codeMotifDepassement!='' && $exclusionrecapacte=='0'): ?>
|
|
||||||
<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; ?>
|
<?php endforeach; ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
@ -154,65 +57,14 @@
|
||||||
<div class="d-md-none">
|
<div class="d-md-none">
|
||||||
<?php
|
<?php
|
||||||
foreach ($historiqueprestations as $prestation):
|
foreach ($historiqueprestations as $prestation):
|
||||||
$idPrestationactes = $this->nettoyer($prestation['id']);
|
|
||||||
$supprimable = $prestation['supprimable'];
|
|
||||||
$codeTypePrestation = $this->nettoyer($prestation['codeTypePrestation']);
|
|
||||||
$codeActe = $this->nettoyer($prestation['codeActe']);
|
|
||||||
$ententePrealable = $this->nettoyer($prestation['ententePrealable']);
|
|
||||||
$autorisation = $this->nettoyer($prestation['autorisation']);
|
|
||||||
|
|
||||||
$idProlongation = $this->nettoyer($prestation['idProlongation']);
|
|
||||||
|
|
||||||
if (isset($_SESSION['lang']) && $_SESSION['lang']=="en_US")
|
if (isset($_SESSION['lang']) && $_SESSION['lang']=="en_US")
|
||||||
{
|
{
|
||||||
if($codeTypePrestation == "PHAR" && $codeActe == "00000")
|
$libelleActe = $this->nettoyer($prestation['libelleActeEng']);
|
||||||
{
|
|
||||||
$libelleActe = "PHARMACIE INTERNE";
|
|
||||||
}else{
|
|
||||||
$libelleActe = $this->nettoyer($prestation['libelleActeEng']);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if($codeTypePrestation == "PHAR" && $codeActe == "00000")
|
$libelleActe = $this->nettoyer($prestation['libelleActe']);
|
||||||
{
|
|
||||||
$libelleActe = "INTERNAL PHARMACY";
|
|
||||||
}else{
|
|
||||||
$libelleActe = $this->nettoyer($prestation['libelleActe']);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$codeActe = $this->nettoyer($prestation['codeActe']);
|
|
||||||
|
|
||||||
$codeGarantie = $this->nettoyer($prestation['codeGarantie']);
|
|
||||||
|
|
||||||
$libelleConsommable = $this->nettoyer($prestation['libelleConsommable']);
|
|
||||||
|
|
||||||
if($codeTypePrestation == "CSM")
|
|
||||||
{
|
|
||||||
$libelleActe = $libelleConsommable;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if($idProlongation > "0"){
|
|
||||||
$libelleActe = $libelleActe." - "."PROROGATION";
|
|
||||||
}
|
|
||||||
|
|
||||||
$prixBase = $prestation['prixBase'];
|
|
||||||
|
|
||||||
if ($prixBase == "0"){
|
|
||||||
$prixBase = $prestation['valeurActe'];
|
|
||||||
}
|
|
||||||
|
|
||||||
$codeMotifDepassement = $this->nettoyer($prestation['codeMotifDepassement']);
|
|
||||||
|
|
||||||
$motif = $this->nettoyer($prestation['motif']);
|
|
||||||
$motifEng = $this->nettoyer($prestation['motifEng']);
|
|
||||||
|
|
||||||
$tarif = $this->nettoyer($prestation['tarif']);
|
|
||||||
|
|
||||||
$exclusionrecapacte = $this->nettoyer($prestation['exclusionrecapacte']);
|
|
||||||
?>
|
?>
|
||||||
<div class="card mb-3 shadow-sm">
|
<div class="card mb-3 shadow-sm">
|
||||||
<div class="card-header bg-light d-flex justify-content-between align-items-center py-0">
|
<div class="card-header bg-light d-flex justify-content-between align-items-center py-0">
|
||||||
|
|
@ -222,20 +74,6 @@
|
||||||
<span class="fw-bold me-2 text-dark"><?= $libelleActe ?></span>
|
<span class="fw-bold me-2 text-dark"><?= $libelleActe ?></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-2 mb-1">
|
|
||||||
<div class="d-flex justify-content-between align-items-center">
|
|
||||||
<?php if($ententePrealable=='2' || $autorisation=='2'): ?>
|
|
||||||
<span class="badge bg-warning text-dark"><?= _("Attente") ?>
|
|
||||||
<?php elseif($ententePrealable=='1' || $autorisation=='1'): ?>
|
|
||||||
<span class="badge bg-success"><?= _("Accordé") ?>
|
|
||||||
<?php elseif($ententePrealable=='9' || $autorisation=='9'): ?>
|
|
||||||
<span class="badge bg-danger"><?= _("Refusé") ?>
|
|
||||||
<?php else: ?>
|
|
||||||
<span class="badge bg-secondary"><?= _("Permis") ?>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -255,13 +93,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-12 mb-0">
|
|
||||||
<div class="d-flex justify-content-between align-items-center">
|
|
||||||
<span class="text-muted small"><?= _("Médecin") ?></span>
|
|
||||||
<span class="fw-bold"><?= substr($this->nettoyer($prestation['medecinActe']),0, 32) ?></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-12 mb-0">
|
<div class="col-12 mb-0">
|
||||||
<div class="d-flex justify-content-between align-items-center">
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
<span class="text-muted small"><?= _("Patient") ?></span>
|
<span class="text-muted small"><?= _("Patient") ?></span>
|
||||||
|
|
@ -291,21 +122,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-6 mb-1">
|
|
||||||
<div class="d-flex justify-content-between">
|
|
||||||
<span class="text-muted small"><?= _("Dépassement") ?></span>
|
|
||||||
<span class="text-danger"><?= format_N($this->nettoyer($prestation['depassement'])) ?></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<?php if($codeMotifDepassement!='' && $exclusionrecapacte=='0'): ?>
|
|
||||||
<div class="col-12 mb-1">
|
|
||||||
<div class="d-flex justify-content-between">
|
|
||||||
<span class="text-muted small"><?= _("Motif") ?></span>
|
|
||||||
<button type="button" class="btn btn-info" title="<?= _("Voir le motif du dépassement...")?>" onClick='javascript:alert_ebene("<?= $motif ?>","<?= $motifEng ?>");'>
|
|
||||||
<?= $codeMotifDepassement ?>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user