radiantassure/Vue/Ajaxdetailprescriptionexamen/index.php
2025-12-07 09:35:13 +00:00

81 lines
2.9 KiB
PHP
Executable File

<div id="examens">
<?php
$numeroBonExamen = $examen['numeroBonExamen'];
if ($numeroBonExamen>"0") :
?>
<legend> Examens prescrits </legend>
<?php $nbExamens = 0; ?>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
<thead>
<tr>
<th > Acte / Act </th>
<th width="10%" style="text-align:center"> Suppr </th>
</tr>
</thead>
<tbody>
<?php foreach ($detailexamens as $detailexamen):
$idExamen=$this->nettoyer($detailexamen['id']);
$livre=$this->nettoyer($detailexamen['livre']);
$nbExamens++;
?>
<tr valign="top">
<td> <?= $this->nettoyer($detailexamen['libelleActe']) ?> </td>
<td align='center'>
<?php if ($livre!="1") : ?>
<input class = "form-control btn btn-danger" type="button" value="X" onClick="javascript:supprimer_examen('<?= $idExamen ?>');">
<?php endif; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<input class="sr-only" type="text" id="nbExamens" name="nbExamens" value="<?= $nbExamens ?>" >
<div class="modal fade" id="popRechercheActe" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button id="btn_close_pop_acte" name="btn_close_pop" type="button" class="close" data-bs-dismiss="modal">Fermer / Close</button>
<h4 class="modal-title">Rechercher un Acte... / Search an Act...</h4>
</div>
<div class="modal-body">
<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" style='font-size:10pt;'>
<thead>
<tr>
<th style="text-align:center"> Code </th>
<th style="text-align:center"> Famille / Familly </th>
<th style="text-align:center" > Acte / Act </th>
<th style="text-align:center" > Prix / Price </th>
<th style="text-align:center" > Ent. </th>
<th style="text-align:center" > Exclu </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="3"><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="Rechercher... / Search..." onclick="javascript:afficher_pop_recherche_examens_possibles();" /></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button id="close_pop_acte" name="close_pop_acte" type="button" class="btn btn-default" data-bs-dismiss="modal">Fermer / Close</button>
</div>
</div>
</div>
</div>
<?php endif; ?>
</div>