[UBS Admin cabinet/Order details] The 'Коментар/Чек' field incorrectly displays "Enrollment to the bonus account" instead of the provided electronic bill link.
Closed this issue · 0 comments
Environment: Windows 11 23H2, Firefox 125.0.3 (64-bit)
Reproducible: always.
Build found: 17.05.2024
Preconditions
- Order with the status "Formed" and payment status "Unpaid" created or exists in the system.
- Log in as Super Admin
Steps to reproduce
- Go to https://www.pick-up.city/#/ubs-admin/orders
- Click on the order ID with the status "Formed" and payment status "Unpaid" to open 'Order details' page
- Scroll down to 'Order payment' dropdown and expand it
- Click on the '+ Add payment' button to open the pop-up window
- Fill the 'Payment date' and 'Payment ID' fields with valid data (e.g: 17/05/24 and 1111)
- Enter the payment amount that is less or equal to the Underpayment value into the 'Payment amount (UAH)' field
- Click on 'Link to electronic bill' radio button and enter the valid data(e.g: link.com)
- Press 'Confirm payment' button
- Under the same dropdown menu 'Order payment' check 'Comment/Bill (Коментар/Чек)' column content
Actual result
In case of underpayment or full payment according to the expected amount "Enrollment to the bonus account" text contains in the 'Comment/Bill (Коментар/Чек)' column field.
Expected result
In case of underpayment or full payment according to the expected amount, the 'Comment/Bill (Коментар/Чек)' column field should contain a link to electronic bill that was previously filled in inside the 'Add payment document' pop-up window
Note
Although the comment mentions enrollment to the bonus account, the bonuses are not actually credited to the user`s account, unless an overpayment has been made.
User story links
User story #2898 Order payment details