Openbravo Issue Tracking System - POS2
View Issue Details
0055889POS2POSpublic2024-04-03 21:472024-07-02 11:24
fermin_ostivar 
SABARINATH P 
normalmajoralways
closedfixed 
5
pi 
24Q1.324Q1.3 
No
0055889: 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-07-02 10:37SABARINATH PTypedefect => backport
2024-07-02 10:37SABARINATH PTarget Version => 24Q1.3
2024-07-02 10:44hgbotNote Added: 0166580
2024-07-02 11:24hgbotResolutionopen => fixed
2024-07-02 11:24hgbotStatusscheduled => closed
2024-07-02 11:24hgbotFixed in Version => 24Q1.3
2024-07-02 11:24hgbotNote Added: 0166582
2024-07-02 11:24hgbotNote Added: 0166583

Notes
(0166580)
hgbot   
2024-07-02 10:44   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2768 [^]
(0166582)
hgbot   
2024-07-02 11:24   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 926e02e9faaff44d99505167219130959b4e0dde
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 02-07-2024 14:11:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/926e02e9faaff44d99505167219130959b4e0dde [^]

Fixed ISSUE-55889: 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
---
(0166583)
hgbot   
2024-07-02 11:24   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2768 [^]