Openbravo Issue Tracking System - POS2
View Issue Details
0055092POS2POSpublic2024-04-03 21:472024-08-13 13:05
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.
depends on backport 005581724Q2.1 closed SABARINATH P Positive ticket closed with negative payments 
depends on backport 005588924Q1.3 closed SABARINATH P Positive ticket closed with negative payments 
depends on backport 005625123Q4.3 closed SABARINATH P Positive ticket closed with negative payments 
? 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
2024-06-24 07:07marvintmStatusclosed => new
2024-06-24 07:07marvintmResolutionfixed => open
2024-06-24 07:07marvintmFixed in Version24Q3 =>
2024-06-24 07:07marvintmStatusnew => scheduled
2024-06-24 07:07marvintmStatusscheduled => resolved
2024-06-24 07:07marvintmFixed in Version => 24Q3
2024-06-24 07:07marvintmResolutionopen => fixed
2024-06-24 07:07marvintmStatusresolved => closed
2024-07-02 10:37SABARINATH PStatusclosed => new
2024-07-02 10:37SABARINATH PResolutionfixed => open
2024-07-02 10:37SABARINATH PFixed in Version24Q3 =>
2024-07-02 10:37SABARINATH PStatusnew => scheduled
2024-07-02 10:37SABARINATH PStatusscheduled => resolved
2024-07-02 10:37SABARINATH PResolutionopen => fixed
2024-07-02 10:37SABARINATH PStatusresolved => closed
2024-08-13 13:04marvintmStatusclosed => new
2024-08-13 13:04marvintmResolutionfixed => open
2024-08-13 13:04marvintmStatusnew => scheduled
2024-08-13 13:04marvintmStatusscheduled => resolved
2024-08-13 13:04marvintmFixed in Version => 24Q3
2024-08-13 13:04marvintmResolutionopen => fixed
2024-08-13 13:05marvintmStatusresolved => closed

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
---