NEW: Add hook on sell journal page for overwrite the processed journal data after the SQL request (#31033)

This commit is contained in:
kkhelifa-opendsi 2024-09-20 01:41:40 +02:00 committed by GitHub
parent 357186722d
commit c00650c403
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}