Notes |
|
|
In payment.js, While clicking "Done" button all the payments in the receipt has been validated again in the method "checkValidPaymentList". this leads to create some issues. It better to remove this method and validate all receipt payments whenever there is a change(add/remove) in payments
Case 1:
1) Cashup
2) Create ticket and add product "Avalanche transceiver" and complete it
3) Create ticket and add product "Avalanche transceiver"
4) Add 100 by Cash
5) Add 100 by USA Cash
6) While clicking "USA Cash", Msg("There is not enough cash available.") should be displayed, Done button should be disabled
7) While clicking "Cash", Msg("There is not enough cash available.") should "not" be displayed, Done button should be enabled, Since we have enough cash to give change in "Cash" Payment method
8) While clicking "Card", Msg("There is not enough cash available.") should "not" be displayed, Done button should be enabled, Since we have enough cash to give change in "Cash" Payment method
Case 2:
1) Set overpayment limit to 10 for "Card" Payment method in backend
2) Create ticket and add product "Avalanche transceiver"
3) Add 200 by Card
4) Make sure Msg("Overpayment exceeded limit.") should be displayed
5) While clicking "Cash", Msg("Overpayment exceeded limit.") should be displayed, Done button should be disabled, Since Card exceeds overpayment limit
Case 3:
1) Cashup
2) Create ticket and add product "Avalanche transceiver"
3) Add 200 by Cash
4) While clicking "Cash"/"Card", Msg("There is not enough cash available.") should be displayed, Done button should be disabled, Since we don't have enough cash in "Cash" Payment method
Returns
Case 1:
1) Cashup
2) Create ticket and add product "Avalanche transceiver" and make it as "Return"
3) Add 50 by Cash, Msg("There is not enough cash available.") should be displayed, Done button should be disabled
4) While clicking "Card", Msg("There is not enough cash available.") should be displayed, Done button should be disabled |
|
|
(0087665)
|
hgbot
|
2016-06-20 12:59
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 51f7e7346e5ba0b1be62d75d0c481518af367d47
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Jun 20 12:58:23 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/51f7e7346e5ba0b1be62d75d0c481518af367d47 [^]
Fixed issue 0033238: Multi currency payments not working
- Fix check payments logic to support correctly multicurrency, overpayments...
- If we have a message ('not enough cash', 'overpayment'...) and Done button is disabled, we avoid user adding more payments till the issues is solved
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboard-toolbars.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
|
|
|
(0087666)
|
hgbot
|
2016-06-20 12:59
|
|
Repository: tools/automation/pi-mobile
Changeset: 61f52808f89902f3b63d383668053b19a6bb4e2a
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Jun 20 10:32:49 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/61f52808f89902f3b63d383668053b19a6bb4e2a [^]
Related issue 33238: Adapt tests to new payment validation change
---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I31279_LayawayUSACashPayments.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31328_ReceiptReturnByCardPayment.java
---
|
|
|
|
|
|
(0087753)
|
hgbot
|
2016-06-21 18:02
|
|
Repository: retail/backports/3.0RR16Q1.4/org.openbravo.retail.posterminal
Changeset: be815499ab611ca7b6750945278d4a639c22a149
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Jun 21 18:01:36 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1.4/org.openbravo.retail.posterminal/rev/be815499ab611ca7b6750945278d4a639c22a149 [^]
Fixed issue 0033238: Multi currency payments not working
- Fix check payments logic to support correctly multicurrency, overpayments...
- If we have a message ('not enough cash', 'overpayment'...) and Done button is disabled, we avoid user adding more payments till the issues is solved
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboard-toolbars.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
|
|
|
(0087756)
|
hgbot
|
2016-06-21 18:18
|
|
Repository: retail/backports/3.0RR16Q2.1/org.openbravo.retail.posterminal
Changeset: b713c3eca1656d8fd5bdc56959c6a47e835471bf
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Jun 21 18:11:59 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2.1/org.openbravo.retail.posterminal/rev/b713c3eca1656d8fd5bdc56959c6a47e835471bf [^]
Fixed issue 0033238: Multi currency payments not working
- Fix check payments logic to support correctly multicurrency, overpayments...
- If we have a message ('not enough cash', 'overpayment'...) and Done button is disabled, we avoid user adding more payments till the issues is solved
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboard-toolbars.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
|
|
|
(0087779)
|
hgbot
|
2016-06-22 10:08
|
|
|
|
(0087780)
|
hgbot
|
2016-06-22 10:08
|
|
|
|
(0087781)
|
hgbot
|
2016-06-22 10:09
|
|
|
|
(0087841)
|
hgbot
|
2016-06-23 07:45
|
|
|
|
|
It seems there is one case which is not correct:
- Do cashup, and leave no cash in the till.
- Create a ticket with one avalanche transceiver (total 150.50)
- Pay with 200€ in cash. The message "There is not enough cash available" will be shown. This is correct.
- Change payment method to Card. The same message appears. This is wrong, as this payment method is not of type cash, and in this case, it doesn't make sense to do the check. |
|
|
|
Finally, the change done is correct. The Web POS does not support the ability to transform change obtained from an excessive payment in cash into a separate payment in non-cash payment method, only transformation between different cash payment methods is allowed. Thus, the check we are doing, which was implemented in the following issue:
https://issues.openbravo.com/view.php?id=29463 [^]
is correct. |
|
|
(0088254)
|
hgbot
|
2016-07-06 20:40
|
|
Repository: retail/backports/3.0RR16Q2.1/pi-mobile
Changeset: 29381eb60e5b715601b99a0b23ca02940036441d
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Jul 06 13:56:27 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2.1/pi-mobile/rev/29381eb60e5b715601b99a0b23ca02940036441d [^]
Related issue 33238: Adapt tests to new payment validation change
- Change tests for new payments validation behaviour and alos for payment method button remain active feature
---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/LayawayVerifyPaymentsInformation.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I31941_PaymentDataStoredAndRetrieved.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31328_ReceiptReturnByCardPayment.java
---
|
|
|
(0088255)
|
hgbot
|
2016-07-06 20:41
|
|
|
|
(0088331)
|
hgbot
|
2016-07-08 11:38
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ace286f5f346d024a70e7081839b985cc0954114
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Jul 08 11:36:31 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ace286f5f346d024a70e7081839b985cc0954114 [^]
Related issue 33238: Adapt tests to new payment validation change
- Use isNegative instead of isReturn to cover void layaway case (void layaway is not return but it is negative)
---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
|
|
|
(0088369)
|
hgbot
|
2016-07-11 13:19
|
|
Repository: tools/automation/pi-mobile
Changeset: 29381eb60e5b715601b99a0b23ca02940036441d
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Jul 06 13:56:27 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/29381eb60e5b715601b99a0b23ca02940036441d [^]
Related issue 33238: Adapt tests to new payment validation change
- Change tests for new payments validation behaviour and alos for payment method button remain active feature
---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/LayawayVerifyPaymentsInformation.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I31941_PaymentDataStoredAndRetrieved.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31328_ReceiptReturnByCardPayment.java
---
|
|
|
(0088383)
|
hgbot
|
2016-07-12 11:16
|
|
|
|
(0100488)
|
hgbot
|
2017-11-13 15:23
|
|
|