Openbravo Issue Tracking System - POS2
View Issue Details
0052128POS2POSpublic2023-04-17 09:122024-02-19 13:47
ebecerra 
ebecerra 
normalmajorhave not tried
closedfixed 
5
 
 
No
0052128: Error in cash change when split payments
When split the payments and paid with cash with amount greater than total amount, the payments are merge in only one payment.

This behavior is caused by the module GiftCards and the completeTicket hook when try to create credit notes when have overpayments.
Enter in the POS:

1. Create a ticket and add "Insect repellent"
2. Push "Pay" button
3. Push "Split Check" and select "Divide check in equal parts" and enter "2"
4. Pay "Subtotal - 1" with 20 in Cash
5. Pay "Subtotal - 2" with 20 in Cash
6. Complete ticket

Expected result:

- 2 cash payments of 20.00
- 2 cash negative payments of 12.75

Current result:

- 1 cash payment of 20.00
- 1 cash negative payment of 12.75

No tags attached.
png I52128-Ob.png (78,650) 2023-04-17 09:13
https://issues.openbravo.com/file_download.php?file_id=18373&type=bug
png

png I52128_pos.png (85,995) 2023-04-17 09:14
https://issues.openbravo.com/file_download.php?file_id=18375&type=bug
png

jpeg PaymentError.jpeg (130,710) 2023-04-25 20:38
https://issues.openbravo.com/file_download.php?file_id=18428&type=bug
jpeg
Issue History
2023-04-17 09:12ebecerraNew Issue
2023-04-17 09:12ebecerraAssigned To => Retail
2023-04-17 09:12ebecerraTriggers an Emergency Pack => No
2023-04-17 09:13ebecerraFile Added: I52128-Ob.png
2023-04-17 09:13ebecerraFile Added: Flun-3645-Pos.png
2023-04-17 09:13ebecerraFile Deleted: Flun-3645-Pos.png
2023-04-17 09:14ebecerraFile Added: I52128_pos.png
2023-04-25 20:37dcontreraNote Added: 0148874
2023-04-25 20:38dcontreraFile Added: PaymentError.jpeg
2023-04-26 06:26guillermogilAssigned ToRetail => ebecerra
2023-04-26 06:26guillermogilStatusnew => feedback
2024-02-19 12:17ebecerraNote Added: 0160896
2024-02-19 13:47Daria_ShNote Added: 0160908
2024-02-19 13:47Daria_ShStatusfeedback => closed
2024-02-19 13:47Daria_ShResolutionopen => fixed

Notes
(0148874)
dcontrera   
2023-04-25 20:37   
Can you confirm if the error is still being reproduced? Attached is a screenshot
(0160896)
ebecerra   
2024-02-19 12:17   
In the current version the problem did not occur.
(0160908)
Daria_Sh   
2024-02-19 13:47   
Tested in livebuilds master and confirmed the issue is not reproducible