(B<pkg> through B<edate>) are filled in.
=item invnum - invoice number
+
=item custnum - customer number
+
=item _date - invoice date
+
=item charged - total invoice amount
+
=item first - customer first name
+
=item last - customer first name
+
=item company - company name
+
=item address1 - address line 1
+
=item address2 - address line 1
+
=item city
+
=item state
+
=item zip
+
=item country
=item pkg - line item description
-=item setup - line item setup fee (only or both of B<setup> and B<recur> will be defined)
-=item recur - line item recurring fee (only or both of B<setup> and B<recur> will be defined)
+
+=item setup - line item setup fee (one or both of B<setup> and B<recur> will be defined)
+
+=item recur - line item recurring fee (one or both of B<setup> and B<recur> will be defined)
+
=item sdate - start date for recurring fee
+
=item edate - end date for recurring fee
=back
my @invoicing_list = grep { $_ ne 'POST' } $cust_main->invoicing_list;
if ( $conf->exists('emailinvoiceauto')
|| ( $conf->exists('emailinvoiceonly') && ! @invoicing_list ) ) {
- push @invoicing_list, $cust_main->default_invoicing_list;
+ push @invoicing_list, $cust_main->all_emails;
}
my $email = $invoicing_list[0];
=head1 VERSION
-$Id: cust_bill.pm,v 1.42 2002-09-10 03:31:00 ivan Exp $
+$Id: cust_bill.pm,v 1.44 2002-09-17 00:40:07 ivan Exp $
=head1 BUGS