This commit is contained in:
KONE SOREL 2026-04-16 11:48:31 +00:00
parent 07371bdd91
commit bd6f9344d0

View File

@ -39,7 +39,7 @@
$idBeneficiaire = $mvt['idBeneficiaire'];
$bool = intval($choix)+intval($rejet);
var_dump($bool);
//var_dump($bool);
?>
<tr>
<td class="text-center" style="vertical-align: middle;">
@ -92,21 +92,27 @@
</td>
<td colspan="2" class="text-center" style="vertical-align: middle;">
<input type="checkbox"
<?= ($choix == '1') ? 'checked' : '' ?>
value="<?= $choix ?>"
onClick="javascript:this.value=(this.value=='1'?'0':'1');selectionner_mouvement_rh(<?= $idMvtTemp ?>, this.value);"
>
<?php if($bool == 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; ?>
</td>
<td class="text-center" style="vertical-align: middle;">
<input type="checkbox"
<?= ($rejet == '1') ? 'checked' : '' ?>
value="<?= $rejet ?>"
onClick="javascript:this.value=(this.value=='1'?'0':'1');selectionner_rejet_rh(<?= $idMvtTemp ?>, this.value);"
>
<?php if($bool == 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; ?>
</td>
<td class="text-center" style="vertical-align: middle;">
<input type="button" value="Obs" onClick='javascript:maj_observation_rejet_rh(<?= $idMvtTemp ?>);'>
<?php if($rejet == 1): ?>
<input type="button" value="Obs" onClick='javascript:maj_observation_rejet_rh(<?= $idMvtTemp ?>);'>
<?php endif; ?>
</td>
</tr>
<?php endforeach; ?>