616: (feat) prevent multiple fidelity bonds with same expiry date#741
Conversation
|
This is how it works. I have two fidelity bonds already made with expiry date august,2024 and october,2025. There is no warning message when i create a new FB with different expiry date. It works smoothly. The warning vanishes when you set the date to a legal one. |
|
think about, to remove the text inside () and maybe add this comment instead: #616 (comment) |
|
Hey @barrytra! Conecpt ACK! As discussed, maybe it is a good idea to keep knowledge of Fidelity Bonds out of component |
|
As required, Information of Fidelity bonds has been moved to |
Nice : -) Some notes from my side:
e.g. Can be replaced with something like: What do you think? |
|
Ahh yes, that should work and would be much better. And also Alert is shifted to |
|
Suggested changes are made. Now |
Awesome! Now we just have to adapt the message a little bit and we are ready to merge. 🚀 Great work @barrytra! |
|
I think everything is covered now. Message has been fixed as well. Is there anything else we need to do? |
Waiting for comments or approval from @editwentyone - then it is ready to be merged! 🚀 |


This PR fixes #616
Implementation is done in lockdateForm.js component, that shows a warning message while selecting expiry date whenever a user creates a new fidelity bond.
When is warning message displayed? if there already exists fidelity bonds, and a user create a new one. But he selects an expiry date same as in any of the previous bonds. Then the message is displayed warning the user.