NEW: Add hook on sell journal page for overwrite the processed journal data after the SQL request (#31033)
This commit is contained in:
parent
357186722d
commit
c00650c403
1 changed files with 14 additions and 0 deletions
|
|
@ -374,6 +374,20 @@ if ($result) {
|
|||
}
|
||||
|
||||
// After the loop on each line
|
||||
$parameters = array(
|
||||
'tabfac' => &$tabfac,
|
||||
'tabht' => &$tabht,
|
||||
'tabtva' => &$tabtva,
|
||||
'def_tva' => &$def_tva,
|
||||
'tabwarranty' => &$tabwarranty,
|
||||
'tabrevenuestamp' => &$tabrevenuestamp,
|
||||
'tabttc' => &$tabttc,
|
||||
'tablocaltax1' => &$tablocaltax1,
|
||||
'tablocaltax2' => &$tablocaltax2,
|
||||
'tabcompany' => &$tabcompany,
|
||||
'vatdata_cache' => &$vatdata_cache,
|
||||
);
|
||||
$reshook = $hookmanager->executeHooks('processedJournalData', $parameters); // Note that $action and $object may have been modified by hook
|
||||
} else {
|
||||
dol_print_error($db);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue