66 lines
2.3 KiB
PHP
Executable File
66 lines
2.3 KiB
PHP
Executable File
<div id="div_garantieproduit">
|
|
<div class="row">
|
|
<div id="div_sans_seuil" class="col-6" >
|
|
<legend> <?= _("Garanties à Retirer") ?> </legend>
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center'> <?= _("Libellé")." (".count($garanties_out).")" ?> </th>
|
|
<th width="20%" style='text-align:center'> => </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($garanties_out as $v):
|
|
$codeGarantie = $v['codeGarantie'];
|
|
?>
|
|
<tr valign="top">
|
|
<td align='center'><?= $this->nettoyer($v['libelle']) ?></td>
|
|
<td align='center'> <input type="button" value="=>" onClick="javascript:retirer_une_garantie_college('<?=$codeGarantie?>');" ></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="div_avec_seuil" class="col-6" >
|
|
<legend> <?= _("Garanties Retirées") ?> </legend>
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
|
|
<thead>
|
|
|
|
<tr>
|
|
<th width="10%" style='text-align:center'> <= </th>
|
|
<th style='text-align:center'> <?= _("Libellé")." (".count($garanties_in).")" ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($garanties_in as $v):
|
|
$id = $v['id'];
|
|
?>
|
|
<tr valign="top">
|
|
<td align='center'> <input type="button" value="<=" onClick="javascript:annuler_une_garantie_college_retrait('<?=$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($nombreGarantie > "0"): ?>
|
|
<input style='font-size:10pt;' class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_avenant_retrait_garantie();">
|
|
<?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>
|