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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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