projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c10a2b
)
Added hook for optional TaxFunction.
author
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Tue, 19 May 2009 15:13:02 +0000
(15:13 +0000)
committer
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Tue, 19 May 2009 15:13:02 +0000
(15:13 +0000)
reporting/rep709.php
patch
|
blob
|
history
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();
- $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();