[freeside-commits] branch master updated. 51e073d4a71d2fb9b05187a1ee46c1749927305e

Jonathan Prykop jonathan at 420.am
Mon Jun 1 14:04:03 PDT 2015


The branch, master has been updated
       via  51e073d4a71d2fb9b05187a1ee46c1749927305e (commit)
      from  e31f65f8ccdf05837bd4dc9a003be02371526c32 (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 51e073d4a71d2fb9b05187a1ee46c1749927305e
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