Affichage ligne supplémentaire sur la facture

  • Posts: 20
  • Thank you received: 0
8 years 8 months ago #212314

-- 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.

  • Posts: 81515
  • Thank you received: 13068
  • MODERATOR
8 years 7 months ago #212317

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:

echo $this->currencyHelper->format($this->order->order_subtotal,$this->order->order_currency_id);
en:
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:
echo $currencyHelper->format($order->order_subtotal,$order->order_currency_id);
en:
echo $currencyHelper->format($order->order_subtotal_no_vat,$order->order_currency_id);

Last edit: 8 years 7 months 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.052 seconds
Powered by Kunena Forum