Update card.php

This commit is contained in:
Philippe Grand 2021-08-24 16:42:04 +02:00 committed by GitHub
parent 7c2d19ffaf
commit 0286a2e75d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,9 +121,7 @@ $usercansend = (empty($conf->global->MAIN_USE_ADVANCED_PERMS) || $user->rights->
$usercancreateorder = $user->rights->commande->creer;
$usercancreateinvoice = $user->rights->facture->creer;
$usercancreatecontract = $user->rights->contrat->creer;
if (!empty($conf->ficheinter->enabled)) {
$usercancreateintervention = $user->rights->ficheinter->creer;
}
$user->hasRight('ficheinter', 'creer');
$usercancreatepurchaseorder = ($user->rights->fournisseur->commande->creer || $user->rights->supplier_order->creer);
$permissionnote = $usercancreate; // Used by the include of actions_setnotes.inc.php