Skip to main content

AdminOrder Subtotal & InvoiceSubtotal Discrepancy

More
13 years 10 months ago - 13 years 10 months ago #76180 by daurwid
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
Last edit: 13 years 10 months ago by daurwid.

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

More
13 years 10 months ago #76372 by Xavier
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.

More
13 years 10 months ago #76465 by daurwid
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.

More
13 years 10 months ago #76613 by Eliot
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.283 seconds
Powered by Kunena Forum