X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep709.php;h=e52f293395c08b265a20e203b0eb4cce09a88daa;hb=b2ddc6a6ed30ad69721b7d54610935020cf24247;hp=f24512d6a734ee9d453656c23edb5c6db4e2067f;hpb=21ba0553185531c12f16efef9010033d5dd62cdc;p=fa-stable.git diff --git a/reporting/rep709.php b/reporting/rep709.php index f24512d6..e52f2933 100644 --- a/reporting/rep709.php +++ b/reporting/rep709.php @@ -71,7 +71,7 @@ function getTaxInfo($id) function print_tax_report() { - global $path_to_root, $trans_dir, $Hooks, $systypes_array; + global $path_to_root, $trans_dir, $systypes_array; $from = $_POST['PARAM_0']; $to = $_POST['PARAM_1']; @@ -202,10 +202,7 @@ function print_tax_report() $rep->Font(); $rep->NewLine(); - if (method_exists($Hooks, 'TaxFunction')) - { - $Hooks->TaxFunction(); - } + hook_tax_report_done(); $rep->End(); }