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

#   Editer des factures avec les adresses de livraison

##

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

Less More

- Posts: 23
- Thank you received: 1
-
-

11 years 2 months ago [\#213754](#213754) by [Phane](/forum/user/38356-phane "View Phane's Profile")  *[Editer des factures avec les adresses de livraison](/forum/35-orders-management/879195-editer-des-factures-avec-les-adresses-de-livraison#213754 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.42  Bonjour  Est il possible d'éditer des factures avec l'adresse de facturation + l'adresse de livraison ?  Merci")* was created by *[Phane](/forum/user/38356-phane "View Phane's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.3.0
-- PHP version -- : 5.4.42

Bonjour

Est il possible d'éditer des factures avec l'adresse de facturation + l'adresse de livraison ?

Merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3OTE5NS1lZGl0ZXItZGVzLWZhY3R1cmVzLWF2ZWMtbGVzLWFkcmVzc2VzLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

11 years 2 months ago [\#213761](#213761) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Editer des factures avec les adresses de livraison](/forum/35-orders-management/879195-editer-des-factures-avec-les-adresses-de-livraison#213761 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.42  Bonjour  Est il possible d'éditer des factures avec l'adresse de facturation + l'adresse de livraison ?  Merci")*

Bonjour,

Oui bien sur.
C'est le cas par défaut lorsque vous avez sélectionné une adresse de facturation, une adresse de livraison et une méthode de livraison durant votre passage en caisse.
Si l'un de ces éléments n'a pas été sélectionné, alors cela ne s'affichera pas.

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

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

Less More

- Posts: 23
- Thank you received: 1
-
-

11 years 2 months ago [\#213800](#213800) by [Phane](/forum/user/38356-phane "View Phane's Profile")  Replied by *[Phane](/forum/user/38356-phane "View Phane's Profile")* on topic *[Editer des factures avec les adresses de livraison](/forum/35-orders-management/879195-editer-des-factures-avec-les-adresses-de-livraison#213800 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.42  Bonjour  Est il possible d'éditer des factures avec l'adresse de facturation + l'adresse de livraison ?  Merci")*

Merci

Il n'y a pas de choix de livraison dans le flux du passage en caisse de ma boutique. Est ce possible d'une autre manière ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3OTE5NS1lZGl0ZXItZGVzLWZhY3R1cmVzLWF2ZWMtbGVzLWFkcmVzc2VzLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

11 years 2 months ago [\#213813](#213813) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Editer des factures avec les adresses de livraison](/forum/35-orders-management/879195-editer-des-factures-avec-les-adresses-de-livraison#213813 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.42  Bonjour  Est il possible d'éditer des factures avec l'adresse de facturation + l'adresse de livraison ?  Merci")*

Bonjour,

Oui. Editez le fichier "invoice" de la vue "order" pour votre template du backend via le menu Affichage&gt;vues et changez la ligne:
if(!empty($this-&gt;element-&gt;order_shipping_id) &amp;&amp; !empty($this-&gt;element-&gt;shipping_address)){

en:
if(!empty($this-&gt;element-&gt;shipping_address)){

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

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

Less More

- Posts: 23
- Thank you received: 1
-
-

11 years 2 months ago -  11 years 2 months ago [\#213907](#213907) by [Phane](/forum/user/38356-phane "View Phane's Profile")  Replied by *[Phane](/forum/user/38356-phane "View Phane's Profile")* on topic *[Editer des factures avec les adresses de livraison](/forum/35-orders-management/879195-editer-des-factures-avec-les-adresses-de-livraison#213907 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.42  Bonjour  Est il possible d'éditer des factures avec l'adresse de facturation + l'adresse de livraison ?  Merci")*

Merci

Je ne trouve de ligne correspondante exactement. Je ne comprends pas le php

Voilà mon fichier en entier : Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.3.2 * @author hikashop.com * @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;div id="hikashop_invoice_main_div"&gt; &lt;div id="logo_invoice" style="float:left"&gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES; ?&gt;logo_invoice.png"/&gt; &lt;/div&gt; &lt;div id="print" style="float:right"&gt; &lt;a href="#" onclick="document.getElementById('print').style.visibility='hidden';window.focus();window.print();return false;"&gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES; ?&gt;print.png"/&gt; &lt;/a&gt; &lt;/div&gt; &lt;br/&gt; &lt;table width="100%"&gt; &lt;tr&gt; &lt;td&gt; &lt;h1 style="text-align:center"&gt; &lt;?php if($this-&gt;invoice_type=='full'){ echo JText::_('INVOICE'); }else{ echo JText::_('SHIPPING_INVOICE'); } ?&gt; &lt;/h1&gt; &lt;br/&gt; &lt;br/&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;div style="float:right;width:200px;padding-top:20px"&gt; &lt;?php if(!empty($this-&gt;element-&gt;order_invoice_created)) { echo JText::_('DATE').': '.hikashop_getDate($this-&gt;element-&gt;order_invoice_created,'%d %B %Y'); }else{ echo JText::_('DATE').': '.hikashop_getDate($this-&gt;element-&gt;order_created,'%d %B %Y'); }?&gt;&lt;br/&gt; &lt;?php if(!empty($this-&gt;element-&gt;order_invoice_number)) { echo JText::_('INVOICE').': '.$this-&gt;element-&gt;order_invoice_number; } else { echo JText::_('INVOICE').': '.@$this-&gt;element-&gt;order_number; } ?&gt; &lt;/div&gt; &lt;p&gt; &lt;?php echo $this-&gt;store_address;?&gt; &lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;br/&gt; &lt;br/&gt; &lt;table width="100%"&gt; &lt;tr&gt; &lt;?php if($this-&gt;invoice_type=='full' &amp;&amp; !empty($this-&gt;element-&gt;billing_address)){?&gt; &lt;td&gt; &lt;fieldset class="adminform" id="htmlfieldset_billing"&gt; &lt;legend style="background-color: #FFFFFF;"&gt;&lt;?php echo JText::_('HIKASHOP_BILLING_ADDRESS'); ?&gt;&lt;/legend&gt; &lt;?php $this-&gt;setLayout('address_template'); $html = $this-&gt;loadTemplate(); $j=0; foreach($this-&gt;element-&gt;fields as $field){ if($j!=5){ $fieldname = $field-&gt;field_namekey; if(!empty($this-&gt;element-&gt;billing_address-&gt;$fieldname)) //$html=str_replace('{'.$fieldname.'}',$this-&gt;fieldsClass-&gt;show($field,$this-&gt;element-&gt;billing_address-&gt;$fieldname),$html); echo $this-&gt;fieldsClass-&gt;show($field,$this-&gt;element-&gt;billing_address-&gt;$fieldname).'&lt;br/&gt;'; } $j++; } //echo $this-&gt;order-&gt;billing_address-&gt;code_postal.'&lt;/br&gt;'; //echo str_replace("\n","&lt;br/&gt;\n",trim(str_replace("\n\n","\n",preg_replace('#{(?:(?!}).)*}#i','',$html)),"\n")); ?&gt; &lt;/fieldset&gt; &lt;/td&gt; &lt;?php }?&gt; &lt;td&gt; &lt;?php if(!empty($this-&gt;element-&gt;order_shipping_id) &amp;&amp; !empty($this-&gt;element-&gt;shipping_address)){ ?&gt; &lt;fieldset class="adminform" id="htmlfieldset_shipping"&gt; &lt;legend style="background-color: #FFFFFF;"&gt;&lt;?php echo JText::_('HIKASHOP_SHIPPING_ADDRESS'); ?&gt;&lt;/legend&gt; &lt;?php if(empty($this-&gt;element-&gt;override_shipping_address)) { $this-&gt;setLayout('address_template'); $html = $this-&gt;loadTemplate(); $i=0; foreach($this-&gt;element-&gt;fields as $field){ if($i!=5) { $fieldname = $field-&gt;field_namekey; if(!empty($this-&gt;element-&gt;shipping_address-&gt;$fieldname)) //$html=str_replace('{'.$fieldname.'}',$this-&gt;fieldsClass-&gt;show($field,$this-&gt;element-&gt;shipping_address-&gt;$fieldname),$html); echo $this-&gt;fieldsClass-&gt;show($field,$this-&gt;element-&gt;shipping_address-&gt;$fieldname).'&lt;br/&gt;'; /*if ($fieldname=='address_street'){ $html.=' '.$this-&gt;order-&gt;shipping_address-&gt;code_postal; } */ } $i++; } //echo str_replace("\n","&lt;br/&gt;\n",trim(str_replace("\n\n","\n",preg_replace('#{(?:(?!}).)*}#i','',$html)),"\n")); } else { echo $this-&gt;element-&gt;override_shipping_address; } ?&gt; &lt;/fieldset&gt; &lt;?php } ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;br/&gt; &lt;fieldset class="adminform" id="htmlfieldset_products"&gt; &lt;legend style="background-color: #FFFFFF;"&gt;&lt;?php echo JText::_('PRODUCT_LIST'); ?&gt;&lt;/legend&gt; &lt;table class="adminlist table table-striped" cellpadding="1" width="100%"&gt; &lt;?php $colspan = 2; ?&gt; &lt;thead&gt; &lt;tr&gt; &lt;th class="title" width="60%"&gt; &lt;?php echo JText::_('PRODUCT'); ?&gt; &lt;/th&gt; &lt;?php if ($this-&gt;config-&gt;get('show_code')) { $colspan++; ?&gt; &lt;th class="title" &gt;&lt;?php echo JText::_('CART_PRODUCT_CODE'); ?&gt;&lt;/th&gt; &lt;?php } ?&gt; &lt;?php if($this-&gt;invoice_type=='full'){?&gt; &lt;th class="title"&gt; &lt;?php echo JText::_('UNIT_PRICE'); ?&gt; &lt;/th&gt; &lt;?php } ?&gt; &lt;th class="title titletoggle"&gt; &lt;?php echo JText::_('PRODUCT_QUANTITY'); ?&gt; &lt;/th&gt; &lt;?php if($this-&gt;invoice_type=='full'){?&gt; &lt;th class="title titletoggle"&gt; &lt;?php echo JText::_('PRICE'); ?&gt; &lt;/th&gt; &lt;?php } ?&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;?php $k=0; $group = $this-&gt;config-&gt;get('group_options',0); foreach($this-&gt;order-&gt;products as $product){ if($group &amp;&amp; $product-&gt;order_product_option_parent_id) continue; ?&gt; &lt;tr class="row&lt;?php echo $k;?&gt;"&gt; &lt;td&gt; &lt;?php echo $product-&gt;order_product_name;?&gt; &lt;p class="hikashop_order_product_custom_item_fields"&gt; &lt;?php if($group){ $display_item_price=false; foreach($this-&gt;order-&gt;products as $j =&gt; $optionElement){ if($optionElement-&gt;order_product_option_parent_id != $product-&gt;order_product_id) continue; if($optionElement-&gt;order_product_price&gt;0){ $display_item_price = true; } } if($display_item_price){ if($this-&gt;config-&gt;get('price_with_tax')){ echo ' '.$this-&gt;currencyHelper-&gt;format($product-&gt;order_product_price+$product-&gt;order_product_tax,$this-&gt;order-&gt;order_currency_id); }else{ echo ' '.$this-&gt;currencyHelper-&gt;format($product-&gt;order_product_price,$this-&gt;order-&gt;order_currency_id); } } } if(hikashop_level(2) &amp;&amp; !empty($this-&gt;fields['item'])){ foreach($this-&gt;fields['item'] as $field){ $namekey = $field-&gt;field_namekey; if(empty($product-&gt;$namekey) &amp;&amp; !strlen($product-&gt;$namekey)){ continue; } echo '&lt;p class="hikashop_order_item_'.$namekey.'"&gt;'.$this-&gt;fieldsClass-&gt;getFieldName($field).': '.$this-&gt;fieldsClass-&gt;show($field,$product-&gt;$namekey).'&lt;/p&gt;'; } } if($group){ foreach($this-&gt;order-&gt;products as $j =&gt; $optionElement){ if($optionElement-&gt;order_product_option_parent_id != $product-&gt;order_product_id) continue; $product-&gt;order_product_price +=$optionElement-&gt;order_product_price; $product-&gt;order_product_tax +=$optionElement-&gt;order_product_tax; $product-&gt;order_product_total_price+=$optionElement-&gt;order_product_total_price; $product-&gt;order_product_total_price_no_vat+=$optionElement-&gt;order_product_total_price_no_vat; ?&gt; &lt;p class="hikashop_order_option_name"&gt; &lt;?php echo $optionElement-&gt;order_product_name; if($optionElement-&gt;order_product_price&gt;0){ if($this-&gt;config-&gt;get('price_with_tax')){ echo ' ( + '.$this-&gt;currencyHelper-&gt;format($optionElement-&gt;order_product_price+$optionElement-&gt;order_product_tax,$this-&gt;order-&gt;order_currency_id).' )'; }else{ echo ' ( + '.$this-&gt;currencyHelper-&gt;format($optionElement-&gt;order_product_price,$this-&gt;order-&gt;order_currency_id).' )'; } } ?&gt; &lt;/p&gt; &lt;?php } } ?&gt; &lt;/p&gt; &lt;/td&gt; &lt;?php if ($this-&gt;config-&gt;get('show_code')) { ?&gt; &lt;td&gt;&lt;p class="hikashop_product_code_invoice"&gt;&lt;?php echo $product-&gt;order_product_code; ?&gt;&lt;/p&gt;&lt;/td&gt; &lt;?php } ?&gt; &lt;?php if($this-&gt;invoice_type=='full'){?&gt; &lt;td&gt; &lt;?php if($this-&gt;config-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format($product-&gt;order_product_price+$product-&gt;order_product_tax,$this-&gt;order-&gt;order_currency_id); }else{ echo $this-&gt;currencyHelper-&gt;format($product-&gt;order_product_price,$this-&gt;order-&gt;order_currency_id); } ?&gt; &lt;/td&gt; &lt;?php } ?&gt; &lt;td align="center"&gt; &lt;?php echo $product-&gt;order_product_quantity;?&gt; &lt;/td&gt; &lt;?php if($this-&gt;invoice_type=='full'){?&gt; &lt;td&gt; &lt;?php if($this-&gt;config-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format($product-&gt;order_product_total_price,$this-&gt;order-&gt;order_currency_id); }else{ echo $this-&gt;currencyHelper-&gt;format($product-&gt;order_product_total_price_no_vat,$this-&gt;order-&gt;order_currency_id); } ?&gt; &lt;/td&gt; &lt;?php } ?&gt; &lt;/tr&gt; &lt;?php $k=1-$k; } ?&gt; &lt;?php if($this-&gt;invoice_type=='full'){?&gt; &lt;tr&gt; &lt;td style="border-top:2px solid #B8B8B8;" colspan="&lt;?php echo $colspan; ?&gt;"&gt; &lt;/td&gt; &lt;td style="border-top:2px solid #B8B8B8;" class="key"&gt; &lt;label&gt; &lt;?php echo JText::_( 'SUBTOTAL' ); ?&gt; &lt;/label&gt; &lt;/td&gt; &lt;td style="border-top:2px solid #B8B8B8;"&gt; &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; &lt;/td&gt; &lt;/tr&gt; &lt;?php $taxes = $this-&gt;order-&gt;order_subtotal-$this-&gt;order-&gt;order_subtotal_no_vat+$this-&gt;order-&gt;order_shipping_tax-$this-&gt;order-&gt;order_discount_tax; if($taxes != 0){ if($this-&gt;config-&gt;get('detailed_tax_display') &amp;&amp; !empty($this-&gt;order-&gt;order_tax_info)){ foreach($this-&gt;order-&gt;order_tax_info as $tax){ ?&gt; &lt;tr&gt; &lt;td colspan="&lt;?php echo $colspan; ?&gt;"&gt; &lt;/td&gt; &lt;td class="hikashop_order_tax_title key"&gt; &lt;label&gt; &lt;?php echo $tax-&gt;tax_namekey; ?&gt; &lt;/label&gt; &lt;/td&gt; &lt;td class="hikashop_order_tax_value"&gt; &lt;?php echo $this-&gt;currencyHelper-&gt;format($tax-&gt;tax_amount,$this-&gt;order-&gt;order_currency_id); ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } }else{ ?&gt; &lt;tr&gt; &lt;td colspan="&lt;?php echo $colspan; ?&gt;"&gt; &lt;/td&gt; &lt;td class="hikashop_order_tax_title key"&gt; &lt;label&gt; &lt;?php echo JText::_( 'VAT' ); ?&gt; &lt;/label&gt; &lt;/td&gt; &lt;td class="hikashop_order_tax_value"&gt; &lt;?php echo $this-&gt;currencyHelper-&gt;format($taxes,$this-&gt;order-&gt;order_currency_id); ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } } if($this-&gt;order-&gt;order_discount_price != 0){ ?&gt; &lt;tr&gt; &lt;td colspan="&lt;?php echo $colspan; ?&gt;"&gt; &lt;/td&gt; &lt;td class="key"&gt; &lt;label&gt; &lt;?php echo JText::_( 'HIKASHOP_COUPON' ); ?&gt; &lt;/label&gt; &lt;/td&gt; &lt;td&gt; &lt;?php if($this-&gt;config-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format($this-&gt;order-&gt;order_discount_price*-1.0,$this-&gt;order-&gt;order_currency_id); }else{ echo $this-&gt;currencyHelper-&gt;format(($this-&gt;order-&gt;order_discount_price-@$this-&gt;order-&gt;order_discount_tax)*-1.0,$this-&gt;order-&gt;order_currency_id); } ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } if(!empty($this-&gt;order-&gt;additional)) { $exclude_additionnal = explode(',', $this-&gt;config-&gt;get('order_additional_hide', '')); foreach($this-&gt;order-&gt;additional as $additional) { if(in_array($additional-&gt;order_product_name, $exclude_additionnal)) continue; ?&gt; &lt;tr&gt; &lt;td colspan="&lt;?php echo $colspan; ?&gt;"&gt; &lt;/td&gt; &lt;td class="hikashop_order_additionall_title key"&gt; &lt;label&gt;&lt;?php echo JText::_($additional-&gt;order_product_name); ?&gt;&lt;/label&gt; &lt;/td&gt; &lt;td &gt;&lt;?php if(!empty($additional-&gt;order_product_price)) { $additional-&gt;order_product_price = (float)$additional-&gt;order_product_price; } if(!empty($additional-&gt;order_product_price) &#124;&#124; empty($additional-&gt;order_product_options)) { echo $this-&gt;currencyHelper-&gt;format($additional-&gt;order_product_price, $this-&gt;order-&gt;order_currency_id); } else { echo $additional-&gt;order_product_options; } ?&gt;&lt;/td&gt; &lt;/tr&gt; &lt;?php } } if($this-&gt;order-&gt;order_shipping_price!=0 &#124;&#124; ($this-&gt;config-&gt;get('price_with_tax') &amp;&amp; $this-&gt;order-&gt;order_shipping_tax!=0)) { ?&gt; &lt;tr&gt; &lt;td colspan="&lt;?php echo $colspan; ?&gt;"&gt; &lt;/td&gt; &lt;td class="key"&gt; &lt;label&gt; &lt;?php echo JText::_( 'SHIPPING' ); ?&gt; &lt;/label&gt; &lt;/td&gt; &lt;td&gt; &lt;?php if($this-&gt;config-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format($this-&gt;order-&gt;order_shipping_price,$this-&gt;order-&gt;order_currency_id); }else{ echo $this-&gt;currencyHelper-&gt;format($this-&gt;order-&gt;order_shipping_price-@$this-&gt;order-&gt;order_shipping_tax,$this-&gt;order-&gt;order_currency_id); } ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } if($this-&gt;order-&gt;order_payment_price!=0){ ?&gt; &lt;tr&gt; &lt;td colspan="&lt;?php echo $colspan; ?&gt;"&gt; &lt;/td&gt; &lt;td class="key"&gt; &lt;label&gt; &lt;?php echo JText::_( 'HIKASHOP_PAYMENT' ); ?&gt; &lt;/label&gt; &lt;/td&gt; &lt;td&gt; &lt;?php echo $this-&gt;currencyHelper-&gt;format($this-&gt;order-&gt;order_payment_price,$this-&gt;order-&gt;order_currency_id); ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } ?&gt; &lt;tr&gt; &lt;td colspan="&lt;?php echo $colspan; ?&gt;"&gt; &lt;/td&gt; &lt;td class="key"&gt; &lt;label&gt; &lt;?php echo JText::_( 'HIKASHOP_TOTAL' ); ?&gt; &lt;/label&gt; &lt;/td&gt; &lt;td&gt; &lt;?php echo $this-&gt;currencyHelper-&gt;format($this-&gt;order-&gt;order_full_price,$this-&gt;order-&gt;order_currency_id); ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } ?&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/fieldset&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php if($this-&gt;invoice_type=='full'){ $fieldsClass = hikashop_get('class.field'); $fields = $fieldsClass-&gt;getFields('backend',$this-&gt;order,'order'); if(!empty($fields)){ ?&gt; &lt;tr&gt; &lt;td&gt; &lt;fieldset class="hikashop_order_custom_fields_fieldset"&gt; &lt;legend&gt;&lt;?php echo JText::_('ADDITIONAL_INFORMATION'); ?&gt;&lt;/legend&gt; &lt;table class="hikashop_order_custom_fields_table adminlist" cellpadding="1" width="100%"&gt; &lt;?php foreach($fields as $fieldName =&gt; $oneExtraField) { ?&gt; &lt;tr class="hikashop_order_custom_field_&lt;?php echo $fieldName;?&gt;_line"&gt; &lt;td class="key"&gt; &lt;?php echo $this-&gt;fieldsClass-&gt;getFieldName($oneExtraField);?&gt; &lt;/td&gt; &lt;td&gt; &lt;?php echo $this-&gt;fieldsClass-&gt;show($oneExtraField,@$this-&gt;order-&gt;$fieldName); ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php }?&gt; &lt;/table&gt; &lt;/fieldset&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } ?&gt; &lt;tr&gt; &lt;td&gt; &lt;?php if(!empty($this-&gt;shipping)){ echo JText::_('HIKASHOP_SHIPPING_METHOD').' : '.$this-&gt;shipping-&gt;getName($this-&gt;order-&gt;order_shipping_method,$this-&gt;order-&gt;order_shipping_id).'&lt;br/&gt;'; }?&gt; &lt;?php if(!empty($this-&gt;payment)){ echo JText::_('HIKASHOP_PAYMENT_METHOD').' : '.$this-&gt;payment-&gt;getName($this-&gt;order-&gt;order_payment_method,$this-&gt;order-&gt;order_payment_id); }?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } ?&gt; &lt;?php JPluginHelper::importPlugin('hikashop'); $dispatcher = JDispatcher::getInstance(); $dispatcher-&gt;trigger('onAfterOrderProductsListingDisplay', array(&amp;$this-&gt;order, 'order_back_invoice')); ?&gt; &lt;tr&gt; &lt;td&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;br /&gt;&lt;br /&gt; &lt;div style="width:100%;" id="footer_invoice" style="float:left"&gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES; ?&gt;footer_invoice.png"/&gt; &lt;/div&gt; &lt;div style="page-break-after:always"&gt;&lt;/div&gt;

Last edit: 11 years 2 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile"). Reason: merci d'utiliser des balises code, sinon, le code est illisible

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3OTE5NS1lZGl0ZXItZGVzLWZhY3R1cmVzLWF2ZWMtbGVzLWFkcmVzc2VzLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

11 years 2 months ago [\#213910](#213910) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Editer des factures avec les adresses de livraison](/forum/35-orders-management/879195-editer-des-factures-avec-les-adresses-de-livraison#213910 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.42  Bonjour  Est il possible d'éditer des factures avec l'adresse de facturation + l'adresse de livraison ?  Merci")*

Je vois cette ligne dans le code que vous avez posté pourtant:
[ take.ms/yy4N6](http://take.ms/yy4N6)

The following user(s) said Thank You: [Phane](/forum/user/38356-phane "View Phane's Profile")

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

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

Less More

- Posts: 23
- Thank you received: 1
-
-

11 years 2 months ago [\#214253](#214253) by [Phane](/forum/user/38356-phane "View Phane's Profile")  Replied by *[Phane](/forum/user/38356-phane "View Phane's Profile")* on topic *[Editer des factures avec les adresses de livraison](/forum/35-orders-management/879195-editer-des-factures-avec-les-adresses-de-livraison#214253 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.42  Bonjour  Est il possible d'éditer des factures avec l'adresse de facturation + l'adresse de livraison ?  Merci")*

Autant pour moi.

Merci beaucoup

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3OTE5NS1lZGl0ZXItZGVzLWZhY3R1cmVzLWF2ZWMtbGVzLWFkcmVzc2VzLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) 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.069 seconds

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