Skip to main content

Affichage ligne supplémentaire sur la facture

More
11 years 1 month ago #212314 by sps2i
-- url of the page with the problem -- : www.ets-thierry-pensier.fr
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5.28
-- Browser(s) name and version -- : Firefox40.0
-- Error-message(debug-mod must be tuned on) -- : No error message

Dans l'administration, que dois-je faire pour ajouter une ligne suppémentaire sur la facture, correspondant au sous-total en Hors Taxe ?

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago - 11 years 1 month ago #212317 by nicolas
Bonjour,

Par défaut, il y a déjà une ligne avec le sous total HT:
take.ms/5XK0h
Sauf si vous avez activé l'option "show taxed prices" de la configuration. Dans ce cas, si vous voulez laisser l'option comme cela, vous pouvez aussi éditer le fichier "invoice" de la vue "order" pour votre template backend via le menu Affichage>Vues et changez la ligne:
Code:
echo $this->currencyHelper->format($this->order->order_subtotal,$this->order->order_currency_id);
en:
Code:
echo $this->currencyHelper->format($this->order->order_subtotal_no_vat,$this->order->order_currency_id);
Si vous utilisez le plugin PDF invoice, alors il faudra faire différemment et modifier le fichier plugins/hikashop/attachinvoice/attachinvoice/invoice.php et changer la ligne:
Code:
echo $currencyHelper->format($order->order_subtotal,$order->order_currency_id);
en:
Code:
echo $currencyHelper->format($order->order_subtotal_no_vat,$order->order_currency_id);
Last edit: 11 years 1 month ago by nicolas.
The following user(s) said Thank You: sps2i

Please Log in or Create an account to join the conversation.

Time to create page: 0.176 seconds
Powered by Kunena Forum