[freeside] no invoice_lines() functions in template?
Mike
mjojciotti at wavelinx.net
Thu Mar 13 17:58:36 PST 2003
----- Original Message -----
From: "David" <david at jetrentals.co.nz>
To: <ivan-freeside at sisd.com>
Sent: Wednesday, March 12, 2003 10:57 PM
Subject: [freeside] no invoice_lines() functions in template?
> Hi,
>
> I used the invoice_template from /freeside-1.4.0/conf/invoice_template
> as the invoice template for a test install of Freeside but get the
> following errors.
>
> > Errors Output
> >
> > 1.no invoice_lines() functions in template? at
> > /usr/lib/perl5/site_perl/5.6.1//FS/cust_bill.pm line 871. ,
> > /usr/lib/perl5/site_perl/5.6.1/Apache/ASP.pm line 1489
>
>
> The included invoice_template appears (read not a programmer) to
> contain a call to invoice_lines() as stated in the ../docs/billing.html
>
> I have trolled the mailing list archives but can't seen any postings
> that indicate what I have/haven't done correctly.
>
> If somebody could point me in the right direction I would appreciate it.
>
> Thanks.
>
> -David.
Make sure the following is included...particularly the invoice_lines
section. And make sure it is "contained" with the correct syntax.
Hope this helps.
------------start---------
{
join("\n",
map {
my ( $desc, $price ) = @{$_};
" ". substr( $desc. " "x60, 0, 60). " ". substr( $price. " "x11, 0,
11);
} invoice_lines(21)
);
}
----------end----------
Mike
ORCA-NET
More information about the freeside-users
mailing list