[Skip to main content](#vessel-content)

#   Modification facture

##

- **[romain24](/forum/user/34525-romain24 "View romain24's Profile")**
- [![romain24's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34525-romain24 "View romain24's Profile") Topic Author
- [ Offline](/forum/user/34525-romain24)

Less More

- Posts: 19
- Thank you received: 1
-
-

11 years 6 months ago [\#199707](#199707) by [romain24](/forum/user/34525-romain24 "View romain24's Profile")  *[Modification facture](/forum/5-support-en-francais-french-support-/876581-modification-facture#199707 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Bonjour Je me débrouille (avec mes connaissances limitées en html et php ) pour ajouter du texte dans les factures en modifiant la vue &quot;invoice&quot; mais pour ajouter le HT je galére , un topic abordait ce sujet mais je ne le retrouve pas ! Est il prévu dans Hikashop une option qui permettra d'avoir dans les factures le détail et le montant HT avant la TVA et le total TTC ?")* was created by *[romain24](/forum/user/34525-romain24 "View romain24's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1

Bonjour
Je me débrouille (avec mes connaissances limitées en html et php ) pour ajouter du texte dans les factures en modifiant la vue "invoice" mais pour ajouter le HT je galére , un topic abordait ce sujet mais je ne le retrouve pas !
Est il prévu dans Hikashop une option qui permettra d'avoir dans les factures le détail et le montant HT avant la TVA et le total TTC ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc2NTgxLW1vZGlmaWNhdGlvbi1mYWN0dXJlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 6 months ago [\#199713](#199713) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Modification facture](/forum/5-support-en-francais-french-support-/876581-modification-facture#199713 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Bonjour Je me débrouille (avec mes connaissances limitées en html et php ) pour ajouter du texte dans les factures en modifiant la vue &quot;invoice&quot; mais pour ajouter le HT je galére , un topic abordait ce sujet mais je ne le retrouve pas ! Est il prévu dans Hikashop une option qui permettra d'avoir dans les factures le détail et le montant HT avant la TVA et le total TTC ?")*

Bonjour,

Vous pouvez simplement changer le code:
$this-&gt;order-&gt;order_subtotal

en:
$this-&gt;order-&gt;order_subtotal_no_vat

dans le fichier invoice.

Nous avons déjà beaucoup d'options, donc non. Mais c'est déjà le cas lorsque l'option "show taxed prices" est désactivée dans la configuration.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc2NTgxLW1vZGlmaWNhdGlvbi1mYWN0dXJlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[romain24](/forum/user/34525-romain24 "View romain24's Profile")**
- [![romain24's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34525-romain24 "View romain24's Profile") Topic Author
- [ Offline](/forum/user/34525-romain24)

Less More

- Posts: 19
- Thank you received: 1
-
-

11 years 6 months ago [\#199792](#199792) by [romain24](/forum/user/34525-romain24 "View romain24's Profile")  Replied by *[romain24](/forum/user/34525-romain24 "View romain24's Profile")* on topic *[Modification facture](/forum/5-support-en-francais-french-support-/876581-modification-facture#199792 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Bonjour Je me débrouille (avec mes connaissances limitées en html et php ) pour ajouter du texte dans les factures en modifiant la vue &quot;invoice&quot; mais pour ajouter le HT je galére , un topic abordait ce sujet mais je ne le retrouve pas ! Est il prévu dans Hikashop une option qui permettra d'avoir dans les factures le détail et le montant HT avant la TVA et le total TTC ?")*

Merci pour l'info qui modifie le sous total, en cherchant j'ai trouvé la solution pour modifier aussi le prix unitaire et le total de chaque article en HT ( norme française pour les factures ).
Question bête : Le plugin invoice pdf (que je n'ai pas pour l'instant !) reprend-il exactement le fichier invoice et donc mes modifications ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc2NTgxLW1vZGlmaWNhdGlvbi1mYWN0dXJlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 6 months ago [\#199823](#199823) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Modification facture](/forum/5-support-en-francais-french-support-/876581-modification-facture#199823 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Bonjour Je me débrouille (avec mes connaissances limitées en html et php ) pour ajouter du texte dans les factures en modifiant la vue &quot;invoice&quot; mais pour ajouter le HT je galére , un topic abordait ce sujet mais je ne le retrouve pas ! Est il prévu dans Hikashop une option qui permettra d'avoir dans les factures le détail et le montant HT avant la TVA et le total TTC ?")*

Bonjour,

Bonne question, le plugin à sa propre vue pour adapter au mieux l'affichage pour le format pdf, donc les modifications seront à envisager dans ce plugin aussi.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc2NTgxLW1vZGlmaWNhdGlvbi1mYWN0dXJlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[romain24](/forum/user/34525-romain24 "View romain24's Profile")**
- [![romain24's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34525-romain24 "View romain24's Profile") Topic Author
- [ Offline](/forum/user/34525-romain24)

Less More

- Posts: 19
- Thank you received: 1
-
-

11 years 6 months ago [\#199876](#199876) by [romain24](/forum/user/34525-romain24 "View romain24's Profile")  Replied by *[romain24](/forum/user/34525-romain24 "View romain24's Profile")* on topic *[Modification facture](/forum/5-support-en-francais-french-support-/876581-modification-facture#199876 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Bonjour Je me débrouille (avec mes connaissances limitées en html et php ) pour ajouter du texte dans les factures en modifiant la vue &quot;invoice&quot; mais pour ajouter le HT je galére , un topic abordait ce sujet mais je ne le retrouve pas ! Est il prévu dans Hikashop une option qui permettra d'avoir dans les factures le détail et le montant HT avant la TVA et le total TTC ?")*

OK merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc2NTgxLW1vZGlmaWNhdGlvbi1mYWN0dXJlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sps2i](/forum/user/8008-sps2i "View sps2i's Profile")**
- [![sps2i's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8008-sps2i "View sps2i's Profile")
- [ Offline](/forum/user/8008-sps2i)

Less More

- Posts: 20
- Thank you received: 0
-
-

11 years 2 months ago [\#212322](#212322) by [sps2i](/forum/user/8008-sps2i "View sps2i's Profile")  Replied by *[sps2i](/forum/user/8008-sps2i "View sps2i's Profile")* on topic *[Modification facture](/forum/5-support-en-francais-french-support-/876581-modification-facture#212322 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Bonjour Je me débrouille (avec mes connaissances limitées en html et php ) pour ajouter du texte dans les factures en modifiant la vue &quot;invoice&quot; mais pour ajouter le HT je galére , un topic abordait ce sujet mais je ne le retrouve pas ! Est il prévu dans Hikashop une option qui permettra d'avoir dans les factures le détail et le montant HT avant la TVA et le total TTC ?")*

Bonjour,

Je m'incruste un peu dans cette discussion. Dans "Invoice", voici le seul scriot ou est mentionné "$this-&gt;order-&gt;order_subtotal" :

&lt;?php
if($this-&gt;config-&gt;get('price_with_tax')){
echo $this-&gt;currencyHelper-&gt;format($this-&gt;order-&gt;order_subtotal,$this-&gt;order-&gt;order_currency_id);
}else{
echo $this-&gt;currencyHelper-&gt;format($this-&gt;order-&gt;order_subtotal_no_vat,$this-&gt;order-&gt;order_currency_id);
} ?&gt;

J'ai modifié la ligne 235 en changeant :
$this-&gt;order-&gt;order_subtotal

en:
$this-&gt;order-&gt;order_subtotal_no_vat
Mais ça ne change rien.

Que dois-je faire de plus ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc2NTgxLW1vZGlmaWNhdGlvbi1mYWN0dXJlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 2 months ago [\#212332](#212332) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Modification facture](/forum/5-support-en-francais-french-support-/876581-modification-facture#212332 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Bonjour Je me débrouille (avec mes connaissances limitées en html et php ) pour ajouter du texte dans les factures en modifiant la vue &quot;invoice&quot; mais pour ajouter le HT je galére , un topic abordait ce sujet mais je ne le retrouve pas ! Est il prévu dans Hikashop une option qui permettra d'avoir dans les factures le détail et le montant HT avant la TVA et le total TTC ?")*

Merci de ne pas créer plusieurs message pour la même question:
[ www.hikashop.com/forum/orders-management...-sur-la-facture.html](http://www.hikashop.com/forum/orders-management/878905-affichage-ligne-supplementaire-sur-la-facture.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc2NTgxLW1vZGlmaWNhdGlvbi1mYWN0dXJlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.290 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
