[freeside-commits] branch FREESIDE_3_BRANCH updated. 5d6ffe026e7ac113f619adf4db7561312bf4c72e

Jonathan Prykop jonathan at 420.am
Mon Jun 1 14:22:50 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  5d6ffe026e7ac113f619adf4db7561312bf4c72e (commit)
      from  6884c3436738cb0b7682b642097716fe2ac5a4e1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5d6ffe026e7ac113f619adf4db7561312bf4c72e
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Mon Jun 1 16:03:29 2015 -0500

    RT#32226: Disable bulk order link under provisioning link for svc_phone

diff --git a/httemplate/view/cust_main/packages/services.html b/httemplate/view/cust_main/packages/services.html
index d7644b7..39055f4 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> 
 %           }
 %       }

-----------------------------------------------------------------------

Summary of changes:
 httemplate/view/cust_main/packages/services.html |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list