Hi,
I have 2 different Tax-rates (7% and 19& --> VatTax) in my shop. Some products have 19%, the others 7%.
How can I display the different taxes (as totals, because I need to get brutto total of each) at the end of my PDF invoice (= Tax-Details).
(This was in VM1 with name of "Enable multiple tax rates").
I've added the following code at the end of invoice_items.php:
<?php echo $this->orderDetails['details']['BT']->order_billTax; ?>
After that, the whole database-field "order_billTax" is displayed at the end of the invoice (This is an example):
{"4":{"virtuemart_calc_id":4,"calc_name":"MwSt. 7%","calc_value":"7.0000","result":0.1498133},"3":{"virtuemart_calc_id":3,"calc_name":"MwSt. 19%","calc_value":"19.0000" ,"result":0.7904}}
I only want to show "MwSt. 7%", "0.1498133", "MwSt. 19%" und "0.7904" (the calc_names and the results)!
How can I echo only specific parts of this array?
Does anyone know how to do this?
Thank you!