summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authormark <mark>2010-08-19 19:11:45 +0000
committermark <mark>2010-08-19 19:11:45 +0000
commit4117c20f85ce085d7dd42b8970ce9c65b95d7e27 (patch)
tree8654b1cb481095ce4a1daf2d9c3ea1c9dceba7b7 /httemplate/misc
parentbb617fa9977d6886ac930d7a97e9221b33899474 (diff)
part_pkg prorate mixin and sync_bill_date option, RT#9554
Diffstat (limited to 'httemplate/misc')
-rw-r--r--httemplate/misc/order_pkg.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html
index 33b2bb390..2511a3deb 100644
--- a/httemplate/misc/order_pkg.html
+++ b/httemplate/misc/order_pkg.html
@@ -128,7 +128,11 @@ my $cust_main = qsearchs({
my $pkgpart = scalar($cgi->param('pkgpart'));
my $format = $date_format. ' %T %z (%Z)'; #false laziness w/REAL_cust_pkg.cgi?
-my $start_date = $cust_main->next_bill_date;
-$start_date = $start_date ? time2str($format, $start_date) : '';
+my $start_date = '';
+if(! $conf->exists('order_pkg-no_start_date') ) {
+ warn "foo";
+ $cust_main->next_bill_date;
+ $start_date = $start_date ? time2str($format, $start_date) : '';
+}
</%init>