summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/packages
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-04-28 11:30:59 -0700
committerMark Wells <mark@freeside.biz>2015-04-28 11:30:59 -0700
commitd129179308646fb4eba078f1afe1fa2ddad51fbb (patch)
treeb41f4717ee1d59bf17aff5b2f96ae29053eaad31 /httemplate/view/cust_main/packages
parentbabd7a6af0d1853ca0df76c6773f1383766344b6 (diff)
fix syntax errors
Diffstat (limited to 'httemplate/view/cust_main/packages')
-rwxr-xr-xhttemplate/view/cust_main/packages/section.html2
-rw-r--r--httemplate/view/cust_main/packages/status.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/packages/section.html b/httemplate/view/cust_main/packages/section.html
index e38c34f..ce965c5 100755
--- a/httemplate/view/cust_main/packages/section.html
+++ b/httemplate/view/cust_main/packages/section.html
@@ -21,7 +21,7 @@
no_services
)),
#for status.html
- 'has_cust_payby_auto' => $cust_main->has_cust_payby_auto,
+ 'has_cust_payby_auto' => $opt{cust_main}->has_cust_payby_auto,
&>
% }
% } else { # there are no packages
diff --git a/httemplate/view/cust_main/packages/status.html b/httemplate/view/cust_main/packages/status.html
index 3515b38..5dbffb2 100644
--- a/httemplate/view/cust_main/packages/status.html
+++ b/httemplate/view/cust_main/packages/status.html
@@ -495,7 +495,7 @@ sub pkg_status_row_detached {
sub pkg_status_row_noauto {
my( $cust_pkg, %opt ) = @_;
- return '' unless ( $cust_pkg->no_auto || $opt{'part_pkg'}->no_auto );
+ return '' unless ( $cust_pkg->no_auto || $opt{'part_pkg'}->no_auto )
&& $opt{'has_cust_payby_auto'};
pkg_status_row_colspan( $cust_pkg, emt("No automatic charge"), '');