summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main
diff options
context:
space:
mode:
authorlevinse <levinse>2010-12-07 19:04:43 +0000
committerlevinse <levinse>2010-12-07 19:04:43 +0000
commitc58774a70c3326ad2ba5a7a38b174dfbd76a9f78 (patch)
tree0f07d6ce6fd140ea0985c5d066a8d620d13846dc /httemplate/view/cust_main
parent663b89d06a2c97fb0e7915ba409310fbefefea98 (diff)
-small svc_dsl UI and flow changes, RT7111
-finish basic qualifications, except prospect support, RT7111
Diffstat (limited to 'httemplate/view/cust_main')
-rwxr-xr-xhttemplate/view/cust_main/packages.html9
-rw-r--r--httemplate/view/cust_main/qual_link.html4
2 files changed, 9 insertions, 4 deletions
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html
index 04c47aa3e..ed4ca60c4 100755
--- a/httemplate/view/cust_main/packages.html
+++ b/httemplate/view/cust_main/packages.html
@@ -1,8 +1,9 @@
% my $s = 0;
-% # XXX: add qual access right
+% if ( $curuser->access_right('Qualify service') ) {
<% $s++ ? ' | ' : '' %>
<% include('qual_link.html', $cust_main) %>
+% }
% if ( $curuser->access_right('Order customer package') ) {
<% $s++ ? ' | ' : '' %>
@@ -60,7 +61,11 @@ Current packages
</TD>
<TD ALIGN="right">
- <A HREF="<%$p%>search/report_cust_pkg.html?custnum=<% $cust_main->custnum %>">Package reports</A><BR>
+ <A HREF="<%$p%>search/report_cust_pkg.html?custnum=<% $cust_main->custnum %>">Package reports</A>
+% if ( $curuser->access_right('Qualify service') ) {
+ | <A HREF="<%$p%>search/qual.cgi?custnum=<% $cust_main->custnum %>">View Qualifications</A>
+% }
+ <BR>
Service reports:
<A HREF="<%$p%>search/report_svc_acct.html?custnum=<% $cust_main->custnum %>">accounts</A><BR>
Usage reports:
diff --git a/httemplate/view/cust_main/qual_link.html b/httemplate/view/cust_main/qual_link.html
index 077142c0a..b8dfaf9b2 100644
--- a/httemplate/view/cust_main/qual_link.html
+++ b/httemplate/view/cust_main/qual_link.html
@@ -1,7 +1,7 @@
<% include( '/elements/popup_link-cust_main.html',
'action' => $p. 'misc/qual.html',
- 'label' => 'Service&nbsp;Qualification',
- 'actionlabel' => 'Service Qualification',
+ 'label' => 'New&nbsp;Qualification',
+ 'actionlabel' => 'New Qualification',
'color' => '#333399',
'cust_main' => $cust_main,
'closetext' => 'Close',