X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages%2Fservices.html;h=39055f49ab34323c55e467b17afb506f34c2eeb4;hp=d7644b7de7c2424b75d3e225440a79eb6010dde5;hb=51e073d4a71d2fb9b05187a1ee46c1749927305e;hpb=e31f65f8ccdf05837bd4dc9a003be02371526c32
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) {
}
+% 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;
<% svc_provision_link($cust_pkg, $part_svc, \%opt, $curuser) %>
% }
-% if (browse_received_did_inventory($cust_pkg->custnum)) {
+% if ($showdidlink) {
<% mt('Browse Received DID Inventory') |h %>
% }
% }