Tax Not Shown In Control Panel

  • Posts: 440
  • Thank you received: 20
  • Hikashop Essential
10 years 10 months ago #138881

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 3.21
-- PHP version -- : 5.3.22


I have a small issue with the diplay of tax/vat in customer invoices.

One order has products zero rated with shipping which is subject to VAT. The emails contain the correct information. But if I view the invoice in the control panel on the front end the tax is not displayed although it is calculated in the price. Not sure if I have missed something in the configuration or customisation is required to the display/views?

If there are taxable products in the order the VAT etc is shown.

I have attached 2 screenshots to clarify the point.

Thanks

Dave



Attachments:
Last edit: 10 years 10 months ago by davec.

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
10 years 10 months ago #138900

Hi,

Thanks for the feedback. That's indeed a bug.
Replace the line:

$taxes = $this->order->order_subtotal-$this->order->order_subtotal_no_vat;
by the line:
$taxes = $this->order->order_subtotal-$this->order->order_subtotal_no_vat+$this->order->order_shipping_tax-$this->order->order_discount_tax;
in the file "show" of the view "order" for your frontend template and that will fix the problem.
We'll include that in next version.

The following user(s) said Thank You: davec

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

  • Posts: 440
  • Thank you received: 20
  • Hikashop Essential
10 years 10 months ago #139006

Thanks Nicolas

I need a little further assistance.

I would like to show the tax column per line like the attachment. This would also need to be visible on the invoice that is printed as well as the view in the control panel.

Is it possible to achieve this and if so how?






Thanks

Dave B)

Attachments:
Last edit: 10 years 10 months ago by davec.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 10 months ago #139040

Hi,

You will have to customize some backend views.
like "order / invoice", "order / show" and the desired value is "order_product_tax"

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

  • Posts: 440
  • Thank you received: 20
  • Hikashop Essential
10 years 10 months ago #139044

Thanks Xavier

can you please provide a code example and a rough guide to where this may be placed?

Dave B)

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

  • Posts: 440
  • Thank you received: 20
  • Hikashop Essential
10 years 10 months ago #139048

I would just like to clarify further what I need to achieve. This is for the invoice and also the invoice/order in the customer control panel A further screen shot is attached.





Product invoices need to clearly show what has and hasn't bee charged VAT/TAX. as per this example at the HMRC website.

I would have thought possibly that this may have been raised before by another user but could be wrong of course.

Thanks

Dave

Attachments:

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
10 years 10 months ago #139137

No one asked that so far since you already already display the prices with and without taxes by changing the "show taxed prices" option of the configuration to "both". That way, the user really knows how much tax is charged for each product.

Now if you want to display that differently like in your screenshots, you'll have to have a developer do that for you in the view file we told you.

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

  • Posts: 440
  • Thank you received: 20
  • Hikashop Essential
10 years 10 months ago #139149

Hi Nicolas

Can you please advise is this somethig you can do for me and what would be the cost?


Thanks

Dave

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

  • Posts: 13201
  • Thank you received: 2322
10 years 10 months ago #139170

Hi,

Thanks to use the contact form in order to ask for a quote.
Else you can post your request in the "commercial jobs" section of this forum.

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

Time to create page: 0.104 seconds
Powered by Kunena Forum