X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=reporting%2Frep709.php;h=0cd1f519328aa01b7d26a5481c6a56e96c8bd8f9;hb=df0a865dbfdbdd5213fdce65e0f0aeb5feb19c69;hp=c135445f9b91e0ee452faaa67d1ecb1e23f2ae28;hpb=ad96cd0abbfd826592b851b8e0cb6d89e450fdf4;p=fa-stable.git diff --git a/reporting/rep709.php b/reporting/rep709.php index c135445f..0cd1f519 100644 --- a/reporting/rep709.php +++ b/reporting/rep709.php @@ -193,15 +193,9 @@ function print_tax_report() $rep->Font(); $rep->NewLine(); - $locale = $path_to_root . "/lang/" . $_SESSION['language']->code . "/locale.inc"; - if (file_exists($locale)) + if (method_exists($Hooks, 'TaxFunction')) { - $taxinclude = true; - include($locale); - -// if (function_exists("TaxFunction")) -// TaxFunction(); - + $Hooks->TaxFunction(); } $rep->End();