Openbravo Issue Tracking System - POS2
View Issue Details
0049866POS2POSpublic2022-07-22 09:172023-10-09 07:37
andre_montenegro 
Rajesh_18 
lowminoralways
scheduledopen 
5
 
 
No
0049866: [Payments] Incorrect data-testid on Payment subtitle label (Change/Overpayment/Amount due)
On payments window (while paying a ticket), the amount-due/overpay/change info label has an incorrect data-testid, for example: "null-change-label"

This data-testid is not ok for all the cases, even if the payment is equal to the total.

So, "null-" prefix must be changed.
- Log in POS
- In Store window, add 1 "Avalanche transceiver" to ticket
- Click "Pay"
- On Keypad Input, type "200"
- Click "Card" as payment method
- Notice top label which notifies about overpayment
- Open developer tools & Observe data-testid for the red label
Proposed solutions:

"obpos2PaymentTotalSubtitle-..."
No tags attached.
png OverpaymentLabel_data-testid.png (186,772) 2022-07-22 09:17
https://issues.openbravo.com/file_download.php?file_id=17333&type=bug
png
Issue History
2022-07-22 09:17andre_montenegroNew Issue
2022-07-22 09:17andre_montenegroAssigned To => Retail
2022-07-22 09:17andre_montenegroFile Added: OverpaymentLabel_data-testid.png
2022-07-22 09:17andre_montenegroTriggers an Emergency Pack => No
2022-07-22 09:18andre_montenegroSummary[Payments] Incorrect data-testid on "Overpay" labels => [Payments] Incorrect data-testid on Payment subtitle label (Change/Overpayment/Amount due)
2022-07-22 09:19andre_montenegroDescription Updatedbug_revision_view_page.php?rev_id=24528#r24528
2023-10-06 12:51Rajesh_18Assigned ToRetail => Rajesh_18
2023-10-09 07:00Rajesh_18Statusnew => scheduled
2023-10-09 07:37hgbotNote Added: 0155651

Notes
(0155651)
hgbot   
2023-10-09 07:37   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2158 [^]