Closed kcullion closed 2 years ago
@ciaranschutte just a couple things:
As mentioned on slack
[x] Bug: https://watch.screencastify.com/v/OKGtPD28kYi8Y02bZvl1 I upload a pdf…the remove button becomes enabled as expected. When I remove that approved pdf - it removes it as expected and disables the remove button. I try to upload a different approved pdf but nothing happens, I have to refresh the browser in order to make that second upload work.
[x] Another bug: https://watch.screencastify.com/v/QE73AVEgYdJVaNJa2kTF I upload a pdf. then when I click to upload a different pdf, but then cancel that, I see the "Please upload a pdf" error. But I already had a pdf uploaded? Cancelling the file upload shouldn't show the error when there is an approved letter uploaded.
[x] https://watch.screencastify.com/v/AkGRuM1SOUgj3DbC12OD When I go to an approved application and upload an approved pdf, the button label successfully changes to "Approved PDF". When I close that approved application, can you keep the label as "Approved PDF"? currently it goes back to "Signed pdf"
Tested these bugs in QA and it all looks good now! Thanks @ciaranschutte !
these buttons are working in staging
Goal
On
APPROVED
applications, DACO admin needs the ability to upload the DACO approved pdf once it's signed by their office. When they upload it to the application, it will get added to the zip package and be available to download by the applicant. If DACO admin makes a mistake and uploads the wrong document, we will provide a Remove approved pdf button that will revert the download back to the signed zip package.Endpoint ticket: https://github.com/icgc-argo/dac-api/issues/225
When no Approved pdf is uploaded
Zeplin: https://zpl.io/Vxq73vx
Hook up the pdf upload
When an approved pdf is uploaded/found
zeplin: https://zpl.io/2v8w3oJ