Ticket #32237 Purchase additional package is not completely disabled by the menu...
[freeside.git] / fs_selfservice / FS-SelfService / cgi / customer_order_pkg.html
index c01b6b3..f16de77 100755 (executable)
@@ -1,10 +1,11 @@
-<HTML><HEAD><TITLE>MyAccount</TITLE></HEAD>
-<BODY BGCOLOR="#eeeeee"><FONT SIZE=5>MyAccount</FONT><BR><BR>
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<%= include('myaccount_menu') %>
-<TD VALIGN="top">
-<%= include('order_pkg') %>
-</TD></TR></TABLE>
-<HR>
-<FONT SIZE="-2">powered by <a href="http://www.sisd.com/freeside">freeside</a></FONT>
-</BODY></HTML>
+<%= include('header', 'Purchase additional package') %>
+
+<%= if (grep $_ eq 'Purchase additional package', @menu_disable){
+        $OUT .= "This functionality has been disabled";
+} else { 
+
+include('order_pkg') 
+
+} %>
+
+<%= include('footer') %>