pour accès export pdf des commandes, ajout prise en compte droits pour module commande
This commit is contained in:
parent
4f9f3e9a6b
commit
4b4d7faf73
@ -96,6 +96,16 @@ if ($modulepart)
|
|||||||
}
|
}
|
||||||
$original_file=$conf->propal->dir_output.'/'.$original_file;
|
$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
|
// Wrapping pour les rapport de paiements
|
||||||
if ($modulepart == 'facture_paiement')
|
if ($modulepart == 'facture_paiement')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user