Openbravo Issue Tracking System - POS2
View Issue Details
0048746POS2POSpublic2022-03-08 18:082022-04-07 09:30
timothee_catteeuw 
sntgreale 
normalcriticalalways
closedfixed 
5
 
 
guilleaer
No
0048746: JIRA 2743 - Cash amount is incorrect on sales receipt when there is change
When there is cash change to print on the sales ticket, the amount of cash given to the cashier by the client is incorrect.

We can see the same problem when printing a dematerialized ticket.

Additional information :

→ for this kind of transaction when you print a duplicate ticket, there no issue, the amount of cash is correct.
Steps to reproduce :

start a new ticket

add several products

switch to payment mode

pay in cash with an amount higher than what is expected

Print a ticket

The amount of what was paid is incorrect, it seems it is an addition of what was given by the customer andthe change.

You can see an example in screenshot, in that case, the client gave 10 €. It should be displayed :

Amount = 4.90 €

change = 5.10

Cash = 10 €
No tags attached.
png image-2022-03-08-17-50-05-697.png (26,464) 2022-03-08 18:08
https://issues.openbravo.com/file_download.php?file_id=16708&type=bug
png

png 2022-04-04_15h28_16.png (54,936) 2022-04-04 15:28
https://issues.openbravo.com/file_download.php?file_id=16844&type=bug
png
Issue History
2022-03-08 18:08timothee_catteeuwNew Issue
2022-03-08 18:08timothee_catteeuwAssigned To => Retail
2022-03-08 18:08timothee_catteeuwFile Added: image-2022-03-08-17-50-05-697.png
2022-03-08 18:08timothee_catteeuwTriggers an Emergency Pack => No
2022-03-09 14:08timothee_catteeuwDescription Updatedbug_revision_view_page.php?rev_id=23755#r23755
2022-03-10 11:34guilleaerTag Attached: AGPCustom
2022-03-10 12:03javierRodriguezAssigned ToRetail => javierRodriguez
2022-03-14 09:35guilleaerStatusnew => scheduled
2022-03-14 09:35guilleaerAssigned TojavierRodriguez => ebecerra
2022-03-15 09:26guilleaerNote Added: 0135716
2022-03-15 09:26guilleaerStatusscheduled => resolved
2022-03-15 09:26guilleaerResolutionopen => fixed
2022-03-15 09:27guilleaerReview Assigned To => guilleaer
2022-03-15 09:27guilleaerStatusresolved => closed
2022-04-04 15:27FelixakaNote Added: 0136306
2022-04-04 15:28FelixakaFile Added: 2022-04-04_15h28_16.png
2022-04-04 15:29FelixakaAssigned Toebecerra => Retail
2022-04-04 15:29FelixakaNote Added: 0136307
2022-04-04 15:29FelixakaStatusclosed => new
2022-04-04 15:29FelixakaResolutionfixed => open
2022-04-05 03:27sntgrealeAssigned ToRetail => sntgreale
2022-04-05 03:27sntgrealeStatusnew => scheduled
2022-04-05 16:16guilleaerTag Detached: AGPCustom
2022-04-06 20:56hgbotNote Added: 0136377
2022-04-07 09:30hgbotResolutionopen => fixed
2022-04-07 09:30hgbotStatusscheduled => closed
2022-04-07 09:30hgbotFixed in Version => RR22Q3
2022-04-07 09:30hgbotNote Added: 0136388
2022-04-07 09:30hgbotNote Added: 0136389

Notes
(0135716)
guilleaer   
2022-03-15 09:26   
https://gitlab.com/obcustomers/AGAP/com.openbravo.flunch.reports/-/merge_requests/36 [^]
(0136306)
Felixaka   
2022-04-04 15:27   
There still have an issue with the receipt tiket.

In fact here when we make a payment with a "Force credit cart" "Crt cart" and we pay in cash with an amout greater, It is only the the payement in chash which are visible in the ticket.

It is also not visvible in the back office.

Step de reproduce :

- Choose several aritcle

- Paid : 1€ in "forcage cb"

         5€ in "forcage crt"
        
         20€ in "espece" (Amout of espece should exceed the price"

Print the ticket

and see that it is not recorded.
(0136307)
Felixaka   
2022-04-04 15:29   
Please check the note i have add
(0136377)
hgbot   
2022-04-06 20:56   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/764 [^]
(0136388)
hgbot   
2022-04-07 09:30   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 925694cd47d518372dc15ce3008213d0f592b582
Author: Santiago Reale <santiago.reale@smfconsulting.es>
Date: 06-04-2022 20:47:29
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/925694cd47d518372dc15ce3008213d0f592b582 [^]

Fixes ISSUE-48746: Improvement on payment search without change.

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/CompleteTicketUtils.js
---
(0136389)
hgbot   
2022-04-07 09:30   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/764 [^]