Hello there, im trying to make a quck fix to VM 2 invoice
i need to add the vat percent rate to the printing invoice per product . while the vm provides the end result of Vat calculation, i can't find any way on how to add that Vat 19% or 9% ( im working with multiple VAT's )
this is the code that generates the vat per product in invoice
<?php if ( VmConfig::get('show_tax')) { ?>
<td align="right" class="priceCol">
<?php echo "<span class='priceColor2'>".$this->currency->priceDisplay($item->product_tax ,$this->currency, $qtt)."</span>" ?></td>
<?php } ?>
and this is some code i found here on VM Forum, witch works amazing on Product page, but not in the invoice.
<?php $tax = $this->product->product_tax_id;$taxpct = $this->product->prices['Tax']; echo '( VAT'.($taxpct[$tax][1] + 0).'% )';?>
all i want is when the calc for vat applied per product , to show the percent that is applied in the invoice
i do hope im explaining this as best i can.
i'm no php savvy , and id be happy to take any help i can get .
( they have Joomla 2.5 and VM 2.0.20a , and the customer doesn't wanna update. )