osCommerce France : Accueil Forum Portail osCommerce France Réponses aux questions Foire aux contributions

Bienvenue invité ( Connexion | Inscription )

 
Reply to this topicStart new topic
> "Total TVA" dans la facture (TVA produit + TVA livraison), Comment désactiver le "Total TVA" pour un taux de 0%
lateralus
posté 18 Feb 2007, 16:51
Message #1


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 80
Inscrit : 20-July 05
Lieu : Scionzier (74)
Membre no 6571



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


--------------------
Affichage sstotal HT, Bookmark, Browse by Categories 2.5, Category box enhancement, Contact us choice 1.0.1, Featured products 1.5.5.1, MultiGeoZone MultiTable Shipping 1.101, Os Active Desktop 2.3, Paymenttypes 1.2, Phpmyvisites 2.1, Session counter, Skype Contact 1.0, Stats products per month 1, Store Pick Up Version 1.4, Updated spiders.txt, Who's Online Enhancement 2.00, BackButtons, Google Analytics, stats_sales_csv_1.2, google_position_1.3, Customers List Improved 1.4, boxe defilante, add_button_back, xsell_v2.2_1, product_sort_v1.6, Description in Product Listing 2.5
Go to the top of the page
 

Reply to this topicStart new topic
1 utilisateur(s) sur ce sujet (1 invité(s) et 0 utilisateur(s) anonyme(s))
0 membre(s) :

 



RSS Version bas débit Nous sommes le : 19th June 2013 - 16:25
Ce site est déclaré auprès de la commision Nationale
de l'Informatique et des Libertés (déclaration n°: 1043896)