This commit is contained in:
KANE LAZENI 2026-03-23 23:47:23 +00:00
parent 55f6fdbebb
commit 6e7fc8f146

View File

@ -14,7 +14,7 @@
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" style="font-size:8pt;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Disponibles")." (".count($lettrecles).")" ?> </th>
<th style='text-align:center'> <?= _("Disponibles") . " ( ".count($lettrecles) . " )" ?> </th>
<th style='text-align:center'><?= _("Désignation") ?> </th>
<th width="7%" style='text-align:center'><?= _("Tarifé") ?> </th>
<th width="7%" style='text-align:center'> => </th>
@ -37,7 +37,6 @@
{
$description = $v['description'];
}
?>
<?php if($dansDetailTarif=='1'): ?>
@ -59,12 +58,13 @@
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" style="font-size:8pt;">
<thead>
<tr>
<th width="7%" style='text-align:center'> <= </th>
<th style='text-align:center'> <?= _("Lettres clés tarif (".count($lettrecletarif).")") ?> </th>
<th width="20%" style='text-align:center'> <?= _("Effet") ?> </th>
<th width="20%" style='text-align:center'> <?= _("Prix Jour Ouvrable") ?> </th>
<th width="20%" style='text-align:center'> <?= _("Prix Nuit et Ferié") ?> </th>
<th width="5%" style='text-align:center'> Suppr </th></tr>
<th style='text-align:center'> <= </th>
<th style='text-align:center'> <?= _("tarifé") . " ( ".count($lettrecletarif) . " )" ?> </th>
<th style='text-align:center'><?= _("Désignation") ?> </th>
<th style='text-align:center'> <?= _("Effet") ?> </th>
<th style='text-align:center'> <?= _("Prix Jour Ouvrable") ?> </th>
<th style='text-align:center'> <?= _("Prix Nuit et Ferié") ?> </th>
<th style='text-align:center'> <?= _("Supprimer") ?> </th></tr>
</thead>
<tbody>
@ -90,6 +90,15 @@
$i++;
if (est_anglophone())
{
$description = $v['descriptionEng'];
}
else
{
$description = $v['description'];
}
?>
<?php if($supprime=='1'): ?>
<tr id="tabLigne<?= $i;?>" valign="top" style="text-decoration: line-through red;">
@ -107,19 +116,23 @@
<?php else: ?>
<td></td>
<?php endif; ?>
<td align='center'><?= $this->nettoyer($v['lettreCle']) ?></td>
<td align='center'> <?= $description ?> </td>
<?php if (($dateEffet=="" || $idDetailTarifActe=="0" || $majPrix=="1" || $majPrixNuitFerier=="1") && ($supprime=="0")): ?>
<td>
<INPUT style='text-align:center; font-size:7pt;' class="form-control datepicker" TYPE="text" id="dateEffet<?= $i;?>" NAME="dateEffet<?= $i;?>" required AUTOCOMPLETE="OFF"
value="<?= datefr($dateEffet);?>" onChange="javascript:maj_composante_effettarif_lettrecle('<?=$id?>', this.value,'<?=$maxDateEffetActe?>','<?=$i?>');">
</td>
<?php else: ?>
<td align='center'><?= datefr($dateEffet); ?></td>
<?php endif; ?>
<?php if (($prix=="0" || $majPrix=="1" || $idDetailTarifActe=="0") && ($supprime=="0")): ?>
<?php //if ($idDetailTarifActe=="0"): ?>
<td >
<INPUT class="form-control" style='text-align:center' TYPE="number" value="<?= $prix ?>" id="prix<?= $i;?>" NAME="prix<?= $i;?>"
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){maj_composante_tarif_lettrecle('<?=$id?>', this.value,'<?=$i?>');}">
@ -129,7 +142,6 @@
<?php endif; ?>
<?php if (($prixNuitFerier=="0" || $majPrixNuitFerier=="1" || $idDetailTarifActe=="0") && ($supprime=="0")): ?>
<?php //if ($idDetailTarifActe=="0"): ?>
<td >
<INPUT class="form-control" style='text-align:center' TYPE="number" value="<?= $prixNuitFerier ?>" id="prixNuitFerier<?= $i;?>" NAME="prixNuitFerier<?= $i;?>"
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){maj_composante_tarifnuit_lettrecle('<?=$id?>', this.value,'<?= $i;?>');}">