summaryrefslogtreecommitdiff
path: root/fs_selfservice
diff options
context:
space:
mode:
authorivan <ivan>2009-10-12 06:48:43 +0000
committerivan <ivan>2009-10-12 06:48:43 +0000
commite67b7f4bc312c27c09ffcc235aa93b2b78af89a6 (patch)
tree48a3514695f2b3cd84b1032b12774ff472fd8b5e /fs_selfservice
parenta375847f5b5e1316c0cb8b137e20ee3bb009a8c7 (diff)
fix inadvertant "unknown package" error, fallout from pkg-balance work, RT#6125
Diffstat (limited to 'fs_selfservice')
-rw-r--r--fs_selfservice/FS-SelfService/cgi/myaccount.html2
-rw-r--r--fs_selfservice/FS-SelfService/cgi/myaccount_menu.html6
2 files changed, 4 insertions, 4 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html
index d6527fe76..9b54794bc 100644
--- a/fs_selfservice/FS-SelfService/cgi/myaccount.html
+++ b/fs_selfservice/FS-SelfService/cgi/myaccount.html
@@ -4,7 +4,7 @@
Hello <%= $name %>!<BR><BR>
<%= $small_custview %>
<BR>
-<%= if ( $pkgnum ) {
+<%= if ( $access_pkgnum ) {
$OUT .= qq!Balance: <B>\$$balance</B><BR><BR>!;
}
'';
diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount_menu.html b/fs_selfservice/FS-SelfService/cgi/myaccount_menu.html
index 617ae3ebe..8765323fa 100644
--- a/fs_selfservice/FS-SelfService/cgi/myaccount_menu.html
+++ b/fs_selfservice/FS-SelfService/cgi/myaccount_menu.html
@@ -13,7 +13,7 @@ my @menu = (
{ title=>'Purchase', size=>'+1', },
);
-unless ( $pkgnum ) {
+unless ( $access_pkgnum ) {
push @menu,
{ title=>'Purchase additional package',
url=>'customer_order_pkg', 'indent'=>2 };
@@ -57,7 +57,7 @@ push @menu,
{ title=>'View my usage', url=>'view_usage', size=>'+1', },
;
-unless ( $pkgnum ) {
+unless ( $access_pkgnum ) {
push @menu,
{ title=>'Setup my services', url=>'provision', size=>'+1', },
;
@@ -69,7 +69,7 @@ push @menu,
push @menu,
{ title=>'Change my information', size=>'+1', };
-unless ( $pkgnum ) {
+unless ( $access_pkgnum ) {
push @menu,
{ title=>'Change billing address', url=>'change_bill', indent=>2 },
{ title=>'Change service address', url=>'change_ship', indent=>2 },