Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052380
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajorhave not tried2023-05-08 12:062023-06-22 13:49
ReporterebecerraView Statuspublic 
Assigned Toebecerra 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version23Q2.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052380: The payment information shown in HWM display must be relative to prepayment or split check

DescriptionWhen using prepaid or split checks, the payment information displayed in the HWM must be relative to the selected payment section, not for the entire ticket.

Case 1: For normal payments must be have to current behaviour

Case 2: Ticket with prepayments

Case 3. Ticket with split check

Steps To ReproduceCase 1:

In this example the ticket total amount is 17.90

1. Create a ticket and add products
2. Overpay it with Cash

     Check the HWM display:
       - Paid: Total ticket amount
       - Change: Cash change amount

     See: I_52379-Standard.png

Case 2 (You must be configure terminal to allow prepayments):

In this example the prepayments is configure at 50% and the ticket total amount is 17.90

1. Create a ticket and add products
2. Select a business partner
3. Select a delivery condition different of "Pick an Carry"
4. Select the prepayment section and overpay it with Cash (10.00)
     
     Check the HWM display:
       - Paid: 8.95
       - Change: 1.05
  
     See: I_52379-Prepayment.png

5. Select "Subtotal remaining" section
     
     Check the HWM display:
       - Paid: 0.00
       - Remaining to pay: 8.95
  
     See: I_52379-SplitCheck-Remaining.png



Case 3:

In this example the ticket total amount is 17.90 and split check in two equals parts
 
1. Create a ticket and add products
2. Go to payment window and "Split Check" in two equals parts
3. Select the "Subtotal - 1" section and overpay it with Cash (10.00)
     
     Check the HWM display:
       - Paid: 8.95
       - Change: 1.05
  
     See: I_52379-SplitCheck-Sub1.png

4. Select the "Subtotal - 2" section and overpay it with Card (10.00)
     
     Check the HWM display:
       - Paid: 8.95
       - Overpayment: 1.05
  
     See: I_52379-SplitCheck-Sub2.png

5. Select the "Subtotal remaining" section
     
     Check the HWM display:
       - Paid: 17.90
       - Remaining to pay: 0.00
  
     See: I_52379-SplitCheck-Remaining.png


TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks feature request 0052379 closedebecerra The payment information shown in HWM display must be relative to prepayment or split check 

-  Notes
(0149929)
hgbot (developer)
2023-05-18 13:23

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1818 [^]
(0149932)
hgbot (developer)
2023-05-18 13:53

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1201 [^]
(0150326)
hgbot (developer)
2023-05-26 10:04

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1818 [^]
(0150342)
hgbot (developer)
2023-05-26 13:49

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1201 [^]
(0151376)
hgbot (developer)
2023-06-20 14:10

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1906 [^]
(0151377)
hgbot (developer)
2023-06-20 14:13

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1252 [^]
(0151500)
hgbot (developer)
2023-06-22 13:49

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1252 [^]
(0151501)
hgbot (developer)
2023-06-22 13:49

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1906 [^]
(0151502)
hgbot (developer)
2023-06-22 13:49

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: a225ce52479759c7c0ebcef54c3bea0cef948146
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 22-06-2023 11:49:27
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/a225ce52479759c7c0ebcef54c3bea0cef948146 [^]

Fixes ISSUE-52380: The payment information shown in the HWM display shows info about the current subtotal

---
A web-jspack/org.openbravo.pos2/src/model/global/__test__/SetCurrentPaymentSubtotal.test.js
A web-jspack/org.openbravo.pos2/src/model/global/actions/SetCurrentPaymentSubtotal.js
A web-jspack/org.openbravo.pos2/src/model/global/actions/SetSelectedPaymentSubtotal.js
A web-jspack/org.openbravo.pos2/src/model/ticket/actions/PaymentDisplay.js
A web-jspack/org.openbravo.pos2/src/model/ticket/actions/__test__/PaymentDisplay.test.js
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentList/SubtotalsGrid.jsx
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentPanel/__mock__/paymentsInitialization.js
M web-jspack/org.openbravo.pos2/src/model/global/GlobalExtension.js
M web-jspack/org.openbravo.pos2/src/model/ticket/TicketExtension.js
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/RevertUnpaidSubtotalsUserAction.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/SplitFromOrderUserAction.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/SplitPaymentEqualPartsUserAction.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/RevertUnpaidSubtotals.useraction.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/SplitFromOrder.useraction.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/SplitPaymentByAmount.useraction.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/SplitPaymentEqualParts.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/UIExtension.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/SwitchToPayments.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/SwitchToPayments.js
R web-jspack/org.openbravo.pos2/src/model/user-interface/actions/SetSelectedPaymentSubtotal.js
---
(0151503)
hgbot (developer)
2023-06-22 13:49

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 09fbcba6daca609871e57b77597bec44ae631ead
Author: Eduardo Becerra <eduardo.becerra@openbravo.com>
Date: 20-06-2023 09:43:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/09fbcba6daca609871e57b77597bec44ae631ead [^]

Fixes ISSUE-52380: The payment information shown in the HWM display shows info about the current subtotal

---
M web-test/external-device/printing/PrintTemplateGeneration.test.js
M web-test/external-device/printing/PrintUtils.test.js
M web-test/external-device/printing/TicketPrinter.test.js
M web/org.openbravo.retail.posterminal/app/external-device/printing/PrintUtils.js
M web/org.openbravo.retail.posterminal/app/external-device/printing/TicketPrinter.js
M web/org.openbravo.retail.posterminal/res/displaytotal.xml
---

- Issue History
Date Modified Username Field Change
2023-05-08 12:38 ebecerra Type feature request => backport
2023-05-08 12:38 ebecerra Target Version => 23Q2.1
2023-05-18 13:23 hgbot Note Added: 0149929
2023-05-18 13:53 hgbot Note Added: 0149932
2023-05-26 10:04 hgbot Note Added: 0150326
2023-05-26 13:49 hgbot Note Added: 0150342
2023-06-05 09:48 guilleaer Target Version 23Q2.1 => 23Q2.2
2023-06-20 14:10 hgbot Note Added: 0151376
2023-06-20 14:13 hgbot Note Added: 0151377
2023-06-22 13:49 hgbot Note Added: 0151500
2023-06-22 13:49 hgbot Note Added: 0151501
2023-06-22 13:49 hgbot Resolution open => fixed
2023-06-22 13:49 hgbot Status scheduled => closed
2023-06-22 13:49 hgbot Fixed in Version => 23Q2.2
2023-06-22 13:49 hgbot Note Added: 0151502
2023-06-22 13:49 hgbot Fixed in Version 23Q2.2 => RR23Q2.2
2023-06-22 13:49 hgbot Note Added: 0151503


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker