Openbravo Issue Tracking System - POS2
View Issue Details
0055092POS2POSpublic2024-04-03 21:472024-04-29 08:39
fermin_ostivar 
SABARINATH P 
normalmajoralways
closedfixed 
5
pi 
24Q3 
No
0055092: Positive ticket closed with negative payments
It is possible to close a positive ticket adding a negative payment through the keyboard
[WebPOS]
Add Product Whistle, Price 2.90
Click on Pay
Press key minus sign (-) on the keyboard
Press key 4 on the keyboard
Click on Cash
Click on Done

The ticket is closed and saved in the backoffice with a negative payment
To avoid closing normal receipts with negative payments
No tags attached.
? Screencast from 03-04-24 21:41:50.webm (1,904,947) 2024-04-03 21:47
https://issues.openbravo.com/file_download.php?file_id=19607&type=bug
Issue History
2024-04-03 21:47fermin_ostivarNew Issue
2024-04-03 21:47fermin_ostivarAssigned To => Retail
2024-04-03 21:47fermin_ostivarFile Added: Screencast from 03-04-24 21:41:50.webm
2024-04-03 21:47fermin_ostivarTriggers an Emergency Pack => No
2024-04-04 17:47guilleaerStatusnew => acknowledged
2024-04-05 06:45SABARINATH PAssigned ToRetail => SABARINATH P
2024-04-05 09:28SABARINATH PStatusacknowledged => scheduled
2024-04-06 09:15hgbotNote Added: 0162900
2024-04-29 08:39hgbotNote Added: 0163868
2024-04-29 08:39hgbotResolutionopen => fixed
2024-04-29 08:39hgbotStatusscheduled => closed
2024-04-29 08:39hgbotFixed in Version => 24Q3
2024-04-29 08:39hgbotNote Added: 0163869

Notes
(0162900)
hgbot   
2024-04-06 09:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2550 [^]
(0163868)
hgbot   
2024-04-29 08:39   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2550 [^]
(0163869)
hgbot   
2024-04-29 08:39   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 9b14859d478663ed30c93e1f90666aaa546a9f06
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 29-04-2024 06:34:39
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/9b14859d478663ed30c93e1f90666aaa546a9f06 [^]

Fixed ISSUE-55092: Handled negative payment for positive ticket.

---
M web-jspack/org.openbravo.pos2/src/model/ticket/TicketUtils.js
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/TicketUtils.test.js
---