Author Topic: VAT not showing on invoices  (Read 931 times)

dylanphelan

  • Jr. Member
  • **
  • Posts: 138
VAT not showing on invoices
« on: January 07, 2022, 14:53:01 pm »
Hi.

Last night I reduced all my prices by 15%, then created a rule which adds 15% VAT.

This worked perfectly, the correct VAT amount shows on on the checkout page. The invoice also shows the correct order total.

However, just below the order total on the order that is emailed, it shows:

VAT @ 15% - then it is blank next to that. It doesn't show the VAT amount, although the correct VAT amount was included in the total.

any ideas?


Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4655
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: VAT not showing on invoices
« Reply #1 on: January 07, 2022, 16:17:51 pm »
try another template, perhaps you have  a problem with the html overide ?
protostar is a Joomla core template in front and have no overide by default

dylanphelan

  • Jr. Member
  • **
  • Posts: 138
Re: VAT not showing on invoices
« Reply #2 on: January 07, 2022, 16:26:47 pm »
try another template, perhaps you have  a problem with the html overide ?
protostar is a Joomla core template in front and have no overide by default

I can't go an change templates because of this small issue.

Surely it's not the joomla template. VAT shows on the order confirmation page.

It's an issue with the order email / invoice which is generated.

    

dylanphelan

  • Jr. Member
  • **
  • Posts: 138
Re: VAT not showing on invoices
« Reply #3 on: January 07, 2022, 16:42:38 pm »
or do you mean you can use protostar as an override just for the VM invoice template?
am looking for this option

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28336
  • Always on vacation
    • Jenkin Hill Internet
Re: VAT not showing on invoices
« Reply #4 on: January 07, 2022, 16:57:22 pm »
We usually suggest trying with Protostar or VMBeez is so that the VM default templates will be used. For example, if you have an override set for invoice_items.php this could prevent the tax/type from showing on the invoice but would not affect other pages such as order confirmation.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

dylanphelan

  • Jr. Member
  • **
  • Posts: 138
Re: VAT not showing on invoices
« Reply #5 on: January 07, 2022, 17:05:54 pm »
We usually suggest trying with Protostar or VMBeez is so that the VM default templates will be used. For example, if you have an override set for invoice_items.php this could prevent the tax/type from showing on the invoice but would not affect other pages such as order confirmation.

Thanks - am trying to figure out how that is done.

dylanphelan

  • Jr. Member
  • **
  • Posts: 138
Re: VAT not showing on invoices
« Reply #6 on: January 07, 2022, 18:55:23 pm »
We usually suggest trying with Protostar or VMBeez is so that the VM default templates will be used. For example, if you have an override set for invoice_items.php this could prevent the tax/type from showing on the invoice but would not affect other pages such as order confirmation.

I've looked in through my template folder and don't see any VM invoice overrides.

Don't see any settings in VM that would help either.

dylanphelan

  • Jr. Member
  • **
  • Posts: 138
Re: VAT not showing on invoices
« Reply #7 on: January 07, 2022, 19:11:39 pm »
So, my template doesn't have invoice overrides...

could it have anything to do with the way VAT is set up?



dylanphelan

  • Jr. Member
  • **
  • Posts: 138
Re: VAT not showing on invoices
« Reply #8 on: January 07, 2022, 19:24:50 pm »
Also tried disabling rupostel OPC using default checkout..
didn't solve the issue.

dylanphelan

  • Jr. Member
  • **
  • Posts: 138
Re: VAT not showing on invoices
« Reply #9 on: January 07, 2022, 19:37:41 pm »
Looking at invoice_items.php

could anyone tell me what vm config settings this is

<?php if ( VmConfig::get('show_tax')) { ?>

dylanphelan

  • Jr. Member
  • **
  • Posts: 138
Re: VAT not showing on invoices
« Reply #10 on: January 07, 2022, 21:18:55 pm »
Sorted

Just had to enable "show tax in cart" in vmconfig / pricing

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4655
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: VAT not showing on invoices
« Reply #11 on: January 08, 2022, 20:36:45 pm »
The idea was to temp switch to e default template, verify and switch back.
But if it's solved ...