Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0031718 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Gift cards and gift vouchers | major | always | 2015-12-15 12:29 | 2016-01-28 16:45 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR16Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 4d9a82636394 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 39643 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0031718: [SERQA 486]payment type "gift card" is not displayed when there is 6 payment methods | |||||||
Description | A) When the amount of buttons added from external modules* matches the number of "core" buttons shown on the 'More payments' popup, external payments are not added to the 'More payments' popup. E.g.: if the core configuration of a terminal includes 6 payments (4 payments will be directly shown and 2 will be on the 'More payments' popup), and the user installs the Giftcards and Vouchers module (which adds 2 payment buttons), the giftcard payment buttons will not be shown in web pos B) When one terminal is configured with 6 or more payment methods, the payment method gift card is not displayed | |||||||
Steps To Reproduce | A) Install the Giftcards and Vouchers module Configure a POS Terminal in backend with 6 payment methods. Login in web pos. Create a ticket and add a product. Click on the Total Amount button to pay the ticket. Verify that 4 payment method buttons are shown, plus the 'More' button. Click on the 'More' button and verify that only the 2 payment methods defined in the terminal are shown. The 'Gift Card' and 'Gift Voucher' buttons are not shown. B) F&B . in backoffice terminal VBS-1 . add two new payment methods (name 1 and 2) . in POS go to VBS-1 terminal . new receipt, add one line, pay it: in the payment methods, if you click in "more..." button, gift card button is not displayed (see attachment) in backoffice, deactivate the payment method with name 2 in POS, create new receipt, add one line and pay it: in the payment methods, if you click "more..." button, Gift Card button is displayed (see attachment2) | |||||||
Proposed Solution | A) The following code adds external buttons to the payment button list: enyo.forEach(this.sideButtons, function (sidebutton) { btncomponent = this.getButtonComponent(sidebutton); if (countbuttons++ < paymentsbuttons) { this.createComponent(btncomponent); } else if (this.sideButtons.length !== OB.OBPOSPointOfSale.UI.PaymentMethods.prototype.sideButtons.length) { OB.OBPOSPointOfSale.UI.PaymentMethods.prototype.sideButtons.push(btncomponent); dialogbuttons[sidebutton.command] = sidebutton.label; } else { dialogbuttons[sidebutton.command] = sidebutton.label; } }, this); This condition: } else if (this.sideButtons.length !== OB.OBPOSPointOfSale.UI.PaymentMethods.prototype.sideButtons.length) { should probably be removed, and the logic inside that else-if moved to the final else. | |||||||
Tags | SER-QA | |||||||
Attached Files | ![]() ![]() ![]() ![]() | |||||||
![]() |
||||||||||||||||||||||
|
![]() |
|
(0083127) hgbot (developer) 2016-01-05 07:15 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 910c9f789e68c05f380ff8f7a095d18af1c05639 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Tue Jan 05 11:42:48 2016 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/910c9f789e68c05f380ff8f7a095d18af1c05639 [^] Fixes issue 31718 : Display Gift Card Payments if any Custom Payment added --- M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboard-toolbars.js --- |
(0083129) hgbot (developer) 2016-01-05 07:16 |
Repository: tools/automation/pi-mobile Changeset: 1b827f2ad17b44a434b06ee69a558ebbbd36619a Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Tue Jan 05 11:42:33 2016 +0530 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1b827f2ad17b44a434b06ee69a558ebbbd36619a [^] Verifies issue 31718: Added automated test 'I31718_CheckGiftCardPaymentWithCustomPayment' --- M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I30879_CheckMorePaymentMethodDisplay.java A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/giftcards/I31718_CheckGiftCardPaymentWithCustomPayment.java --- |
(0083678) hgbot (developer) 2016-01-28 15:27 |
Repository: retail/backports/3.0RR15Q4.2/org.openbravo.retail.posterminal Changeset: 4d9a826363945b1b244099295b1ab9ffc637ff7e Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Tue Jan 05 11:42:48 2016 +0530 URL: http://code.openbravo.com/retail/backports/3.0RR15Q4.2/org.openbravo.retail.posterminal/rev/4d9a826363945b1b244099295b1ab9ffc637ff7e [^] Fixes issue 31718 : Display Gift Card Payments if any Custom Payment added --- M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboard-toolbars.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2015-12-15 12:29 | malsasua | New Issue | |
2015-12-15 12:29 | malsasua | Assigned To | => Retail |
2015-12-15 12:29 | malsasua | OBNetwork customer | => Yes |
2015-12-15 12:29 | malsasua | Support ticket | => 39643 |
2015-12-15 12:29 | malsasua | Resolution time | => 1452898800 |
2015-12-15 12:29 | malsasua | Triggers an Emergency Pack | => No |
2015-12-15 12:29 | malsasua | File Added: 1.png | |
2015-12-15 12:29 | malsasua | File Added: 2.png | |
2015-12-17 09:56 | Orekaria | Status | new => acknowledged |
2015-12-17 21:54 | Orekaria | Relationship added | related to 0031746 |
2015-12-18 08:09 | aaroncalero | Relationship replaced | has duplicate 0031746 |
2015-12-18 13:03 | Orekaria | Description Updated | View Revisions |
2015-12-18 13:03 | Orekaria | Steps to Reproduce Updated | View Revisions |
2015-12-18 13:03 | Orekaria | Proposed Solution updated | |
2015-12-18 13:05 | Orekaria | Tag Attached: SER-QA | |
2015-12-18 14:42 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2015-12-18 14:42 | ranjith_qualiantech_com | Status | acknowledged => scheduled |
2015-12-24 11:46 | ranjith_qualiantech_com | File Added: Issue #31718 Source 5548.patch | |
2015-12-24 11:46 | ranjith_qualiantech_com | File Added: Issue #31718 Test 4852.patch | |
2015-12-28 18:04 | agete | Summary | payment type "gift card" is not displayed when there is 6 payment methods => [SERQA 486]payment type "gift card" is not displayed when there is 6 payment methods |
2016-01-05 07:15 | hgbot | Checkin | |
2016-01-05 07:15 | hgbot | Note Added: 0083127 | |
2016-01-05 07:15 | hgbot | Status | scheduled => resolved |
2016-01-05 07:15 | hgbot | Resolution | open => fixed |
2016-01-05 07:15 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/910c9f789e68c05f380ff8f7a095d18af1c05639 [^] |
2016-01-05 07:16 | hgbot | Checkin | |
2016-01-05 07:16 | hgbot | Note Added: 0083129 | |
2016-01-07 14:17 | Orekaria | Relationship added | related to 0028629 |
2016-01-26 18:23 | marvintm | Review Assigned To | => marvintm |
2016-01-26 18:23 | marvintm | Status | resolved => closed |
2016-01-26 18:23 | marvintm | Fixed in Version | => RR16Q2 |
2016-01-28 12:44 | Orekaria | Relationship added | has duplicate 0032021 |
2016-01-28 13:41 | marvintm | Relationship deleted | has duplicate 0032021 |
2016-01-28 15:27 | hgbot | Checkin | |
2016-01-28 15:27 | hgbot | Note Added: 0083678 | |
2016-01-28 15:27 | hgbot | Status | closed => resolved |
2016-01-28 15:27 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/910c9f789e68c05f380ff8f7a095d18af1c05639 [^] => http://code.openbravo.com/retail/backports/3.0RR15Q4.2/org.openbravo.retail.posterminal/rev/4d9a826363945b1b244099295b1ab9ffc637ff7e [^] |
2016-01-28 16:45 | marvintm | Status | resolved => closed |
2016-02-04 12:18 | Orekaria | Relationship added | has duplicate 0032021 |
Copyright © 2000 - 2009 MantisBT Group |