Openbravo Issue Tracking System - POS2
View Issue Details
0046704POS2POSpublic2021-05-18 09:572021-06-28 16:13
psanjuan 
pablobessone 
normalmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
 
No
0046704: Amount field remains editable when all the amount of an order is paid.
Amount field remains editable when all the amount of an order is paid.
Create a sale, select any product.
Press Pay.
Notice that a message in shown on top of that window, saying Remaining 12.00€.
Choose a payment method below, for instance cash.

Notice that an exact amount paid message is shown, which is correct, However the cursor remains in the "Amount" field, therefore it is possible to enter any data in the Amount field. This is confusing as no additional amount should be entered in it.

See image attached.
Once an order is fully paid, Amount field should not be editable.
No tags attached.
depends on backport 0046795TAP closed pablobessone Amount field remains editable when all the amount of an order is paid. 
png Issue_46704.png (80,060) 2021-05-19 09:52
https://issues.openbravo.com/file_download.php?file_id=15768&type=bug
png
Issue History
2021-05-18 09:57psanjuanNew Issue
2021-05-18 09:57psanjuanAssigned To => Retail
2021-05-18 09:57psanjuanTriggers an Emergency Pack => No
2021-05-18 09:57psanjuanFile Added: Issue_46704.png
2021-05-18 09:58psanjuanAssigned ToRetail => plujan
2021-05-18 10:00psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=22545#r22545
2021-05-18 10:00psanjuanFile Deleted: Issue_46704.png
2021-05-18 10:00psanjuanFile Added: Issue_46704.png
2021-05-19 09:42plujanAssigned Toplujan => Retail
2021-05-19 09:48dbazNote Added: 0128386
2021-05-19 09:52psanjuanFile Deleted: Issue_46704.png
2021-05-19 09:52psanjuanFile Added: Issue_46704.png
2021-05-21 18:54guilleaerResolution time => 1624226400
2021-05-21 18:54guilleaerPriorityurgent => normal
2021-05-21 18:54guilleaerStatusnew => acknowledged
2021-05-21 18:54guilleaerStatusacknowledged => scheduled
2021-05-21 18:55guilleaerStatusscheduled => acknowledged
2021-06-11 13:43pablobessoneAssigned ToRetail => pablobessone
2021-06-11 13:43pablobessoneStatusacknowledged => scheduled
2021-06-11 14:17dmiguelezAssigned Topablobessone => Retail
2021-06-11 14:17dmiguelezStatusscheduled => acknowledged
2021-06-17 15:49pablobessoneAssigned ToRetail => pablobessone
2021-06-17 15:49pablobessoneStatusacknowledged => scheduled
2021-06-17 19:28hgbotNote Added: 0129630
2021-06-17 19:29hgbotNote Added: 0129631
2021-06-28 16:13hgbotResolutionopen => fixed
2021-06-28 16:13hgbotStatusscheduled => closed
2021-06-28 16:13hgbotNote Added: 0129862
2021-06-28 16:13hgbotNote Added: 0129863
2021-06-28 16:13hgbotNote Added: 0129864
2021-06-28 16:13hgbotNote Added: 0129865

Notes
(0128386)
dbaz   
2021-05-19 09:48   
Agree. All the keypad component, including the input, should be disabled after the payment is completed.

Also, a tooltip should be shown in those disabled buttons explaining that the full amount has been already paid.
(0129630)
hgbot   
2021-06-17 19:28   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/568 [^]
(0129631)
hgbot   
2021-06-17 19:29   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/566 [^]
(0129862)
hgbot   
2021-06-28 16:13   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 33a8399354bd9a1649aaa3cc10dfe110fe4545ac
Author: Pablo Bessone <pablo.bessone@smfconsulting.es>
Date: 2021-06-28T14:13:36+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/33a8399354bd9a1649aaa3cc10dfe110fe4545ac [^]

fixed ISSUE-0046704: amount field in keypad payment disabled when fully paid order

---
M web-jspack/org.openbravo.core2/src/components/BaseKeypad/BaseKeypad.jsx
---
(0129863)
hgbot   
2021-06-28 16:13   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/568 [^]
(0129864)
hgbot   
2021-06-28 16:13   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 27dd726f18f47b2b13843e68b83b8be58f8ae6a5
Author: Pablo Bessone <pablo.bessone@smfconsulting.es>
Date: 2021-06-28T14:13:43+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/27dd726f18f47b2b13843e68b83b8be58f8ae6a5 [^]

fixed ISSUE-0046704: amount field in keypad payment disabled when fully paid order

---
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentKeypad/PaymentKeypad.jsx
---
(0129865)
hgbot   
2021-06-28 16:13   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/566 [^]