Openbravo Issue Tracking System - POS2
View Issue Details
0055817POS2POSpublic2024-04-03 21:472024-06-26 17:40
fermin_ostivar 
SABARINATH P 
normalmajoralways
closedfixed 
5
pi 
24Q2.124Q2.1 
No
0055817: 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.
blocks defect 0055092 closed SABARINATH P Positive ticket closed with negative payments 
Issue History
2024-06-24 07:07marvintmTypedefect => backport
2024-06-24 07:07marvintmTarget Version => 24Q2.1
2024-06-24 11:07hgbotNote Added: 0166245
2024-06-26 17:40hgbotResolutionopen => fixed
2024-06-26 17:40hgbotStatusscheduled => closed
2024-06-26 17:40hgbotFixed in Version => 24Q2.1
2024-06-26 17:40hgbotNote Added: 0166392
2024-06-26 17:40hgbotNote Added: 0166393

Notes
(0166245)
hgbot   
2024-06-24 11:07   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2751 [^]
(0166392)
hgbot   
2024-06-26 17:40   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: e7150b5acbe084b987511a1f5b68ef4972e1e5c3
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 26-06-2024 15:40:25
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/e7150b5acbe084b987511a1f5b68ef4972e1e5c3 [^]

Fixed ISSUE-55817: 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
---
(0166393)
hgbot   
2024-06-26 17:40   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2751 [^]