In delivery.pdf.php, this line is not correct:
Code: Select all
$price_with_tax['sum'] = $db->f('product__price') * $db->f('product_quantity_delivered');
- wrong including price summary,
- wrong VAT per unit;
- wrong VAT total;
- wrong total amount of the invoice.
I modified the code this way:
Code: Select all
$price_with_tax['sum'] = $db->f('product_item_price') *[TAX RATE OF YOUR COUTRY]* $db->f('product_quantity_delivered');
Hope this helps
