We need to allow users to download their statements via the Medical Copays Detail Page so they can see their individual itemized copays. onClick or onPageLoad we need to fetch the statement from the BE take the data stream blob() them into a downloadable document and append them to the URL that the user would clock to download via href.
Can use Caregivers DownloadLink as a POC but this one will be more complex due to a handful of possible downloads.
Expected Behavior
Users should be able to download statements by clicking the links
Acceptance Criteria
[x] Render download MCP statement section according to the mock
Technical Task
We need to allow users to download their statements via the Medical Copays Detail Page so they can see their individual itemized copays. onClick or onPageLoad we need to fetch the statement from the BE take the data stream
blob()
them into a downloadable document and append them to the URL that the user would clock to download via href.Can use Caregivers
DownloadLink
as a POC but this one will be more complex due to a handful of possible downloads.Expected Behavior
Users should be able to download statements by clicking the links
Acceptance Criteria