- Regression and Sanity Testing for the Sokopoint module was performed to ensure smooth functionality and resolve various issues. Below are the key areas tested and the troubleshooting performed:
- Verified the correct application and removal of Sokopoints rewards during the order process to ensure that points are applied or deducted appropriately when the user takes actions such as adding or removing products.
- Ensured that Sokopoints are automatically removed when the quantity of a product is changed in the order, maintaining an accurate reflection of the remaining discount.
- Fixed an issue where, during pre-order creation, reward offers meant for retail customers were incorrectly appearing for wholesale customers, ensuring proper offer targeting.
- Resolved a problem where, while adding orders, the system displayed reward offers from other warehouses, ensuring that only relevant offers are shown based on the selected warehouse.
- Addressed an issue in the Process Order screen, where the amount displayed as negative when the Sokopoints discount was higher than the payable amount. Now, proper validation ensures correct handling of such cases.
- On the Order Detail page, ensured that when multiple discounts (such as Sokopoints and other offers) are applied to a single order, the total amount for each discount is accurately displayed in the Total Discount column, providing clear financial breakdowns.
- Fixed a bug where, if a reward offer was applied to two products and the user removed the reward from one, the discount on the second product would incorrectly show a zero discount. The issue was resolved to maintain accurate discount values for the remaining product.
- Ensured that for rejected orders, the reward offer line no longer appears with a zero TZS value, providing a clean and accurate representation of the order details.
- Optimized the download process for the Sales Invoice Report in both the development and staging environments, significantly improving performance and load times for users downloading large reports.
- Fixed a scenario where, after removing a product from an order, the Sokopoint SKU discounts did not update correctly, ensuring the discount reflects the current state of the order.
- Verified that Sokopoint SKU discounts were correctly calculated and applied in the payment and sales-orders modules, ensuring seamless processing and accurate payment totals.