Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052586Retail ModulesWeb POSpublic2023-05-29 10:302023-06-26 08:30
ngarcia 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR23Q3 
No
0052586: Change amount is not shown while printing a duplicate of a ticket in Web POS
Change amount is not shown while printing a duplicate of a ticket in Web POS

Start the HWM:

[BO]

Configure the Hardware URL in the Touchpoint
Set the WEB POS action print preference to Y

[WEB POS]

Create a ticket and add product

Choose the cash payment metho

Set an amount greater than the total

A receipt is displayed with the change amount (correct)

Check the ticket is printed with the Change

Open the paid ticket created by searching it.

Choose Print in the menu.

Check the ticket is printed without Change
No tags attached.
related to defect 0041596 closed rqueralta Change amount is not shown while printing a duplicate of a ticket in Web POS 
related to defect 0050331 closed njimenez Payments limit management 
Issue History
2023-05-29 10:30ngarciaNew Issue
2023-05-29 10:30ngarciaAssigned To => Retail
2023-05-29 10:30ngarciaTriggers an Emergency Pack => No
2023-05-29 10:30ngarciaIssue generated from0041596
2023-05-29 10:32ngarciaRelationship addedrelated to 0041596
2023-05-29 10:33ngarciaRelationship addedrelated to 0050331
2023-05-29 10:42ngarciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26144#r26144
2023-05-29 10:55ngarciaNote Added: 0150374
2023-05-29 11:09ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-05-29 12:09ngarciaNote Edited: 0150374bug_revision_view_page.php?bugnote_id=0150374#r26148
2023-05-30 14:05ngarciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26157#r26157
2023-06-01 07:49ranjith_qualiantech_comStatusnew => scheduled
2023-06-02 04:53hgbotNote Added: 0150619
2023-06-26 08:30hgbotResolutionopen => fixed
2023-06-26 08:30hgbotStatusscheduled => closed
2023-06-26 08:30hgbotFixed in Version => RR23Q3
2023-06-26 08:30hgbotNote Added: 0151615
2023-06-26 08:30hgbotNote Added: 0151616

Notes
(0150374)
ngarcia   
2023-05-29 10:55   
(edited on: 2023-05-29 12:09)
Check the change is also correctly printed when the payment in cash with change is reverted and paid with card. Check both first printing and reprinting it through Print Menu entry

(0150619)
hgbot   
2023-06-02 04:53   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1224 [^]
(0151615)
hgbot   
2023-06-26 08:30   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 6170bfa8e73f83c167f32b3f6ffdb9d4d4ce4ae4
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 26-06-2023 05:31:03
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/6170bfa8e73f83c167f32b3f6ffdb9d4d4ce4ae4 [^]

Fixed ISSUE-52586: Change payment details should be added in Payment data
* When completing ticket, Change payment info should be added in
  original payment's paymentData
* When printing new ticket or paid ticket,
  changeLabel should be generated for all payments

---
M web-test/external-device/printing/PrintUtils.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/app/model/business-object/ticket/CompleteTicketUtils.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/ReplaceTicket.js
---
(0151616)
hgbot   
2023-06-26 08:30   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1224 [^]