projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added bank charge in bank transfer
[fa-stable.git]
/
reporting
/
rep709.php
diff --git
a/reporting/rep709.php
b/reporting/rep709.php
index c135445f9b91e0ee452faaa67d1ecb1e23f2ae28..0cd1f519328aa01b7d26a5481c6a56e96c8bd8f9 100644
(file)
--- a/
reporting/rep709.php
+++ b/
reporting/rep709.php
@@
-193,15
+193,9
@@
function print_tax_report()
$rep->Font();
$rep->NewLine();
$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();
}
$rep->End();