Generates an HTML table display for the lineitems attched to this invoice.

Optionally can generate the totals for this invoice and display those as well.

Syntax:

o.htmllineitems(lnLinkMode, llTotals, lcForeign, lcShipDisks)
Return: HTML string
Parameters: lnLinkMode
Determines how the list is rendered:
0 - no links (used on the confirmation page
1 - Web browser control view using VFPS:// tags
2 - Web Links (used on the Shopping cart page)

Generally you'll want mode 2.

llTotals
Set to .t. if you want subtotal, tax. shipping and grand totals

lcForeign
Country code for this order (US, CA, MX, etc.)

lcShipDisks
On or Off

See also:

Class cinvoice

Updated: 06/01/03 | Send topic feedback