save makeorder comment to agenda item
This commit is contained in:
parent
cefbcf03f6
commit
d9529f2600
@ -566,6 +566,11 @@ class InterfaceActionsAuto extends DolibarrTriggers
|
|||||||
}
|
}
|
||||||
$object->actionmsg = $langs->transnoentities("SupplierOrderSubmitedInDolibarr", ($object->newref ? $object->newref : $object->ref));
|
$object->actionmsg = $langs->transnoentities("SupplierOrderSubmitedInDolibarr", ($object->newref ? $object->newref : $object->ref));
|
||||||
|
|
||||||
|
if (!empty($object->context['comments'])) {
|
||||||
|
$object->actionmsg .= '<br>';
|
||||||
|
$object->actionmsg .= $langs->trans("Comment") . ': '.$object->context['comments'];
|
||||||
|
}
|
||||||
|
|
||||||
$object->sendtoid = 0;
|
$object->sendtoid = 0;
|
||||||
} elseif ($action == 'ORDER_SUPPLIER_RECEIVE') {
|
} elseif ($action == 'ORDER_SUPPLIER_RECEIVE') {
|
||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user