Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051109Retail ModulesLoyalty Programs for Web POSpublic2022-12-12 18:292023-01-15 11:05
axelmercado 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
RR22Q3 
RR22Q3 
No
0051109: The Generate Coupons popup window spends loyalty points
The Generate Coupons pop-up window should not appear or, failing that, you should not spend the loyalty points if the order is already paid for.
1 - Log in to Web POS.
2 - Select a customer with available loyalty points.
3 - Select an order corresponding to the customer that is already paid.
We should add one more condition:
args.context.get('order').get('isPaid')

If the ticket is paid, you don't have to request to use points either.
No tags attached.
related to defect 0050785RR22Q3 closed ranjith_qualiantech_com The loyalty points redemption pop-up window also appears when the gross is 0. 
related to defect 0050317 closed ranjith_qualiantech_com The loyalty points redemption pop-up window also appears in the returns and quotes of the web POS. 
Issue History
2022-12-12 18:29axelmercadoNew Issue
2022-12-12 18:29axelmercadoAssigned To => Retail
2022-12-12 18:29axelmercadoTriggers an Emergency Pack => No
2022-12-12 18:45axelmercadoRelationship addedrelated to 0050785
2022-12-12 18:46axelmercadoRelationship addedrelated to 0050317
2022-12-12 18:55PracticsIssue Monitored: Practics
2022-12-15 10:13ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-12-15 10:13ranjith_qualiantech_comStatusnew => scheduled
2023-01-03 15:16axelmercadoSummaryThe loyalty points redemption pop-up window should not appear if the order is already paid. => The Generate Coupons popup window spends loyalty points
2023-01-03 15:16axelmercadoDescription Updatedbug_revision_view_page.php?rev_id=25338#r25338
2023-01-10 12:45hgbotNote Added: 0145233
2023-01-15 11:05hgbotResolutionopen => fixed
2023-01-15 11:05hgbotStatusscheduled => closed
2023-01-15 11:05hgbotNote Added: 0145421
2023-01-15 11:05hgbotNote Added: 0145422

Notes
(0145233)
hgbot   
2023-01-10 12:45   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.coupon/-/merge_requests/1 [^]
(0145421)
hgbot   
2023-01-15 11:05   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.coupon [^]
Changeset: f0eabacd176aace48b7f882571c2f46302d6b9ff
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 04-01-2023 14:48:27
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.coupon/-/commit/f0eabacd176aace48b7f882571c2f46302d6b9ff [^]

Fixed ISSUE-51109: Coupons should not be generated when completing paid receipt

---
M web/org.openbravo.retail.loyalty.burn.coupon/js/hook/preOrderSaveHook.js
---
(0145422)
hgbot   
2023-01-15 11:05   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.burn.coupon/-/merge_requests/1 [^]