production/Vue/Ajaxfiltreactecollegeretrait/index.php
2025-12-01 16:12:12 +00:00

67 lines
2.3 KiB
PHP
Executable File

<div id="div_garantieproduit">
<div class="row">
<div id="div_sans_seuil" class="col-6" >
<legend> <?= _("Actes à Retirer") ?> </legend>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" style="font-size:10pt;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Libellé")." (".count($actes_out).")" ?> </th>
<th width="20%" style='text-align:center'> => </th>
</tr>
</thead>
<tbody>
<?php foreach ($actes_out as $v):
$codeGarantie = $v['codeGarantie'];
$codeActe = $v['codeActe'];
?>
<tr valign="top">
<td align='center'><?= $this->nettoyer($v['libelle']) ?></td>
<td align='center'> <input type="button" value="=>" onClick="javascript:retirer_un_acte_college('<?=$codeGarantie?>','<?=$codeActe?>');" ></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<div id="div_avec_seuil" class="col-6" >
<legend> <?= _("Actes Retirés") ?> </legend>
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" style="font-size:10pt;">
<thead>
<tr>
<th width="10%" style='text-align:center'> <= </th>
<th style='text-align:center'> <?= _("Libellé")." (".count($actes_in).")" ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($actes_in as $v):
$id = $v['id'];
?>
<tr valign="top">
<td align='center'> <input type="button" value="<=" onClick="javascript:annuler_retrait_un_acte_college('<?=$id?>');" ></td>
<td align='center'><?= $this->nettoyer($v['libelle']) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
<table class="table table-responsive table-condensed" style='font-size:9pt; text-align:center'>
<tbody>
<tr>
<td >
<?php if($nombreActe > "0"): ?>
<input style='font-size:10pt;' class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_avenant_retrait_acte();">
<?php else: ?>
<input style='font-size:10pt;' class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" disabled>
<?php endif; ?>
</td>
</tr>
</tbody>
</table>
</div>