% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
Returns the package (see FS::cust_pkg) for this invoice line item.
Returns the package definition for this invoice line item.
Returns the fee definition for this line item, if there is one.
Returns "part_pkg" or "part_fee", whichever is applicable (or nothing, if called on a tax line item).
Returns a description for this line item. For typical line items, this is the pkg field of the corresponding FS::part_pkg object (see FS::part_pkg). For one-shot line items and named taxes, it is the itemdesc field of this line item, and for generic taxes, simply returns "Tax".
Returns a formatted time period for this line item.
Returns an array of detail information for the invoice line item.
Options may include:
format: set to 'html' or 'latex' to have the detail lines formatted for inclusion in an HTML table (wrapped in <tr> and <td> elements) or LaTeX table (delimited with & and \\ operators).
escape_function: if present, then the array elements are processed by this function before being returned.
format_function: overrides the normal HTML or LaTeX function for returning formatted CDRs.
no_usage: excludes call detail records. The method will still return some special-case records like prorate details, and manually created package details.
Returns a list representing an invoice line item detail header, if any. This relies on the behavior of voip_cdr in that it expects the header to be the first CSV formatted detail (as is expected by invoice generation routines). Returns the empty list otherwise.
Returns an array of display information for the invoice line item optionally limited to 'TYPE'.
Returns the list of associated cust_bill_pkg_detail objects The optional CLASSNUM argument will limit the details to the specified usage class.
Returns the list of associated cust_bill_pkg_discount or quotation_pkg_discount objects.
Hey! The above document had some coding errors, which are explained below:
'=item' outside of any '=over'
=over without closing =back