Update eldy.lib.php

This commit is contained in:
Laurent Destailleur 2021-05-17 13:47:48 +02:00 committed by GitHub
parent 6ffbc2744e
commit 4a488ad60a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -235,13 +235,12 @@ function print_eldy_menu($db, $atarget, $type_user, &$tabMenu, &$menu, $noout =
) ? 1 : 0,
'perms'=>(!empty($user->rights->propal->lire)
|| !empty($user->rights->commande->lire)
|| !empty($user->rights->fournisseur->lire)
|| !empty($user->rights->supplier_proposal->lire)
|| !empty($user->rights->fournisseur->lire)
|| !empty($user->rights->fournisseur->commande->lire)
|| !empty($user->rights->supplier_order->lire)
|| !empty($user->rights->contrat->lire)
|| !empty($user->rights->ficheinter->lire)
|| !empty($user->rights->supplier_order->lire)
|| !empty($user->rights->fournisseur->commande->lire)
),
'module'=>'propal|commande|supplier_proposal|supplier_order|contrat|ficheinter'
);