1564 I want invoices to show BOTH the prevat price and the with vat price. The product information shows both, but this does not carry through to the cart and invoice. Sorry to be a dummy, I have looked extensively and cant't find info on how to do this or if someone could do it for me- many thanks Phil
Try something like below. Remember to back up files and database first.
Find the following in admin/controller/sale/order.php
And add the following just above.
In admin/view/template/sale/order_invoice.tpl change.
To.
Find the following in admin/controller/sale/order.php
Code: Select all
'price' => $this->currency->format($product['price'] + ($this->config->get('config_tax') ? $product['tax'] : 0), $order_info['currency_code'], $order_info['currency_value']),
'total' => $this->currency->format($product['total'] + ($this->config->get('config_tax') ? ($product['tax'] * $product['quantity']) : 0), $order_info['currency_code'], $order_info['currency_value'])
Code: Select all
'price_ex' => $this->currency->format($product['price'], $order_info['currency_code'], $order_info['currency_value']),
'total_ex' => $this->currency->format($product['total'], $order_info['currency_code'], $order_info['currency_value']),
Code: Select all
<td align="right"><?php echo $product['price']; ?></td>
<td align="right"><?php echo $product['total']; ?></td>
Code: Select all
<td align="right"><?php echo $product['price_ex']; ?> <?php echo $product['price']; ?></td>
<td align="right"><?php echo $product['total_ex']; ?> <?php echo $product['total']; ?></td>
Who is online
Users browsing this forum: No registered users and 3 guests