summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-05-19 00:10:18 +0000
committerivan <ivan>2011-05-19 00:10:18 +0000
commit3f1156eaf4fa5316e4f88680d288c278363cab87 (patch)
tree906dc7304c9977ac892836252bacc6cb842e9760
parent476c6bf1b142ca8343e37cb430eb6ef75ebc4d82 (diff)
better menu entries for tax reports
-rw-r--r--httemplate/elements/menu.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index b5d48a7cb..3523f0a7d 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -319,9 +319,12 @@ if($curuser->access_right('Financial reports')) {
);
$report_financial{'A/R Aging'} = [ $fsurl.'search/report_receivables.html', 'Accounts Receivable Aging report' ];
$report_financial{'Prepaid Income'} = [ $fsurl.'search/report_prepaid_income.html', 'Prepaid income (unearned revenue) report' ];
- $report_financial{'Sales Tax Liability'} = [ $fsurl.'search/report_tax.html', 'Sales tax liability report (internal taxclass system)' ];
- $report_financial{'Tax Liability'} = [ $fsurl.'search/report_newtax.html', 'Tax liability report (vendor data tax products system)' ]
- if $conf->exists('enable_taxproducts');
+
+ my $taxproducts = $conf->exists('enable_taxproducts');
+ $report_financial{'Tax Liability'. ($taxproducts ? ' (internal tax data)' : '')} = [ $fsurl.'search/report_tax.html', 'Tax liability report (internal tax data)' ];
+ $report_financial{'Tax Liability (vendor tax data)'} = [ $fsurl.'search/report_newtax.html', 'Tax liability report (vendor tax data)' ]
+ if $taxproducts;
+
$report_financial{'Customer Accounting Summary'} = [ $fsurl.'search/report_customer_accounting_summary.html', 'Customer accounting summary report' ];
} elsif($curuser->access_right('Receivables report')) {