CITATION
Here is a very simple contribution that I wrote for my store, and I figured I should give back to the community for all the great contributions I have grabbed in the past.

My store displays simple pricing - i.e. just one price is input, which includes VAT (or Tax). I therefore do not use OSC tax options on anything.

So when we get to the invoice, I have a Sub-Total, Postage/Shipping, and a Total. All of this is done by the order totals class.

What I have produced here is a fix that will go and find the numeric value of the customers order total, display this (if you wish) seperately to the shipping and sub-total (just uncomment the line) and then work out the VAT content of that total and display it.

Works fine with any tax rate, just change 0.175 to your desired rate.

Link to Contribution: http://www.oscommerce.com/community/contributions,4848


Salut à vous,

Je viens enfin de trouver la contrib que j'attendais secrètement depuis longtemps smile.gif

Cette contrib permet d'afficher une ligne supplémentaire dans la facture qui ajoute le "Total TVA" =(TVA du produit + TVA de la livraison)

Ca marche nickel juste que pour les factures en hors taxe, la ligne de TVA apparait quand même!!!!????

question.gif Je voudrais juste désactiver cette ligne de TVA pour les paiements hors taxes!!!

Merci à vous, si vous voulez, pouvez, savez ou si vous avez aussi besoin d'apporter cette nouvelle possibilité idea.gif

PS : j'ai aussi posté un topic sur le site US : http://forums.oscommerce.com/index.php?s=&...t&p=1027051