Regarding the issue of incorrect discount calculation in voucher entry, follow these steps:
Step 1: Ensure that the discount structure is correct. If not, create a new one.
1.Go to Administration.
2.Select Masters, then Misc Masters.
3.Choose Discount Structure and click on Add.
4.Create a new discount structure with accurate details such as discount amount (absolute, per main quantity, per alternate quantity, per packaging quantity, or percentage).
5.Save the structure.
Step 2: Configure voucher series to use the new discount structure.
1.Go to Administration.
2.Select Configuration.
3.Choose Voucher Series Configuration.
4.Select the desired voucher type and series.
5.In Voucher Configuration, enable the item-wise discount option.
6.Select the newly created discount structure.
7.Save the configuration.