Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037264 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2017-11-08 15:28 | 2019-04-11 13:12 | |||
Reporter | aaroncalero | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037264: Returning change in a payment method with payment data generates a wrong payment plan | |||||||
Description | If you generate change in a ticket and the cash payment method is not grouped (because it is created with payment data), when the ticket is finally synchronized the payment plan is wrongly generated. | |||||||
Steps To Reproduce | - Add this hook to your code: OB.UTIL.HookManager.registerHook('OBPOS_preAddPayment', function (args, callbacks) { if (args.paymentToAdd.get('amount') < 0) { args.paymentToAdd.set('paid', args.paymentToAdd.get('amount')); args.paymentToAdd.set('origAmount', args.paymentToAdd.get('amount')) args.paymentToAdd.set('paymentData', { change: 'change payment' }); } OB.UTIL.HookManager.callbackExecutor(args, callbacks); }); - Load WebPOS - Add an Avalanche transceiver - Add 5€ as cash - Pay 150.5€ with card Go to the Sales Order window in backend and verify that the Payment Plan is wrong, | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0111081) marvintm (manager) 2019-04-11 13:12 |
This issue has been fixed as part of the multichange project |
Issue History | |||
Date Modified | Username | Field | Change |
2017-11-08 15:28 | aaroncalero | New Issue | |
2017-11-08 15:28 | aaroncalero | Assigned To | => Retail |
2017-11-08 15:28 | aaroncalero | Triggers an Emergency Pack | => No |
2017-11-08 15:28 | aaroncalero | Relationship added | related to 0036622 |
2018-03-22 08:15 | ranjith_qualiantech_com | Relationship added | related to 0038048 |
2018-03-22 08:24 | ranjith_qualiantech_com | Relationship added | related to 0038038 |
2018-03-22 08:24 | ranjith_qualiantech_com | Relationship deleted | related to 0038048 |
2018-03-22 14:01 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2018-03-26 07:55 | ranjith_qualiantech_com | Status | new => scheduled |
2019-04-11 13:12 | marvintm | Review Assigned To | => marvintm |
2019-04-11 13:12 | marvintm | Note Added: 0111081 | |
2019-04-11 13:12 | marvintm | Status | scheduled => closed |
2019-04-11 13:12 | marvintm | Resolution | open => fixed |
Copyright © 2000 - 2009 MantisBT Group |