New: Trigger for set status in supplier order

This commit is contained in:
Ion Agorria 2016-07-10 23:05:51 +02:00
parent 914d56bb1b
commit c596f8d9bd

View File

@ -2104,7 +2104,10 @@ class CommandeFournisseur extends CommonOrder
$resql = $this->db->query($sql);
if ($resql)
{
//TODO: Add trigger for status modification
// Call trigger
$result=$this->call_trigger('ORDER_SUPPLIER_SET_STATUS',$user);
if ($result < 0) { $error++; }
// End call triggers
}
else
{