summaryrefslogtreecommitdiff
path: root/httemplate/edit/quick-charge.html
diff options
context:
space:
mode:
authorFernando Kiernan <fkiernan@id.net.ar>2014-01-18 14:23:53 -0300
committerIvan Kohler <ivan@freeside.biz>2014-01-18 22:07:02 -0800
commitd5325247a6be930a0a3799795e10853fc057e37c (patch)
tree89320a8803c07257508755592128f880c4a7437e /httemplate/edit/quick-charge.html
parentbb6ff4c824ea551497def573a548035238980ed5 (diff)
- Fix Quick charge page.
Diffstat (limited to 'httemplate/edit/quick-charge.html')
-rw-r--r--httemplate/edit/quick-charge.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html
index 7b88bcce9..0db154337 100644
--- a/httemplate/edit/quick-charge.html
+++ b/httemplate/edit/quick-charge.html
@@ -446,6 +446,7 @@ if ( $cgi->param('classnum') =~ /^(\d+)$/ ) {
}
my $part_pkg;
+my $billed = 0;
if ( $cust_pkg ) { # set defaults
$part_pkg = $cust_pkg->part_pkg;
@@ -457,8 +458,7 @@ if ( $cust_pkg ) { # set defaults
push @description, $part_pkg->option("additional_info$i",1);
}
}
+ $billed = $cust_pkg->get('setup') ? 1 : 0;
}
-my $billed = $cust_pkg->get('setup') ? 1 : 0;
-
</%init>