If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Your Zen Cart Products / Currencies & Sales Taxes, VAT, GST, etc. / Show without tax in admin makes incorrect invoice fields in orders

Show without tax in admin makes incorrect invoice fields in orders

Started by gernot on 17 Nov 2020, 8:32 AM · Views: 3,811

Results 1 to 3 of 3
17 Nov 2020, 8:32 AM
#1
gernot avatar

gernot

Zen Follower

Join Date:
Feb 2017
Location:
Tokyo, Japan
Posts:
334
Plugin Contributions:
0

Post #1 by gernot

https://www.proteawines.jp
ZC 1.5.6c, MariaDB 10.2.x, some Japanese language customizations, Edit Orders, etc.
Will update later if needed, away from system.

We noticed that in the invoices seen in Admin, the fields for prices without sales tax and those with sales tax are identical (both without sales tax), but the grand total for an order is fortunately correct (i.e., includes tax).

It turns out I had in Admin Settings "show prices with tax in Shop" and "show prices with tax in Admin" both set to "false" as intended, since I want to see the net prices when I look at items.
When I set the "show prices with tax in Admin" to "true", then the with sales tax fields in the invoices are correct (and the ones without tax stay as they were).
Now however the prices of items are shown with tax in other parts of the Admin, which is something I want to avoid.

Both I and my partner completely missed this for a year at least, so I am not sure if it is intended behaviour, a bug, or a result of me installing an add-on (like Edit Orders for example).

Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

17 Nov 2020, 12:09 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,144
Plugin Contributions:
56

Post #2 by lat9

I'll just mention that Edit Orders requires that both of the "Show prices with tax" settings to be the same.

26 Nov 2020, 1:30 AM
#3
gernot avatar

gernot

Zen Follower

Join Date:
Feb 2017
Location:
Tokyo, Japan
Posts:
334
Plugin Contributions:
0

Post #3 by gernot

Hi lat9,
Hmm, that is interesting, I will read up the Edit Orders documentation again. It is strange though that I can only get the correct behaviour for the customer invoice by setting them differently.
Since there are two separate fields (one without tax and one with tax) in the invoice rows, they should each contain the appropriate correct information.
I presumed the behaviour is well-defined (according to the meaning of the field names which are very clear) when prices are displayed without tax (in both storefront and admin), but it turns out that is not the case. Maybe I incorrectly installed the Edit Orders files. It is not clear to me what the behaviour should be if prices are displayed (in store) with tax--it could be that the field is back-calculated for informational purposes, or else becomes irrelevant.

Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0