2
0
forked from Wavyzz/dolibarr

Update html.formfile.class.php

This commit is contained in:
Frédéric FRANCE
2015-10-29 19:08:38 +01:00
parent e5063010b2
commit b1c4e032fc

View File

@@ -285,7 +285,7 @@ class FormFile
}
$printer=0;
if (in_array($modulepart,array('facture','askpricesupplier','propal','proposal','order','commande','expedition'))) // The direct print feature is implemented only for such elements
if (in_array($modulepart,array('facture','askpricesupplier','propal','proposal','order','commande','expedition', 'commande_fournisseur'))) // The direct print feature is implemented only for such elements
{
$printer = (!empty($user->rights->printing->read) && !empty($conf->printing->enabled))?true:false;
}