Prices ex vat on pdf invoice

  • Posts: 19
  • Thank you received: 1
  • Hikashop Business
1 day 5 hours ago #364570

-- url of the page with the problem -- : www.ubuntushop.biz
-- HikaShop version -- : 5.1.1
-- Joomla version -- : 5.1
-- PHP version -- : 8.3

I need to add subtotal price without vat on the pdf invoice.
How can I do that. Or I am misshing some setting?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82823
  • Thank you received: 13370
  • MODERATOR
1 day 1 hour ago #364574

Hi,

Well, if you set the "show taxed price" setting of the HikaShop configuration to "no tax", the plugin will take it into account and display the price of the product as well as the subtotal without taxes on the PDF.

Now, you can copy the file of your layout from plugins/hikashop/attachinvoice/attachinvoice/ to media/com_hikashop/plugins/ via FTP and modify the layout to change only the subtotal.
There, you can change the line:

echo $currencyHelper->format($order->order_subtotal,$order->order_currency_id);
to:
echo $currencyHelper->format($order->order_subtotal_no_vat,$order->order_currency_id);

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 1
  • Hikashop Business
1 day 25 minutes ago #364588

ok, but I have to show the prices in the shop with tax (or with and ex vat)
But only for the pdf invoice i need the unit prices without vat and the subtotal ex vat.
Then the total with vat (as it is now)
And for the no eu-countries there is no vat.
Like this:
unit price: 20 (is without vat)
subtotal ex vat: 20
vat: 4.2
total: 24.2
probably i need to change in plugins/hikashop/attachinvoice/attachinvoice/corporate_invoice.php
But only a subtotal without vat should be good for me.

Last edit: 1 day 14 minutes ago by duportail.

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum