bobdonkey Posted September 6, 2015 Share Posted September 6, 2015 When the customer views orders, VAT is shown. When they click on Print Invoice at the bottom of the page, no VAT is shown, therefore it is not a valid VAT receipt.Can this be resolved please? Quote Link to comment Share on other sites More sharing options...
fldavidallsop Posted September 6, 2015 Share Posted September 6, 2015 Which skin are you using? Quote Link to comment Share on other sites More sharing options...
bobdonkey Posted September 6, 2015 Author Share Posted September 6, 2015 Default foundation.Does anyone else see this issue? Quote Link to comment Share on other sites More sharing options...
fldavidallsop Posted September 6, 2015 Share Posted September 6, 2015 When I have created skins in the past I have included that into the print.receipt.php template, it maybe the variable which displays this is missing for whatever reason in the foundation skin, try looking for tax or vat in that file on the other skins and copying the code which displays that information across to your foundation skin, I know I've used it before. I would get it for you but I'm replying on my phone so can't download the files to check at the moment. Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 6, 2015 Share Posted September 6, 2015 In the Foundation template file print.receipt.php, near line 96:Change from: {foreach from=$TAXES item=tax} To: {foreach from=$order.taxes item=tax}Also, near line 103:Change from: {if $DISCOUNT} To: {if isset($order.discount_type)} Quote Link to comment Share on other sites More sharing options...
bobdonkey Posted September 7, 2015 Author Share Posted September 7, 2015 Thanks bsmither, I tried that already but must have done it wrong, yes that has sorted it, thanks. Do you want to log this as a bug? Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted September 8, 2015 Share Posted September 8, 2015 Reported as https://github.com/cubecart/v6/issues/797Ian Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.