valider fiche pour un comptable

This commit is contained in:
pierre renaudot
2024-02-01 09:22:43 +01:00
parent 1acc68b01b
commit 1a7e420d20
6 changed files with 93 additions and 15 deletions

View File

@@ -155,9 +155,18 @@
if ($disabled == ''):
?>
<div class="col-3 d-flex mx-auto my-5 justify-content-center">
<button type="button" class="btn btn-outline-primary btn-lg" id="sendFileBtn" data-uType="<?= $typeUser ?>">Envoyer
la Fiche
</button>
<?php
if ($typeUser == 'comptable' && $status['eId'] == 'CL'): ?>
<button type="button" class="btn btn-outline-primary btn-lg" id="validSheetBtn" data-uType="<?= $typeUser ?>">Valider
la Fiche
</button>
<?php else: ?>
<button type="button" class="btn btn-outline-primary btn-lg" id="sendFileBtn" data-uType="<?= $typeUser ?>">Envoyer
la Fiche
</button>
<?php endif ?>
</div>
<?php endif ?>
<script src="include/newFiche.js"></script>