Summary
Currently, the Additional documents only allows access to one document. We want to really allow multiple documents, and to also allow deleting documents
Why?
We need both the ability to have multiple documents and user deletion of old documents to support long term partner bank relationships.
Details
- This is on the partner profile edit - both as a bank and as a partner
- We should be able to actually upload more than one document
- We need to add the ability to selectively delete documents. The interface for this should similar to how we allow removal of items. Provide a remove button, which, when pushed, makes the file disappear from the interface. Once saved, it is gone.
HINT: From Discussion on PR 4505
"The Partner::Profile model does in theory support multiple attached documents:
has_many_attached :documents
But when I attach a new one, there's an ActiveStorage::PurgeJob running that removes the old one."
Criteria for completion
Summary
Currently, the Additional documents only allows access to one document. We want to really allow multiple documents, and to also allow deleting documents
Why?
We need both the ability to have multiple documents and user deletion of old documents to support long term partner bank relationships.
Details
HINT: From Discussion on PR 4505
"The Partner::Profile model does in theory support multiple attached documents:
has_many_attached :documents
But when I attach a new one, there's an ActiveStorage::PurgeJob running that removes the old one."
Criteria for completion