VirtueMart Forum

VirtueMart 2 + 3 => General Questions => Topic started by: dylanphelan on January 07, 2022, 14:53:01 pm

Title: VAT not showing on invoices
Post by: dylanphelan 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?

Title: Re: VAT not showing on invoices
Post by: Studio 42 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
Title: Re: VAT not showing on invoices
Post by: dylanphelan 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.

    
Title: Re: VAT not showing on invoices
Post by: dylanphelan 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
Title: Re: VAT not showing on invoices
Post by: jenkinhill 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.
Title: Re: VAT not showing on invoices
Post by: dylanphelan 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.
Title: Re: VAT not showing on invoices
Post by: dylanphelan 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.
Title: Re: VAT not showing on invoices
Post by: dylanphelan 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?


(https://www.ecohub.co.za/vat.jpg)
Title: Re: VAT not showing on invoices
Post by: dylanphelan on January 07, 2022, 19:24:50 pm
Also tried disabling rupostel OPC using default checkout..
didn't solve the issue.
Title: Re: VAT not showing on invoices
Post by: dylanphelan 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')) { ?>
Title: Re: VAT not showing on invoices
Post by: dylanphelan on January 07, 2022, 21:18:55 pm
Sorted

Just had to enable "show tax in cart" in vmconfig / pricing
Title: Re: VAT not showing on invoices
Post by: Studio 42 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 ...