- Posts: 44
- Thank you received: 1
AdminOrder Subtotal & InvoiceSubtotal Discrepancy
13 years 10 months ago - 13 years 10 months ago #76180
by daurwid
AdminOrder Subtotal & InvoiceSubtotal Discrepancy was created 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
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.
13 years 10 months ago #76372
by Xavier
Replied by Xavier on topic AdminOrder Subtotal & InvoiceSubtotal Discrepancy
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);"
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.
13 years 10 months ago #76465
by daurwid
Replied by daurwid on topic AdminOrder Subtotal & InvoiceSubtotal Discrepancy
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.
13 years 10 months ago #76613
by Eliot
Replied by Eliot on topic AdminOrder Subtotal & InvoiceSubtotal Discrepancy
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
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.221 seconds