-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Add confirmation modal before sending receipt #1324
base: master
Are you sure you want to change the base?
Conversation
…by shailesh shadacharan shsha001@outlook.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like cypress is failing
<ModalContent> | ||
<ModalBody> | ||
<p className="mb-3 mt-8 text-center"> | ||
Ved å godkjenne bekrefter jeg at beløpet stemmer med kvitteringen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be cool if this said the actual amount you have entered in the form
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😠
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
no |
Big ➕ on @eikhr 's comment about displaying the sum in the confirmation. Also curious; have you considered not using a modal for this, but rather adding a confirmation section under the buttons so that the user could still scroll up and check what's written on the receipts as well? Not saying it has to be done this way, just saying that it might be something to consider |
Co-authored-by shailesh shadacharan shsha001@outlook.com
Description
Added a confirmation modal that a user has to confirm before sending through the receipt. The user confirms that the amount put into the online receipt is the exact same as the amount on the original receipt.
Result
Before
Skjermopptak.2025-03-05.kl.20.31.39.mov
After
modalfilm.mov
If you've made visual changes, please check the boxes below and include images showing the changes. Descriptions are appreciated.
Testing
Resolves ABA-1327