projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09cc60b
)
don't set %item_dates for custom invoice formats if package option disable_line_item_...
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 27 Dec 2012 00:13:09 +0000
(16:13 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 27 Dec 2012 00:13:09 +0000
(16:13 -0800)
FS/FS/cust_bill.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
1d7dca5
..
e8fb61d
100644
(file)
--- a/
FS/FS/cust_bill.pm
+++ b/
FS/FS/cust_bill.pm
@@
-4997,7
+4997,9
@@
sub _items_cust_bill_pkg {
# start/end dates for invoice formats that do nonstandard
# things with them
- my %item_dates = map { $_ => $cust_bill_pkg->$_ } ('sdate', 'edate');
+ my %item_dates = ();
+ %item_dates = map { $_ => $cust_bill_pkg->$_ } ('sdate', 'edate')
+ unless $cust_pkg->part_pkg->option('disable_line_item_date_ranges',1);
if ( (!$type || $type eq 'S')
&& ( $cust_bill_pkg->setup != 0