forked from Wavyzz/dolibarr
add parameters
This commit is contained in:
@@ -873,10 +873,11 @@ if ($id > 0 || !empty($ref)) {
|
||||
|
||||
// Enable hooks to append additional columns
|
||||
$parameters = array(
|
||||
'is_information_row' => true, // allows hook to distinguish between the
|
||||
// rows with information and the rows with
|
||||
// dispatch form input
|
||||
'objp' => $objp
|
||||
// allows hook to distinguish between the rows with information and the rows with dispatch form input
|
||||
'is_information_row' => true,
|
||||
'i' => $i,
|
||||
'suffix' => $suffix,
|
||||
'objp' => $objp,
|
||||
);
|
||||
$reshook = $hookmanager->executeHooks(
|
||||
'printFieldListValue',
|
||||
@@ -935,10 +936,11 @@ if ($id > 0 || !empty($ref)) {
|
||||
|
||||
// Enable hooks to append additional columns
|
||||
$parameters = array(
|
||||
'is_information_row' => true, // allows hook to distinguish between the
|
||||
// rows with information and the rows with
|
||||
// dispatch form input
|
||||
'objp' => $objp
|
||||
// allows hook to distinguish between the rows with information and the rows with dispatch form input
|
||||
'is_information_row' => true,
|
||||
'i' => $i,
|
||||
'suffix' => $suffix,
|
||||
'objp' => $objp,
|
||||
);
|
||||
$reshook = $hookmanager->executeHooks(
|
||||
'printFieldListValue',
|
||||
@@ -1017,6 +1019,8 @@ if ($id > 0 || !empty($ref)) {
|
||||
// Enable hooks to append additional columns
|
||||
$parameters = array(
|
||||
'is_information_row' => false, // this is a dispatch form row
|
||||
'i' => $i,
|
||||
'suffix' => $suffix,
|
||||
'objp' => $objp,
|
||||
);
|
||||
$reshook = $hookmanager->executeHooks(
|
||||
|
||||
Reference in New Issue
Block a user