Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040417Retail ModulesGift cards and gift voucherspublic2019-03-15 13:582019-03-22 15:15
lorenzofidalgo 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
5
main 
RR19Q1RR19Q2 
guilleaer
Packaging and release
No
0040417: [RR19Q1] Approval is required to complete payment using Gift Cards even when exact amount is paid
Approval is required even when the exact amount has been paid if Gift Cards are involved.

In case it is useful, the installed modules in the tested context are the following:

Contact customer info for product - 1.0.100 - English (USA)
Core - 3.0.35324 - English (USA)
Digital Coupons for Retail - 1.0.400 - English (USA)
Discount rules for Retail by total - 1.0.900 - English (USA)
Gift cards and vouchers - 1.3.900 - English (USA)
Max Level of Cash - 1.0.4 - English (USA)
Openbravo 3.0 - 3.0.35324 - English (USA)
Openbravo for Retail - 1.8.4103 - English (USA)
POS Terminals Session Management - 1.0.1300 - English (USA)
Products on fly - 1.0.200 - English (USA)
Retail Delivery Modes - 1.0.100 - English (USA)
Retail Sampledata - 1.0.3700 - English (USA)
WebPOS Scan Receipt - 1.0.300 - English (USA)
0-Having Gift Cards and Vouchers module installed and a GC created and sold, log in POS as vallblanca.
1-Add 1x "Avalanche transceiver". Click Total Amount button.
2-Click "More..." and click Gift Card payment method. It must be selected. Now, click tick button to complete the payment. A popup will be shown: Select the previously created Gift Card and click Apply button to select it. The Gift Card will be added to the receipt.
4-Realise "Total is zero. No payment needed" is shown. Click "Done" button. DEFECT: An approval will be shown even when all the receipt has been completely paid.
No tags attached.
blocks defect 0040398 closed ranjith_qualiantech_com [RR19Q1] Approval is required to complete payment using Gift Cards even when exact amount is paid 
Issue History
2019-03-20 12:44ranjith_qualiantech_comTypedefect => backport
2019-03-20 12:44ranjith_qualiantech_comTarget Version => RR19Q1
2019-03-22 10:50hgbotCheckin
2019-03-22 10:50hgbotNote Added: 0110581
2019-03-22 10:50hgbotStatusscheduled => resolved
2019-03-22 10:50hgbotResolutionopen => fixed
2019-03-22 10:50hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/089af10014ad444022d902078f5f06564a597cb7 [^] => http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal/rev/f63e18d99fb6d09108330bbab93a691a769eb70e [^]
2019-03-22 15:15guilleaerReview Assigned To => guilleaer
2019-03-22 15:15guilleaerStatusresolved => closed
2019-03-22 15:15guilleaerFixed in Version => RR19Q2

Notes
(0110581)
hgbot   
2019-03-22 10:50   
Repository: retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal
Changeset: f63e18d99fb6d09108330bbab93a691a769eb70e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Mar 22 15:19:59 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal/rev/f63e18d99fb6d09108330bbab93a691a769eb70e [^]

Fixed issue 40417 : Validate Prepayment when receipt total is greater than zero

* If receipt is paid with gift card, it will adjusted with receipt total amount.
So, prepayment should be validated when receipt total amount is greater than zero

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---