Openbravo Issue Tracking System - POS2
View Issue Details
0056251POS2POSpublic2024-04-03 21:472024-08-13 16:27
fermin_ostivar 
SABARINATH P 
normalmajoralways
closedfixed 
5
pi 
23Q4.323Q4.4 
No
0056251: 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-08-13 13:04marvintmTypedefect => backport
2024-08-13 13:04marvintmTarget Version => 24Q4
2024-08-13 13:05marvintmTarget Version24Q4 => 23Q4.3
2024-08-13 15:25hgbotNote Added: 0168043
2024-08-13 16:27hgbotResolutionopen => fixed
2024-08-13 16:27hgbotStatusscheduled => closed
2024-08-13 16:27hgbotFixed in Version => 23Q4.4
2024-08-13 16:27hgbotNote Added: 0168048
2024-08-13 16:27hgbotNote Added: 0168049

Notes
(0168043)
hgbot   
2024-08-13 15:25   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2857 [^]
(0168048)
hgbot   
2024-08-13 16:27   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: c8866fb83a4d64e5abb1cca8f4e8f8e86a5f0c7d
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 13-08-2024 18:53:23
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/c8866fb83a4d64e5abb1cca8f4e8f8e86a5f0c7d [^]

Fixed ISSUE-56251: 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
---
(0168049)
hgbot   
2024-08-13 16:27   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2857 [^]