This commit is contained in:
KONE SOREL 2026-04-16 12:11:33 +00:00
parent a81c9af5f7
commit 82efec7652

View File

@ -37,9 +37,6 @@
$libelleSensMouvement = est_anglophone() ? $mvt['libelleSensMouvementEng'] : $mvt['libelleSensMouvement'];
$nombreGed = $mvt['nombreGed'];
$idBeneficiaire = $mvt['idBeneficiaire'];
$bool = intval($choix)+intval($rejet);
//var_dump($bool);
?>
<tr>
<td class="text-center" style="vertical-align: middle;">
@ -92,27 +89,17 @@
</td>
<td colspan="2" class="text-center" style="vertical-align: middle;">
<?php if($choix == "0"): ?>
<input type="checkbox" <?= ($choix == '1') ? 'checked' : '' ?> value="<?= $choix ?>"
onClick="javascript:this.value=(this.value=='1'?'0':'1');selectionner_mouvement_rh(<?= $idMvtTemp ?>, this.value);"
>
<?php else: ?>
<input type="checkbox" <?= ($choix == '1') ? 'checked' : '' ?> value="<?= $choix ?>" disabled></td>
<?php endif; ?>
<input type="checkbox" <?= ($choix == '1') ? 'checked' : '' ?> value="<?= $choix ?>"
onClick="javascript:this.value=(this.value=='1'?'0':'1');selectionner_mouvement_rh(<?= $idMvtTemp ?>, this.value);"
>
</td>
<td class="text-center" style="vertical-align: middle;">
<?php if($rejet == "0"): ?>
<input type="checkbox" <?= ($rejet == '1') ? 'checked' : '' ?> value="<?= $rejet ?>"
onClick="javascript:this.value=(this.value=='1'?'0':'1');selectionner_rejet_rh(<?= $idMvtTemp ?>, this.value);"
>
<?php else: ?>
<input type="checkbox" <?= ($rejet == '1') ? 'checked' : '' ?> value="<?= $rejet ?>" disabled></td>
<?php endif; ?>
<input type="checkbox" <?= ($rejet == '1') ? 'checked' : '' ?> value="<?= $rejet ?>"
onClick="javascript:this.value=(this.value=='1'?'0':'1');selectionner_rejet_rh(<?= $idMvtTemp ?>, this.value);"
>
</td>
<td class="text-center" style="vertical-align: middle;">
<?php if($rejet == 1): ?>
<input type="button" value="Obs" onClick='javascript:maj_observation_rejet_rh(<?= $idMvtTemp ?>);'>
<?php endif; ?>
<input type="button" value="Obs" onClick='javascript:maj_observation_rejet_rh(<?= $idMvtTemp ?>);'>
</td>
</tr>
<?php endforeach; ?>