90 lines
4.2 KiB
PHP
Executable File
90 lines
4.2 KiB
PHP
Executable File
<?php
|
|
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US")
|
|
{
|
|
$libelleCarence = "Wait Period";
|
|
}
|
|
else
|
|
{
|
|
$libelleCarence = "Carence";
|
|
}
|
|
?>
|
|
|
|
<div id="div_liste_actes_possibles" onkeypress="javascript:ctrlkeypress_examens_possibles(event);">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabspeciale compact" style='font-size:10pt;' >
|
|
<thead>
|
|
<tr>
|
|
<th style="text-align:center"> Code </th>
|
|
<th colspan="2" style="text-align:center" > <?= _("Acte") ?> </th>
|
|
<th style="text-align:center" > <?= _("Prix") ?> </th>
|
|
<th style="text-align:center" > <?= _("Accord") ?> </th>
|
|
<th style="text-align:center" > <?= _("Exclu") ?> </th>
|
|
<th style="text-align:center" > <?=$libelleCarence?> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td colspan="3"><input type="text" class="form-control" id="libelleActeSearch" name="libelleActeSearch" style='font-size:10pt;' ></td>
|
|
<td colspan="2"><input type="button" class = "form-control btn btn-info" style='font-size:8pt;' value="<?= _("AUTRES EXAMENS") ?>" onclick="javascript:afficher_pop_recherche_autres_possibles();" /></td>
|
|
<td ><input type="button" class = "form-control btn btn-info" style='font-size:8pt;' value="<?= _("BIOLOGIE") ?>" onclick="javascript:afficher_pop_recherche_bio_possibles();" /></td>
|
|
<td ><input type="button" class = "form-control btn btn-info" style='font-size:8pt;' value="<?= _("IMAGERIE") ?>" onclick="javascript:afficher_pop_recherche_ima_possibles();" /></td>
|
|
</tr>
|
|
<?php foreach ($actes_pop as $acte_pop):
|
|
$codeFamilleActe = $this->nettoyer($acte_pop['codeFamilleActe']);
|
|
$codeActe = $this->nettoyer($acte_pop['codeActe']);
|
|
$familleActe = $this->echapper($acte_pop['familleActe']);
|
|
$libelleActe = $this->echapper($acte_pop['libelleActe']);
|
|
|
|
if (isset($_SESSION['p_lang']) && $_SESSION['p_lang']=="en_US"){
|
|
$libelleActe = $this->echapper($acte_pop['libelleActeEng']);
|
|
}
|
|
|
|
$prixTarif = $this->nettoyer($acte_pop['prixTarif']);
|
|
|
|
$ententePrealable = $this->nettoyer($acte_pop['ententePrealable']);
|
|
$exclu = $this->nettoyer($acte_pop['exclu']);
|
|
$delaiCarenceEnCours = $this->nettoyer($acte_pop['delaiCarenceEnCours']);
|
|
?>
|
|
|
|
<?php if ($exclu=="1" or $delaiCarenceEnCours=="1"): ?>
|
|
<tr valign="top" style="background-color: red;color:white;">
|
|
<td align="center"> <input type="text" style='font-size:10pt;' class = "form-control" value="<?= $codeActe ?>" disabled > </td>
|
|
<?php else: ?>
|
|
<tr ondblclick="javascript:ajouter_examen_possible('<?=$codeActe?>', '<?=$libelleActe?>', '<?=$exclu?>', '<?=$ententePrealable?>');" valign="top">
|
|
<td align="center"> <input type="button" style='font-size:10pt;' class = "form-control btn btn-primary" value="<?= $codeActe ?>" onClick="javascript:ajouter_examen_possible('<?=$codeActe?>', '<?=$libelleActe?>', '<?=$exclu?>', '<?=$ententePrealable?>');"> </td>
|
|
<?php endif; ?>
|
|
|
|
<td> <?= $this->dechapper($familleActe) ?> </td>
|
|
|
|
<?php if($ententePrealable=='1'): ?>
|
|
<td style="background-color: yellow;"> <?= $this->dechapper($libelleActe) ?> </td>
|
|
<?php elseif($exclu=='1'): ?>
|
|
<td style="background-color: red; color:white;" > <?= $this->dechapper($libelleActe) ?> </td>
|
|
<?php else: ?>
|
|
<td> <?= $this->dechapper($libelleActe) ?> </td>
|
|
<?php endif; ?>
|
|
|
|
<td align='center'><?= format_N($prixTarif) ?></td>
|
|
|
|
<?php if ($ententePrealable=="1"): ?>
|
|
<td align='center'> <input type="checkbox" checked disabled></td>
|
|
<?php else: ?>
|
|
<td align='center'> <input type="checkbox" disabled></td>
|
|
<?php endif; ?>
|
|
|
|
<?php if ($exclu=="1"): ?>
|
|
<td align='center'> <input type="checkbox" checked disabled></td>
|
|
<?php else: ?>
|
|
<td align='center'> <input type="checkbox" disabled></td>
|
|
<?php endif; ?>
|
|
|
|
<?php if ($delaiCarenceEnCours=="1"): ?>
|
|
<td align='center'> <input type="checkbox" checked disabled></td>
|
|
<?php else: ?>
|
|
<td align='center'> <input type="checkbox" disabled></td>
|
|
<?php endif; ?>
|
|
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|