Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0052379 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| feature request | [POS2] POS | major | have not tried | 2023-05-08 12:06 | 2023-06-19 15:09 | |||
| Reporter | ebecerra | View Status | public | |||||
| Assigned To | ebecerra | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | approved | |||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0052379: The payment information shown in HWM display must be relative to prepayment or split check | |||||||
| Description | When using prepaid or split checks, the payment information displayed in the HWM must be linked to the subtotal which is selected instead off for the whole ticket. Case 1: For normal payments must be like currently (no changes)(Use whole ticket) Case 2: Ticket with prepayments Case 3. Ticket with split check  | |||||||
| Steps To Reproduce | Case 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 (Terminal must be configured to allow prepayments): Pre: prepayments are configured as 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 from "Pick and Carry" 4. Select the prepayment section (subtotal 1) and overpay it with Cash (10.00) Check the HWM display: - Paid: 8.95 - Change: 1.05 See: I_52379-Prepayment.png 5. Select the "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 - Paid: 0.00 - Remaining to pay: 8.95 add a payment to 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 - Paid: 0.00 - Remaining to pay: 8.95 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  | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
		  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] 
			 | 
|||||||||||||||
  | 
|||||||||||||||
  		Notes	 | 
|
| 
				(0149473) hgbot (developer) 2023-05-09 10:06  | 
	
		Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1182 [^] | 
| 
				(0149474) hgbot (developer) 2023-05-09 10:12  | 
	
		Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1769 [^] | 
| 
				(0151307) hgbot (developer) 2023-06-19 15:08  | 
	
		Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1182 [^] | 
| 
				(0151308) hgbot (developer) 2023-06-19 15:08  | 
	
		Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: a3f3f944a83d08a53c9f6f6cfe60fb3a967922fd Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com> Date: 19-06-2023 13:08:25 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/a3f3f944a83d08a53c9f6f6cfe60fb3a967922fd [^] Fixes ISSUE-52379: 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 ---  | 
| 
				(0151309) hgbot (developer) 2023-06-19 15:09  | 
	
		Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: a4f94f4f9701e22d30f327f12e9c6704c7597a09 Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com> Date: 19-06-2023 13:09:57 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/a4f94f4f9701e22d30f327f12e9c6704c7597a09 [^] Related to ISSUE-52379: 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 ---  | 
| 
				(0151310) hgbot (developer) 2023-06-19 15:09  | 
	
		Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1769 [^] | 
  Issue History	 | 
|||
| Date Modified | Username | Field | Change | 
| 2023-05-08 12:06 | ebecerra | New Issue | |
| 2023-05-08 12:06 | ebecerra | Assigned To | => Retail | 
| 2023-05-08 12:06 | ebecerra | OBNetwork customer | => No | 
| 2023-05-08 12:06 | ebecerra | Triggers an Emergency Pack | => No | 
| 2023-05-08 12:08 | ebecerra | File Added: I_52379-Standard.png | |
| 2023-05-08 12:30 | ebecerra | Assigned To | Retail => ebecerra | 
| 2023-05-08 12:30 | ebecerra | Status | new => scheduled | 
| 2023-05-08 12:30 | ebecerra | Description Updated | View Revisions | 
| 2023-05-08 12:30 | ebecerra | Steps to Reproduce Updated | View Revisions | 
| 2023-05-08 12:30 | ebecerra | File Added: I_52379-Prepayment.png | |
| 2023-05-08 12:30 | ebecerra | File Added: I_52379-Prepayment-Remaining.png | |
| 2023-05-08 12:31 | ebecerra | File Added: I_52379-SplitCheck-Sub1.png | |
| 2023-05-08 12:31 | ebecerra | File Added: I_52379-SplitCheck-Sub2.png | |
| 2023-05-08 12:31 | ebecerra | File Added: I_52379-SplitCheck-Remaining.png | |
| 2023-05-08 12:31 | ebecerra | Description Updated | View Revisions | 
| 2023-05-08 12:37 | ebecerra | Status | scheduled => acknowledged | 
| 2023-05-08 12:38 | ebecerra | Status | acknowledged => scheduled | 
| 2023-05-08 14:21 | guilleaer | Description Updated | View Revisions | 
| 2023-05-08 14:21 | guilleaer | Steps to Reproduce Updated | View Revisions | 
| 2023-05-09 10:06 | hgbot | Merge Request Status | => open | 
| 2023-05-09 10:06 | hgbot | Note Added: 0149473 | |
| 2023-05-09 10:12 | hgbot | Note Added: 0149474 | |
| 2023-06-19 08:57 | hgbot | Merge Request Status | open => approved | 
| 2023-06-19 15:08 | hgbot | Note Added: 0151307 | |
| 2023-06-19 15:08 | hgbot | Resolution | open => fixed | 
| 2023-06-19 15:08 | hgbot | Status | scheduled => closed | 
| 2023-06-19 15:08 | hgbot | Fixed in Version | => RR23Q3 | 
| 2023-06-19 15:08 | hgbot | Note Added: 0151308 | |
| 2023-06-19 15:09 | hgbot | Note Added: 0151309 | |
| 2023-06-19 15:09 | hgbot | Note Added: 0151310 | |
| Copyright © 2000 - 2009 MantisBT Group |