derniers details
This commit is contained in:
@@ -81,6 +81,14 @@ $totalFraisFiche = $newFiche->getMontantValide();
|
||||
* ETAT DE LA FICHE
|
||||
*/
|
||||
$status = $newFiche->getStatus();
|
||||
$disabled = ($status !== 'CR') ? 'disabled' : '';
|
||||
if (
|
||||
($status['eId'] == 'CL' && $typeUser == 'comptable')
|
||||
|| ($status['eId'] == 'CR' && $typeUser == 'visiteur')
|
||||
){
|
||||
$disabled = '';
|
||||
} else {
|
||||
$disabled = 'disabled';
|
||||
}
|
||||
|
||||
|
||||
include(__DIR__ . '/../vues/v_newFiche.php');
|
||||
|
Reference in New Issue
Block a user