Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029046Retail ModulesGift cards and gift voucherspublic2015-02-24 13:442015-03-09 20:20
aaroncalero 
Osmany 
normalminoralways
closedfixed 
5
 
 
malsasua
No
0029046: Canceling the addition of a giftcard to a ticket doesn't refresh the total amount correctly
If there is no products in a ticket, canceling the process of adding a giftcard (at the moment of entering its ID) doesn't refresh the total amount of the ticket.
Having the Giftcards & vouchers module installed:
Configure a giftcard product.
Create a ticket in webPOS.
Add the previosly created giftcard.
The line-item properties popup will appear.
Cancel the popup.
Verify that the total amount of the ticket (which is empty) matches the amount of the giftcard.
Canceling the line properties popup only removes the giftcard line from the receipt lines collection, and it is not calling calculateGross, adjustPayment, or other actions that are executed when a line is deleted using the Delete Line button.
The Cancel action executed when the popup is open for a giftcard should perform the same actions as the Delete Line button.
No tags attached.
Issue History
2015-02-24 13:44aaroncaleroNew Issue
2015-02-24 13:44aaroncaleroAssigned To => marvintm
2015-02-24 13:44aaroncaleroTriggers an Emergency Pack => No
2015-02-26 15:58OsmanyAssigned Tomarvintm => Osmany
2015-03-02 17:08hgbotCheckin
2015-03-02 17:08hgbotNote Added: 0075098
2015-03-02 17:08hgbotStatusnew => resolved
2015-03-02 17:08hgbotResolutionopen => fixed
2015-03-02 17:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/29077305e9e6620383ab3c6881e3eb4d76a539fb [^]
2015-03-09 14:04malsasuaReview Assigned To => malsasua
2015-03-09 14:04malsasuaNote Added: 0075318
2015-03-09 14:04malsasuaStatusresolved => closed
2015-03-09 17:01malsasuaNote Added: 0075325
2015-03-09 17:01malsasuaStatusclosed => new
2015-03-09 17:01malsasuaResolutionfixed => open
2015-03-09 18:24hgbotCheckin
2015-03-09 18:24hgbotNote Added: 0075338
2015-03-09 18:24hgbotStatusnew => resolved
2015-03-09 18:24hgbotResolutionopen => fixed
2015-03-09 18:24hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/29077305e9e6620383ab3c6881e3eb4d76a539fb [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/cd7f33573024d9c6f34c6d6a9ca79083236af21c [^]
2015-03-09 20:20malsasuaNote Added: 0075350
2015-03-09 20:20malsasuaStatusresolved => closed

Notes
(0075098)
hgbot   
2015-03-02 17:08   
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 29077305e9e6620383ab3c6881e3eb4d76a539fb
Author: Osmany Garcia Machado <osmany.machado <at> peoplewalking.com>
Date: Mon Mar 02 10:07:58 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/29077305e9e6620383ab3c6881e3eb4d76a539fb [^]

Fixed issue 29046: Canceling the addition of a giftcard to a ticket doesn't refresh the total amount correctly.

---
M web/org.openbravo.retail.giftcards/js/components/lineproperties.js
---
(0075318)
malsasua   
2015-03-09 14:04   
verified
(0075325)
malsasua   
2015-03-09 17:01   
the same problem occurs when you push the key "ESC" instead of to click in "cancel" button
(0075338)
hgbot   
2015-03-09 18:24   
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: cd7f33573024d9c6f34c6d6a9ca79083236af21c
Author: Osmany Garcia Machado <osmany.machado <at> peoplewalking.com>
Date: Mon Mar 09 11:23:42 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/cd7f33573024d9c6f34c6d6a9ca79083236af21c [^]

Fixed issue 29046: Canceling the addition of a giftcard to a ticket doesn't refresh the total amount correctly.

---
M web/org.openbravo.retail.giftcards/js/components/lineproperties.js
---
(0075350)
malsasua   
2015-03-09 20:20   
verified