Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0038750 | Retail Modules | Web POS | public | 2018-06-13 13:23 | 2018-06-15 11:54 |
|
Reporter | aaroncalero | |
Assigned To | ranjith_qualiantech_com | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | migueldejuana |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0038750: It is possible to generate overpayments in cash payment methods |
Description | It is possible to generate overpayments in cash payment methods.
When a layaway with a cash prepayment is loaded in web pos, and a second cash payment is added, if this second payment is greater that the pending amount, but lower than the total amount of the ticket, instead of generating change for the customer, an overpayment is generated. |
Steps To Reproduce | Login in web pos.
Create a new Layaway (Menu > Layaway this receipt)
Add an avalanche transceiver (total: 150.50€)
Click on the Total Amount button to go to the payments tab
Add a 50€ payment in Cash
Click on Layaway to synchronize the ticket.
Go to the Menu > Open Receipts and load the layaway again.
Click on the Total Amount button to go to the payments tab.
Add a 110€ payment in Cash.
verify that the payment tab shows a "9.50€ overpayment." message instead of a "9.50€ remaining to return." message. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0038333 | | closed | ranjith_qualiantech_com | Wrong Payment Details created in backend when paying Layaway with Cash first then overpaying with Digital Coupon | causes | defect | 0038904 | | closed | ranjith_qualiantech_com | Change was not caluclated properly when payments exceeds pending amount |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-06-13 13:23 | aaroncalero | New Issue | |
2018-06-13 13:23 | aaroncalero | Assigned To | => Retail |
2018-06-13 13:23 | aaroncalero | Resolution time | => 1530050400 |
2018-06-13 13:23 | aaroncalero | Triggers an Emergency Pack | => No |
2018-06-13 13:26 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2018-06-13 13:26 | ranjith_qualiantech_com | Status | new => scheduled |
2018-06-13 15:16 | ranjith_qualiantech_com | Relationship added | related to 0038333 |
2018-06-13 15:22 | aaroncalero | Note Added: 0105128 | |
2018-06-13 15:22 | aaroncalero | Note Deleted: 0105128 | |
2018-06-14 12:52 | hgbot | Checkin | |
2018-06-14 12:52 | hgbot | Note Added: 0105141 | |
2018-06-14 12:52 | hgbot | Status | scheduled => resolved |
2018-06-14 12:52 | hgbot | Resolution | open => fixed |
2018-06-14 12:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/250d589a586b180e0b7d5888fa13a2b138e9b570 [^] |
2018-06-14 15:58 | hgbot | Checkin | |
2018-06-14 15:58 | hgbot | Note Added: 0105145 | |
2018-06-14 16:22 | migueldejuana | Note Added: 0105147 | |
2018-06-14 16:22 | migueldejuana | Status | resolved => new |
2018-06-14 16:22 | migueldejuana | Resolution | fixed => open |
2018-06-15 08:11 | ranjith_qualiantech_com | Status | new => scheduled |
2018-06-15 10:32 | hgbot | Checkin | |
2018-06-15 10:32 | hgbot | Note Added: 0105169 | |
2018-06-15 10:32 | hgbot | Status | scheduled => resolved |
2018-06-15 10:32 | hgbot | Resolution | open => fixed |
2018-06-15 10:32 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/250d589a586b180e0b7d5888fa13a2b138e9b570 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/79ca02c60af2e3458de7db970271a2b681e5e90c [^] |
2018-06-15 11:01 | hgbot | Checkin | |
2018-06-15 11:01 | hgbot | Note Added: 0105174 | |
2018-06-15 11:54 | migueldejuana | Review Assigned To | => migueldejuana |
2018-06-15 11:54 | migueldejuana | Note Added: 0105178 | |
2018-06-15 11:54 | migueldejuana | Status | resolved => closed |
2018-07-26 10:29 | ranjith_qualiantech_com | Relationship added | causes 0038904 |
Notes |
|
(0105141)
|
hgbot
|
2018-06-14 12:52
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 250d589a586b180e0b7d5888fa13a2b138e9b570
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jun 14 16:22:25 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/250d589a586b180e0b7d5888fa13a2b138e9b570 [^]
Fixed issue 38750 : Change should not be calculated based on Prepayments
* If Cash payments (includes prepayment) is higher than Total Amount, then Extra Cash should be given as Change
* If Card payments (includes prepayment) is higher than Total Amount, then Extra Cash should be considred as Overpayment
---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
|
|
|
(0105145)
|
hgbot
|
2018-06-14 15:58
|
|
|
|
|
Login in web pos.
Create a new Layaway (Menu > Layaway this receipt)
Add an avalanche transceiver (total: 150.50€)
Click on the Total Amount button to go to the payments tab
Add a 20€ payment in Cash
Click on Layaway to synchronize the ticket.
Go to the Menu > Open Receipts and load the layaway again.
Click on the Total Amount button to go to the payments tab.
Add a 20€ payment in Cash.
Add a 150$ payment in USA Cash.
verify that the payment tab shows a "3.62$ overpayment." message instead of a "3.62$ remaining to return." message.
Add a test with this case.
Play with payments and try to find another failing case |
|
|
(0105169)
|
hgbot
|
2018-06-15 10:32
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 79ca02c60af2e3458de7db970271a2b681e5e90c
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Jun 15 14:01:58 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/79ca02c60af2e3458de7db970271a2b681e5e90c [^]
Fixed issue 38750 : Change should not be calculated based on Prepayments
* If Cash payments (includes prepayment) is higher than Total Amount, then Extra Cash should be given as Change
* If Card payments (includes prepayment) is higher than Total Amount, then Extra Cash should be considred as Overpayment
---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
|
|
|
(0105174)
|
hgbot
|
2018-06-15 11:01
|
|
|
|
|
|