Typo
This commit is contained in:
parent
96867fac4f
commit
e437a53657
@ -732,11 +732,11 @@ class AccountingAccount extends CommonObject
|
|||||||
global $hookmanager;
|
global $hookmanager;
|
||||||
|
|
||||||
// Instantiate hooks for external modules
|
// Instantiate hooks for external modules
|
||||||
$hookmanager->initHooks(array('accoutancyBindingCalculation'));
|
$hookmanager->initHooks(array('accountancyBindingCalculation'));
|
||||||
|
|
||||||
// Execute hook accoutancyBindingCalculation
|
// Execute hook accountancyBindingCalculation
|
||||||
$parameters = array('buyer' => $buyer, 'seller' => $seller, 'product' => $product, 'facture' => $facture, 'factureDet' => $factureDet ,'accountingAccount'=>$accountingAccount, $type);
|
$parameters = array('buyer' => $buyer, 'seller' => $seller, 'product' => $product, 'facture' => $facture, 'factureDet' => $factureDet ,'accountingAccount'=>$accountingAccount, $type);
|
||||||
$reshook = $hookmanager->executeHooks('accoutancyBindingCalculation', $parameters); // Note that $action and $object may have been modified by some hooks
|
$reshook = $hookmanager->executeHooks('accountancyBindingCalculation', $parameters); // Note that $action and $object may have been modified by some hooks
|
||||||
|
|
||||||
if (empty($reshook)) {
|
if (empty($reshook)) {
|
||||||
if ($type == 'customer') {
|
if ($type == 'customer') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user