AdminOrder Subtotal & InvoiceSubtotal Discrepancy

  • Posts: 44
  • Thank you received: 1
11 years 5 months ago #76180

In the backend, it was brought to my attention that there are two totals being provided by the Subtotal on orders.

When viewing an order as an admin in the back-end administration, the shown subtotal includes taxes that is shown under the block called "Additional Information". See first attachment.





Then when using the invoice popup button in the toolbar the subtotal does not have tax included. See second attachment.





Is there a way to have both subtotals not include tax?

Thank you,

Noah

Attachments:
Last edit: 11 years 5 months ago by daurwid.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #76372

Hi,

In the view "order / form" try to change the line: "echo $this->currencyHelper->format($this->order->order_subtotal,$this->order->order_currency_id);"
To: "echo $this->currencyHelper->format($this->order->order_subtotal_no_vat,$this->order->order_currency_id);"

The following user(s) said Thank You: daurwid

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

  • Posts: 44
  • Thank you received: 1
11 years 5 months ago #76465

That worked like a charm! Are you going to make this an option in the future or integrate it? Am I going to have to update this line each Hikashop update?

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

  • Posts: 2334
  • Thank you received: 403
11 years 5 months ago #76613

Hi,

We will think about integrating this in the coming version of Hikashop.
However you don't have to worry about the update since every customization are conserved if they are made through the Hikashop Views edit.
So this hack won't be affected by an update :)

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

Time to create page: 0.102 seconds
Powered by Kunena Forum