X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_bill.pm;h=8cc39ad50aacba6be4b8a5c507eef9eb4faeb5d8;hp=7b05cadfa6188f1adb9ddaaa21d3ac590df06fcd;hb=8ab105cd64ac310f567d0ef6d4f662069a6adb65;hpb=a8be11120336b0f1a8565f4abe4758f8211e1f5a diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 7b05cadfa..8cc39ad50 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -557,19 +557,27 @@ sub apply_payments_and_credits { } -=item generate_email PARAMHASH +=item generate_email OPTION => VALUE ... -PARAMHASH can contain the following: +Options: =over 4 -=item from => sender address, required +=item from -=item tempate => alternate template name, optional +sender address, required -=item print_text => text attachment arrayref, optional +=item tempate -=item subject => email subject, optional +alternate template name, optional + +=item print_text + +text attachment arrayref, optional + +=item subject + +email subject, optional =back @@ -2664,8 +2672,8 @@ sub _items_cust_bill_pkg { my $description = $desc; unless ( $conf->exists('disable_line_item_date_ranges') ) { - $desc .= " (" . time2str("%x", $cust_bill_pkg->sdate). - " - ". time2str("%x", $cust_bill_pkg->edate). ")"; + $description .= " (" . time2str("%x", $cust_bill_pkg->sdate). + " - ". time2str("%x", $cust_bill_pkg->edate). ")"; } #at least until cust_bill_pkg has "past" ranges in addition to