2
0
forked from Wavyzz/dolibarr

add parameters

This commit is contained in:
Frédéric FRANCE
2022-12-06 16:46:04 +01:00
committed by GitHub
parent dbebd7afb2
commit c29fd09cbd

View File

@@ -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(