radiantproduction/Vue/Ajaxexclureservices/index.php
2026-07-15 14:15:13 +00:00

77 lines
2.9 KiB
PHP

KANE LAZENI
<div class="row">
<div id="div_service_1" class="col-xs-6" >
<legend> <?= _("Services non exlus") ?> </legend>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Code") ?> </th>
<th style='text-align:center'> <?= _("Famille Acte") ?> </th>
<th style='text-align:center'> => </th>
</tr>
<tr>
<th colspan="3"> <button type="button" style="font-size:8pt;" class="form-control btn btn-primary" onclick="javascript:exclure_tous_services_prestataire();" > <?= _("Ajouter tous"). " ==>" ?> </button> </th>
</tr>
</thead>
<tbody>
<?php foreach ($servicesnonexclus as $servicenonexclu):
$idFamilleActe = $servicenonexclu['idFamilleActe'];
$codeFamilleActe = $servicenonexclu['codeFamilleActe'];
?>
<tr valign="top">
<td align='center'> <?= $this->nettoyer($servicenonexclu['codeFamilleActe']) ?> </td>
<?php if (est_anglophone()): ?>
<td><?= $this->nettoyer($servicenonexclu['libelleEng']) ?></td>
<?php else: ?>
<td><?= $this->nettoyer($servicenonexclu['libelle']) ?></td>
<?php endif; ?>
<td align='center'> <input type="button" value="=>" onClick="javascript:exclure_un_servive_prestataire('<?=$codeFamilleActe?>');" ></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<div id="div_service_2" class="col-xs-6" >
<legend> <?= _("Services exlus") ?> </legend>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th style='text-align:center'> <= </th>
<th style='text-align:center'> <?= _("Code") ?> </th>
<th style='text-align:center'> <?= _("Famille Acte") ?> </th>
</tr>
<tr>
<td colspan="3"> <button type="button" style="font-size:8pt;" class="form-control btn btn-danger" onclick="javascript:retirer_exclusion_tous_servives_prestataire();" > <?= "<== " . _("Retirer tous les réseaux") ?> </button> </td>
</tr>
</thead>
<tbody>
<?php foreach ($servicesexclus as $serviceexclu):
$idExclu = $serviceexclu['idExclu'];
$codeFamilleActe = $serviceexclu['codeFamilleActe'];
?>
<tr valign="top">
<td align='center'> <input type="button" value="<=" onClick="javascript:retirer_exclusion_un_service_prestataire('<?=$codeFamilleActe?>');" ></td>
<td align='center'> <?= $this->nettoyer($serviceexclu['codeFamilleActe']) ?> </td>
<?php if (est_anglophone()): ?>
<td><?= $this->nettoyer($servicenonexclu['libelleEng']) ?></td>
<?php else: ?>
<td><?= $this->nettoyer($servicenonexclu['libelle']) ?></td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>