summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_tax_exempt_pkg.cgi
diff options
context:
space:
mode:
authorivan <ivan>2007-02-03 11:36:30 +0000
committerivan <ivan>2007-02-03 11:36:30 +0000
commit590603ecaea3184f64530755a76626be8205da49 (patch)
tree0fdb8164cd74bd4cbbd3c2266b8f8bf4cbb7fc00 /httemplate/search/cust_tax_exempt_pkg.cgi
parent14e3560b43ca8a747f4210bd784a0315daeb5e9e (diff)
add customer status column to customer & most other reports. also put the C in ACL in the search/ and graph/ directories.
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);