Skip to content
Snippets Groups Projects
Commit 4b4d7faf authored by Regis Houssin's avatar Regis Houssin
Browse files

pour accès export pdf des commandes, ajout prise en compte droits pour module commande

parent 4f9f3e9a
Branches
Tags
No related merge requests found
......@@ -96,6 +96,16 @@ if ($modulepart)
}
$original_file=$conf->propal->dir_output.'/'.$original_file;
}
// Wrapping pour les comandes
if ($modulepart == 'commande')
{
$user->getrights('commande');
if ($user->rights->commande->lire)
{
$accessallowed=1;
}
$original_file=$conf->commande->dir_output.'/'.$original_file;
}
// Wrapping pour les rapport de paiements
if ($modulepart == 'facture_paiement')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment