weDevsOfficial/wepos

Tax Forcefully Applied on Fee and Discount Regardless of Settings

Closed this issue · 0 comments

Issue Description:
The tax amount on fees and discounts is persistently applied, irrespective of the configuration settings in WP-Admin > wePOS > Settings > General ("Calculate tax for fees").

To Reproduce:

  1. Navigate to WP-Admin > wePOS > Settings > General.
  2. Set "Calculate tax for fees" to "No."
  3. Access the Point of Sale (POS) view.
  4. Observe that tax is still being added to fees, contrary to the configured setting.

Expected Behavior:
When "Calculate tax for fees" is set to "No," fees should not have tax applied in the POS view.

Environment:
wePOS: v1.2.4
WordPress: v6.4.2
WooCommerce: v8.4.0