summaryrefslogtreecommitdiff
path: root/ng_selfservice/services.php
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2017-05-01 15:09:18 -0400
committerChristopher Burger <burgerc@freeside.biz>2017-07-21 17:15:59 -0400
commit43d43d3101e7f555422bd48276f22b1bebbf6010 (patch)
tree6ad1e648a57607802eeb4a46f4cffe41c0aadf4c /ng_selfservice/services.php
parenta941bc2ebde67e4bb0be5d6516cf1b09c092e8a1 (diff)
RT#73993 - updated selfservice and ngselfservice to allow for the control of changes packages by agent.
Diffstat (limited to 'ng_selfservice/services.php')
-rw-r--r--ng_selfservice/services.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/ng_selfservice/services.php b/ng_selfservice/services.php
index ce47e9ea4..25fbdde4f 100644
--- a/ng_selfservice/services.php
+++ b/ng_selfservice/services.php
@@ -17,6 +17,7 @@ extract($list_pkgs);
?>
<TABLE BORDER=0 CELLSPACING=2 CELLPADDING=1>
<TR>
+ <TH ALIGN="LEFT">&nbsp;</TH>
<TH ALIGN="LEFT">Product</TH>
<TH ALIGN="LEFT">Status</TH>
<TH ALIGN="LEFT" COLSPAN=2>Service(s)</TH>
@@ -29,11 +30,17 @@ extract($list_pkgs);
$rowspan = count($pkg['cust_svc']);
if ( $rowspan == 0 ) { $rowspan = 1; }
$td = '<TD ALIGN="LEFT" VALIGN="top" ROWSPAN="'. $rowspan. '">';
+
+ $change_link = '';
+ if ( in_array("Change packages", $menu_disable) == 0) {
+ $change_link = '<a href="packages_change.php?pkgnum=' . $pkg['pkgnum'] . '&pkg=' . $pkg['pkg_label'] . '">[change]</a>';
+ }
?>
<TR>
<TD COLSPAN=4 STYLE="border-top:1px solid #999999"></TD>
</TR>
<TR>
+ <? echo $td ?><? echo $change_link ?>&nbsp;&nbsp;</TD>
<? echo $td ?><? echo $pkg['pkg_label']; ?></TD>
<? echo $td ?>
<FONT COLOR="#<? echo $pkg['statuscolor'] ?>"><B>