add hook printObjectLine on product supplier prices list

This commit is contained in:
geoffrey.girard 2014-02-04 16:55:09 +01:00
parent 8f3e9b1832
commit 05ceecd184

View File

@ -518,6 +518,12 @@ if ($id || $ref)
print '</td>'; print '</td>';
} }
if (is_object($hookmanager))
{
$parameters=array('id_pfp'=>$productfourn->product_fourn_price_id,'id_fourn'=>$id_fourn,'prod_id'=>$product->id);
$reshook=$hookmanager->executeHooks('printObjectLine',$parameters,$object,$action);
}
// Modify-Remove // Modify-Remove
print '<td align="center">'; print '<td align="center">';
if ($user->rights->produit->creer || $user->rights->service->creer) if ($user->rights->produit->creer || $user->rights->service->creer)