summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-06-01 16:03:29 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-06-01 16:18:24 -0500
commit5d6ffe026e7ac113f619adf4db7561312bf4c72e (patch)
treedc4726089f873a4a53fe5c566b97212304e07983 /httemplate
parent6884c3436738cb0b7682b642097716fe2ac5a4e1 (diff)
RT#32226: Disable bulk order link under provisioning link for svc_phone
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/view/cust_main/packages/services.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/packages/services.html b/httemplate/view/cust_main/packages/services.html
index d7644b7de..39055f49a 100644
--- a/httemplate/view/cust_main/packages/services.html
+++ b/httemplate/view/cust_main/packages/services.html
@@ -10,6 +10,7 @@ function clearhint_search_cust_svc(obj, str) {
}
</SCRIPT>
+% my $showdidlink = browse_received_did_inventory($cust_pkg->custnum);
% foreach my $part_svc (
% $cust_pkg->part_svc(
% 'summarize_size' => $opt{'cust_pkg-large_pkg_size'},
@@ -97,7 +98,7 @@ function clearhint_search_cust_svc(obj, str) {
% local $opt{'num_avail'} = $part_svc->num_avail;
<BR><% svc_provision_link($cust_pkg, $part_svc, \%opt, $curuser) %>
% }
-% if (browse_received_did_inventory($cust_pkg->custnum)) {
+% if ($showdidlink) {
<BR><A HREF="<%$p%>browse/did_order.html?custnum=<%$cust_pkg->custnum%>"><% mt('Browse Received DID Inventory') |h %></A>
% }
% }