Hi Guys,
I need to add a column to show individual items TAX i.e
ITEM PRICE TAX TOTAL
Product 1 £100.00 £20.00 £120.00
How would I be able to pull the individual tax of an item to show on the invoice.
Thanks for your help.
Dale
crafter
2
First, you need to set the tax rate against the product on the product edit form.
The values are stored on the table ‘ip_invoice_item_amounts’, (see mdl_items.php)
So, to see the item tax values
foreach ($items as $item) {
echo format_currency($item->[item_tax_rate_name]);
echo format_currency($item->[item_tax_rate_percent]);
echo format_currency($item->[item_tax_total]);
}
HINT: You will have to integrate this code into your template.
1 Like