summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_svc.html
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_svc.html
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_svc.html')
-rw-r--r--httemplate/search/cust_svc.html16
1 files changed, 15 insertions, 1 deletions
diff --git a/httemplate/search/cust_svc.html b/httemplate/search/cust_svc.html
index 127e7abfb..6369b202e 100644
--- a/httemplate/search/cust_svc.html
+++ b/httemplate/search/cust_svc.html
@@ -21,14 +21,28 @@
'links' => [ $link,
$link,
# package?
- ( map { $link_cust }
+ ( map { $_ ne 'Cust. Status' ? $link_cust : '' }
FS::UI::Web::cust_header()
),
],
+ 'align' => 'rl'. FS::UI::Web::cust_aligns(),
+ 'color' => [
+ '',
+ '',
+ FS::UI::Web::cust_colors(),
+ ],
+ 'style' => [
+ '',
+ '',
+ FS::UI::Web::cust_styles(),
+ ],
)
%>
<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('List services');
+
my $addl_from = ' LEFT JOIN part_svc USING ( svcpart ) '.
' LEFT JOIN cust_pkg USING ( pkgnum ) '.
' LEFT JOIN cust_main USING ( custnum ) ';