Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044621Retail ModulesWeb POSpublic2020-07-16 12:122020-07-31 08:45
montesm 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR20Q4 
No
0044621: Wrong payment details on ticket-invoice.
Wrong payment details on ticket-invoice.
Printed invoice is wrong and also the data behind.
If I pay 200€ with cash of a 150.50€ ticket.
The amount paid in cash on the ticket is 200
The amount paid in cash on the invoice is 150.50
Webpos
-New receipt
-menu option: Issue Invoice
-insert Product 'Avalanche transceiver', price 150.50
-checkout
-Payment: CASH: 200

-ticket printing result: (OK)

   Total Eur: 150.50
   Cash: 200.00
   Change: 49.50
Put a breakpoint in prePrint to see the payment:
The amount paid in cash on the ticket is 200

-ticket-invoice printing result: (NOK)

   Total Eur: 150.50
   (No info on Cash Payment Method) <<<<<
   Change: 49.50
Put a breakpoint in prePrint to see the payment:
The amount paid in cash on the ticket is 150.50
No tags attached.
png Screenshot from 2020-07-16 10-27-23.png (58,074) 2020-07-16 12:19
https://issues.openbravo.com/file_download.php?file_id=14774&type=bug
png

png Screenshot from 2020-07-16 10-27-25.png (57,537) 2020-07-16 12:19
https://issues.openbravo.com/file_download.php?file_id=14775&type=bug
png
Issue History
2020-07-16 12:12montesmNew Issue
2020-07-16 12:12montesmAssigned To => Retail
2020-07-16 12:12montesmTriggers an Emergency Pack => No
2020-07-16 12:16guillermogilResolution time => 1595541600
2020-07-16 12:16guillermogilDescription Updatedbug_revision_view_page.php?rev_id=21360#r21360
2020-07-16 12:19guillermogilSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=21362#r21362
2020-07-16 12:19guillermogilFile Added: Screenshot from 2020-07-16 10-27-23.png
2020-07-16 12:19guillermogilFile Added: Screenshot from 2020-07-16 10-27-25.png
2020-07-28 10:50maiteResolution time1595541600 => 1597010400
2020-07-28 10:50maiteSeveritycritical => major
2020-07-30 09:57ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-07-30 09:57ranjith_qualiantech_comStatusnew => scheduled
2020-07-31 06:51hgbotNote Added: 0121721
2020-07-31 06:53hgbotNote Added: 0121722
2020-07-31 08:45hgbotResolutionopen => fixed
2020-07-31 08:45hgbotStatusscheduled => closed
2020-07-31 08:45hgbotNote Added: 0121728
2020-07-31 08:45hgbotFixed in Version => RR20Q4
2020-07-31 08:45hgbotNote Added: 0121729

Notes
(0121721)
hgbot   
2020-07-31 06:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/39 [^]
(0121722)
hgbot   
2020-07-31 06:53   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/39 [^]
(0121728)
hgbot   
2020-07-31 08:45   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/39 [^]
(0121729)
hgbot   
2020-07-31 08:45   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 463c7ca0bf172ebb711fb77350b89ede9047a03f
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2020-07-31T10:26:49+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/463c7ca0bf172ebb711fb77350b89ede9047a03f [^]

Fixed ISSUE-44621: Invoice Payments should be updated before printing invoice
* Before printing invoice, Calculated payments should be updated to invoice like order

---
M web/org.openbravo.retail.posterminal/js/utils/ticketCloseUtils.js
---