Initialized upgrade procedures for FA 2.4
[fa-stable.git] / reporting / rep709.php
index f24512d6a734ee9d453656c23edb5c6db4e2067f..e52f293395c08b265a20e203b0eb4cce09a88daa 100644 (file)
@@ -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();
 }