diff options
author | Mark Wells <mark@freeside.biz> | 2015-04-28 11:30:59 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-04-28 11:30:59 -0700 |
commit | d129179308646fb4eba078f1afe1fa2ddad51fbb (patch) | |
tree | b41f4717ee1d59bf17aff5b2f96ae29053eaad31 /httemplate/view/cust_main/packages | |
parent | babd7a6af0d1853ca0df76c6773f1383766344b6 (diff) |
fix syntax errors
Diffstat (limited to 'httemplate/view/cust_main/packages')
-rwxr-xr-x | httemplate/view/cust_main/packages/section.html | 2 | ||||
-rw-r--r-- | httemplate/view/cust_main/packages/status.html | 2 |
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 e38c34fe8..ce965c56a 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 3515b38e1..5dbffb2f0 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"), ''); |