Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044964Retail ModulesWeb POSpublic2020-09-02 12:232020-09-09 09:02
migueldejuana 
migueldejuana 
normalminoralways
closedfixed 
5
 
RR20Q4RR20Q4 
marvintm
No
0044964: Implement the addPayment action in the new state engine
Implement the addPayment action in the new state engine. With this change the we will update ticket payments in the State.
n/a
No tags attached.
Issue History
2020-09-02 12:23migueldejuanaNew Issue
2020-09-02 12:23migueldejuanaAssigned To => migueldejuana
2020-09-02 12:23migueldejuanaTriggers an Emergency Pack => No
2020-09-02 12:24migueldejuanaReview Assigned To => marvintm
2020-09-03 12:19hgbotResolutionopen => fixed
2020-09-03 12:19hgbotStatusnew => resolved
2020-09-03 12:19hgbotFixed in Version => RR20Q4
2020-09-03 12:19hgbotNote Added: 0122583
2020-09-03 12:23hgbotNote Added: 0122584
2020-09-03 12:26hgbotNote Added: 0122585
2020-09-03 12:49caristuIssue cloned0044975
2020-09-03 14:54hgbotNote Added: 0122596
2020-09-07 13:53marvintmStatusresolved => closed
2020-09-08 08:53hgbotNote Added: 0122776
2020-09-09 08:11hgbotNote Added: 0122824
2020-09-09 09:02hgbotNote Added: 0122836

Notes
(0122583)
hgbot   
2020-09-03 12:19   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: c402b6e7b59e284e258c5c98b321397a1527ab53
Author: Miguel de Juana <miguel.dejuana@openbravo.com>
Date: 2020-09-03T12:16:07+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c402b6e7b59e284e258c5c98b321397a1527ab53 [^]

Fixed ISSUE-0044964: Implement the addPayment action in the new state engine

  MR: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/76 [^]

---
A web-test/model/business-object/ticket/actions/AddPayment.test.js
A web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js
A web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/AddPayment.js
A web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/AddPaymentRounding.js
M src/org/openbravo/retail/posterminal/OBPOSComponentProvider.java
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/RemovePayment.js
M web/org.openbravo.retail.posterminal/js/components/modalDeliveryChange.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js
---
(0122584)
hgbot   
2020-09-03 12:23   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.selfcheckout [^]
Changeset: 24a16f54012f74ebf5b58c2fc0b9932d7d9d1f36
Author: Miguel de Juana <miguel.dejuana@openbravo.com>
Date: 2020-09-03T12:23:04+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.selfcheckout/-/commit/24a16f54012f74ebf5b58c2fc0b9932d7d9d1f36 [^]

Related to ISSUE-0044964: Implement the addPayment action in the new state engine

  MR: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.selfcheckout/-/merge_requests/5 [^]

---
M web/org.openbravo.retail.selfcheckout/source/panels/confirmDeleteLinePanel.js
M web/org.openbravo.retail.selfcheckout/source/panels/deleteLinePanel.js
---
(0122585)
hgbot   
2020-09-03 12:26   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.digitalcoupons [^]
Changeset: 445a99324cb6d6f813142a15fb5d038e0737ffc1
Author: Miguel de Juana <miguel.dejuana@openbravo.com>
Date: 2020-09-03T12:25:33+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.digitalcoupons/-/commit/445a99324cb6d6f813142a15fb5d038e0737ffc1 [^]

Related to ISSUE-0044964: Implement the addPayment action in the new state engine

  MR: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.digitalcoupons/-/merge_requests/2 [^]

---
M web/org.openbravo.retail.digitalcoupons/js/modalDigitalCoupons.js
---
(0122596)
hgbot   
2020-09-03 14:54   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 5dec9326a0263538b0316848bd3dfc5e35625747
Author: Miguel de Juana <miguel.dejuana@openbravo.com>
Date: 2020-09-03T14:54:21+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/5dec9326a0263538b0316848bd3dfc5e35625747 [^]

Related to ISSUE-0044964: Fix jest, add missing library and fix removePayment

---
M web-test/model/business-object/ticket/SetupTicket.js
M web-test/model/business-object/ticket/actions/AddPayment.test.js
M web-test/model/business-object/ticket/actions/RemovePayment.test.js
---
(0122776)
hgbot   
2020-09-08 08:53   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 55a2f2ecc0341055bbe26c857237c15bb767abe9
Author: Miguel de Juana <miguel.dejuana@openbravo.com>
Date: 2020-09-07T15:21:21+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/55a2f2ecc0341055bbe26c857237c15bb767abe9 [^]

Related to ISSUE-0044964: Implement the addPayment action in the new state engine

- Execute a calculateReceipt after add payment to recalculate properly
the whole ticket

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0122824)
hgbot   
2020-09-09 08:11   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: f4fc0ee99a53e9817c9bac5262ec143feaac5fac
Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com>
Date: 2020-09-08T11:00:16+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/f4fc0ee99a53e9817c9bac5262ec143feaac5fac [^]

Revert "Related to ISSUE-0044964: Implement the addPayment action in the new state engine"

This reverts commit 55a2f2ecc0341055bbe26c857237c15bb767abe9.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0122836)
hgbot   
2020-09-09 09:02   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: c5533634ac595779b1d6985e6312095e5669113c
Author: Miguel de Juana <miguel.dejuana@openbravo.com>
Date: 2020-09-09T08:56:21+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c5533634ac595779b1d6985e6312095e5669113c [^]

Related to ISSUE-0044964: Implement the addPayment action in the new state engine

- Fix error when refactoring. Check exact amount error must be shown
with no forceAddPayment

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js
---