Skip to content

Finalize sponsorships with existing contracts #1845

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Aug 25, 2021
Merged

Conversation

berinhard
Copy link
Contributor

Fixes #1836

This PR introduces 2 possible ways to approve sponsorships:

  • By generating a contract for signing (default logic)
  • By uploading an existing and signed contract (to handle already signed contracts)

These options are displayed as buttons in the sponsorships change form when its under the Applied stage:

Screenshot from 2021-08-17 11-04-27

Both buttons use the same HTML to control the page content. The only difference is the page title and the file input for the signed contract. Here's the example of the form with the contract upload:

Screenshot from 2021-08-17 11-04-34

The history for the contract has 2 entries, one for the object creation and another one to keep track of the uploaded contract:

Screenshot from 2021-08-17 11-05-07

@berinhard berinhard requested a review from ewdurbin August 17, 2021 14:13
@ewdurbin ewdurbin merged commit a256e96 into main Aug 25, 2021
@ewdurbin ewdurbin deleted the topic/existing-contracts branch August 25, 2021 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support associting existing contracts with Sponsorships, to finalize
2 participants