Role: System
Objective: Close the locked pocket when the tenure is finished.
Reason: Based on the locked pocket settings, when the tenure is finished, money should be transferred either into the main account or into the new locked pocket.
Acceptance criteria:
When the tenure (duration of pocket) is reached:
If the autorenewal is set on, then a new cycle begins → locked pocket balance is updated (interest is added to the locked balance) and the pocked is locked with same tenure as the previously.
If the autorenewal is set off, whole account is unlocked (including interest)
Links to wireframes/UI: https://www.figma.com/file/dkDQHRa1zq7tU58MiL6hBR/SaFi---UI---MVP-(Shared)?node-id=25%3A5940
https://www.figma.com/file/dkDQHRa1zq7tU58MiL6hBR/SaFi---UI---MVP-(Shared)?node-id=25%3A5938