projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove obsolete usage of payby config, western union payments, etc., RT#23741
[freeside.git]
/
httemplate
/
view
/
cust_main
/
packages
/
services.html
diff --git
a/httemplate/view/cust_main/packages/services.html
b/httemplate/view/cust_main/packages/services.html
index
d7644b7
..
39055f4
100644
(file)
--- 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>
}
</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'},
% 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) %>
% }
% 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>
% }
% }
<BR><A HREF="<%$p%>browse/did_order.html?custnum=<%$cust_pkg->custnum%>"><% mt('Browse Received DID Inventory') |h %></A>
% }
% }