summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_tax_exempt_pkg.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/cust_tax_exempt_pkg.cgi')
-rw-r--r--httemplate/search/cust_tax_exempt_pkg.cgi27
1 files changed, 25 insertions, 2 deletions
diff --git a/httemplate/search/cust_tax_exempt_pkg.cgi b/httemplate/search/cust_tax_exempt_pkg.cgi
index 990e344b7..604502d6f 100644
--- a/httemplate/search/cust_tax_exempt_pkg.cgi
+++ b/httemplate/search/cust_tax_exempt_pkg.cgi
@@ -54,9 +54,29 @@
$ilink,
$ilink,
- ( map { $clink } FS::UI::Web::cust_header() ),
+ ( map { $_ ne 'Cust. Status' ? $clink : '' }
+ FS::UI::Web::cust_header()
+ ),
],
- 'align' => 'rrrlrc', # 'rlrrrc',
+ 'align' => 'rrrlrc'.FS::UI::Web::cust_aligns(), # 'rlrrrc',
+ 'color' => [
+ '',
+ '',
+ '',
+ '',
+ '',
+ '',
+ FS::UI::Web::cust_colors(),
+ ],
+ 'style' => [
+ '',
+ '',
+ '',
+ '',
+ '',
+ '',
+ FS::UI::Web::cust_styles(),
+ ],
)
%>
<%once>
@@ -80,6 +100,9 @@ my $join = "
</%once>
<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('View customer tax exemptions');
+
my @where = ();
my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);