[freeside-commits] branch master updated. 5836246bfede18c0e2eb616e0a18a296b167b98a
Jeremy Davis
jeremyd at 420.am
Fri Nov 21 08:02:17 PST 2014
The branch, master has been updated
via 5836246bfede18c0e2eb616e0a18a296b167b98a (commit)
from 5a61f2f2e84350b0592fcf81feca02e82b73cc7f (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 5836246bfede18c0e2eb616e0a18a296b167b98a
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Fri Nov 21 11:02:08 2014 -0500
Ticket #32237 Purchase additional package is not completely disabled by the menu item
diff --git a/fs_selfservice/FS-SelfService/cgi/customer_order_pkg.html b/fs_selfservice/FS-SelfService/cgi/customer_order_pkg.html
index 5fcf77f..f16de77 100755
--- a/fs_selfservice/FS-SelfService/cgi/customer_order_pkg.html
+++ b/fs_selfservice/FS-SelfService/cgi/customer_order_pkg.html
@@ -1,5 +1,11 @@
<%= include('header', 'Purchase additional package') %>
-<%= include('order_pkg') %>
+<%= if (grep $_ eq 'Purchase additional package', @menu_disable){
+ $OUT .= "This functionality has been disabled";
+} else {
+
+include('order_pkg')
+
+} %>
<%= include('footer') %>
-----------------------------------------------------------------------
Summary of changes:
fs_selfservice/FS-SelfService/cgi/customer_order_pkg.html | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list