Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044874Retail ModulesWeb POSpublic2020-08-24 11:532020-09-15 05:33
avicente 
prakashmurugesan88 
urgentcriticalalways
closedfixed 
5
 
RR20Q4 
No
0044874: The payments info printed in tickets and invoices is wrong for payments in cash with returns
The payments info printed in tickets and invoices is wrong for payments in cash with returns. The payment done by the customer in cash does not take into acount the return. It happens when printing the ticket or invoce the first time and also when reprinting them.

See video https://drive.google.com/file/d/1j3gA3xa_oRK86J3Y0O_jDgJFAm6ch6pc/view [^]


Related issue https://issues.openbravo.com/view.php?id=44621 [^]
See video https://drive.google.com/file/d/1j3gA3xa_oRK86J3Y0O_jDgJFAm6ch6pc/view [^]
No tags attached.
patch I44874_20Q1.patch (10,386) 2020-09-15 05:33
https://issues.openbravo.com/file_download.php?file_id=14965&type=bug
Issue History
2020-08-24 11:53avicenteNew Issue
2020-08-24 11:53avicenteAssigned To => Retail
2020-08-24 11:53avicenteResolution time => 1599688800
2020-08-24 11:53avicenteTriggers an Emergency Pack => No
2020-08-24 11:54avicentePrioritynormal => urgent
2020-08-24 11:55avicenteDescription Updatedbug_revision_view_page.php?rev_id=21530#r21530
2020-08-24 11:58avicenteDescription Updatedbug_revision_view_page.php?rev_id=21531#r21531
2020-08-24 16:35prakashmurugesan88Assigned ToRetail => prakashmurugesan88
2020-08-24 16:35prakashmurugesan88Statusnew => scheduled
2020-09-04 06:51hgbotNote Added: 0122624
2020-09-04 06:52hgbotNote Added: 0122625
2020-09-04 10:43prakashmurugesan88Note Added: 0122676
2020-09-11 05:39hgbotNote Added: 0122933
2020-09-14 07:13hgbotResolutionopen => fixed
2020-09-14 07:13hgbotStatusscheduled => closed
2020-09-14 07:13hgbotFixed in Version => RR20Q4
2020-09-14 07:13hgbotNote Added: 0122984
2020-09-14 07:13hgbotNote Added: 0122985
2020-09-15 05:33prakashmurugesan88File Added: I44874_20Q1.patch

Notes
(0122624)
hgbot   
2020-09-04 06:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/59 [^]
(0122625)
hgbot   
2020-09-04 06:52   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/79 [^]
(0122676)
prakashmurugesan88   
2020-09-04 10:43   
Following document explains different actions and its expected values,

https://docs.google.com/spreadsheets/d/1SQENjoLMa4_b95W_R1ryZAFc3lyYGkDALkYwUvHPmsM/edit?usp=sharing [^]
(0122933)
hgbot   
2020-09-11 05:39   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/92 [^]
(0122984)
hgbot   
2020-09-14 07:13   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 85c70228e0370525c4a5cd8a522b735e6e740ba9
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-09-14T10:33:59+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/85c70228e0370525c4a5cd8a522b735e6e740ba9 [^]

Fixed BUG-44874 : Calculated exact paid amount from changeAmt before printing receipt
* This fixes overpayment amount displayed properly on printing and reprinting
* In case of main printing, change amount are fetched from changePayments property
* In case of reprinting, change amount are fetched from payment's paymentData property
* In case of cancel and replace, overpayment data is not displayed for old payment(cancelled receipt)
* In case of multireceipt, overpayment data is not displayed
* Included MultiReceipt flag to paymentData information
* With this info overpayment calculation from change amount can be skipped in case multireceipt printing

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/CompleteMultiTicketUtils.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
---
(0122985)
hgbot   
2020-09-14 07:13   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/92 [^]