X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages%2Fsection.html;h=fe9f283c7df8f02ec086b40f55bc4e192307e053;hb=3e9a428cbc8abd4af6fea8eb828126519b43198b;hp=e38c34fe8199a3a0e4239fa22900146fe7f3025b;hpb=ad3bcb39580173f0ac1b6357cb49515d48af7ddf;p=freeside.git diff --git a/httemplate/view/cust_main/packages/section.html b/httemplate/view/cust_main/packages/section.html index e38c34fe8..fe9f283c7 100755 --- a/httemplate/view/cust_main/packages/section.html +++ b/httemplate/view/cust_main/packages/section.html @@ -1,4 +1,5 @@ % if ( @$packages ) { + % #my $width = $show_location ? 'WIDTH="25%"' : 'WIDTH="33%"'; <% mt('Package') |h %> @@ -8,6 +9,7 @@ <% mt('Services') |h %> % } + % #$FS::cust_pkg::DEBUG = 2; % foreach my $cust_pkg (@$packages) { @@ -21,7 +23,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 @@ -116,6 +118,7 @@ my %conf_opt = ( #for status.html 'cust_pkg-show_autosuspend' => $conf->exists('cust_pkg-show_autosuspend'), 'pkg_attached' => $pkg_attached, + 'part_pkg-delay_cancel-days' => $conf->config('part_pkg-delay_cancel-days') || 1, #for status.html pkg-balances 'pkg-balances' => $conf->exists('pkg-balances'), 'money_char' => ( $conf->config('money_char') || '$' ),