prestation/Vue/Ajaxprestatairenplus/index.php
2025-12-05 10:42:46 +00:00

71 lines
2.6 KiB
PHP
Executable File

<div id="div_complet">
<table class="table table-condensed table-responsive" style='font-size:10pt;'>
<tbody>
<tr valign="top">
<td width="10%" > <?= _("Catégorie") ?> </td>
<td width="10%" ><INPUT class="form-control" style='font-size:10pt;' value="<?= $this->nettoyer($college['codeProduit']) ?>" readonly > </td>
<td width="10%" align='center'> <?= _("Collège") ?> </td>
<td><INPUT class="form-control" style='font-size:10pt;' value="<?= $this->nettoyer($college['libelleCollege']) ?>" readonly ></td>
</tr>
</tbody>
</table>
<div class="row">
<div id="div_horsreseau" class="col-5" style="padding-right:1px;">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<thead>
<tr>
<th width="90%" style='text-align:center'> <?= _("Prestataires hors réseau") ?> </th>
<th style='text-align:center'> => </th>
</tr>
</thead>
<tbody>
<?php foreach ($prestatairehorsreseaus as $prestatairehorsreseau):
$codePrestataire=$this->nettoyer($prestatairehorsreseau['codePrestataire']);
?>
<tr valign="top">
<td ><?= $this->nettoyer($prestatairehorsreseau['prestataire']) ?></td>
<td align='center'> <input type="button" value="=>" onClick="javascript:ajouter_un_prestataire_en_plus('<?=$codePrestataire?>');" ></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<div id="div_prestataires_en_plus" class="col-7" >
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<thead>
<tr>
<th style='text-align:center'> <= </th>
<th width="80%" style='text-align:center'> <?= _("Prestataires en plus") ?> </th>
<th width="15%" style='text-align:center'> <?= _("T M") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($prestataireenpluss as $prestataireenplus):
$idPrestation=$this->nettoyer($prestataireenplus['id']);
?>
<tr valign="top">
<td align='center'> <input type="button" value="<=" onClick="javascript:retirer_un_prestataire_en_plus('<?=$idPrestation?>');" ></td>
<td ><?= $this->nettoyer($prestataireenplus['prestataire']) ?></td>
<td>
<INPUT style='text-align:center; font-size:9pt;' class="form-control" TYPE="text" value="<?= $this->nettoyer($prestataireenplus['tm']) ?>"
onChange="javascript:ajax_maj_tm_en_plus('<?=$idPrestation?>', this.value, this);">
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
</div>