Merge remote-tracking branch 'origin/3.9' into develop
This commit is contained in:
commit
ea9db792be
@ -168,9 +168,11 @@ if($conf->global->$calc ==0 || $conf->global->$calc == 2)
|
|||||||
$parameters["start"] = $date_start;
|
$parameters["start"] = $date_start;
|
||||||
$parameters["end"] = $date_end;
|
$parameters["end"] = $date_end;
|
||||||
$parameters["direction"] = 'sell';
|
$parameters["direction"] = 'sell';
|
||||||
|
$parameters["type"] = 'localtax'.$$local;
|
||||||
|
|
||||||
// Initialize technical object to manage hooks of expenses. Note that conf->hooks_modules contains array array
|
// Initialize technical object to manage hooks of expenses. Note that conf->hooks_modules contains array array
|
||||||
$hookmanager->initHooks(array('externalbalance'));
|
$hookmanager->initHooks(array('externalbalance'));
|
||||||
$reshook=$hookmanager->executeHooks('addStatisticLine',$parameters,$object,$action); // Note that $action and $object may have been modified by some hooks
|
$reshook=$hookmanager->executeHooks('addVatLine',$parameters,$object,$action); // Note that $action and $object may have been modified by some hooks
|
||||||
|
|
||||||
if (is_array($coll_list))
|
if (is_array($coll_list))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -250,9 +250,11 @@ $parameters["mode"] = $modetax;
|
|||||||
$parameters["start"] = $date_start;
|
$parameters["start"] = $date_start;
|
||||||
$parameters["end"] = $date_end;
|
$parameters["end"] = $date_end;
|
||||||
$parameters["direction"] = 'sell';
|
$parameters["direction"] = 'sell';
|
||||||
|
$parameters["type"] = 'vat';
|
||||||
|
|
||||||
// Initialize technical object to manage hooks of expenses. Note that conf->hooks_modules contains array array
|
// Initialize technical object to manage hooks of expenses. Note that conf->hooks_modules contains array array
|
||||||
$hookmanager->initHooks(array('externalbalance'));
|
$hookmanager->initHooks(array('externalbalance'));
|
||||||
$reshook=$hookmanager->executeHooks('addStatisticLine',$parameters,$object,$action); // Note that $action and $object may have been modified by some hooks
|
$reshook=$hookmanager->executeHooks('addVatLine',$parameters,$object,$action); // Note that $action and $object may have been modified by some hooks
|
||||||
|
|
||||||
if (is_array($coll_list)) {
|
if (is_array($coll_list)) {
|
||||||
$var=true;
|
$var=true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user