Flexible Grant categories#4498
Closed
Copilot wants to merge 2 commits intofeature/flexible-grant-categoriesfrom
Closed
Flexible Grant categories#4498Copilot wants to merge 2 commits intofeature/flexible-grant-categoriesfrom
Copilot wants to merge 2 commits intofeature/flexible-grant-categoriesfrom
Conversation
Remove hardcoded default grant amounts for ticket, accommodation, and travel from `Conference` in favor of using `GrantReimbursementCategory`. Update all relevant admin forms, models, and templates to reference flexible categories instead of fixed fields. - Remove legacy fields: `grants_default_ticket_amount`, `grants_default_accommodation_amount`, `grants_default_travel_from_italy_amount`, and `grants_default_travel_from_europe_amount` from `Conference` - Update `Grant` and `GrantReimbursement` logic to work exclusively with `GrantReimbursementCategory` - Refactor grant review admin and summary logic to support multiple, configurable reimbursement categories per grant - Migrate existing grants to new reimbursement category scheme - Add and update tests and migrations to cover flexible grant categories This change allows flexible reimbursement types (and amounts) to be configured per conference, supports granular grant allocation, and paves the way for internationalization and more complex business rules.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Copilot
AI
changed the title
[WIP] Add flexible grant reimbursement categories
Flexible Grant categories
Nov 24, 2025
estyxx
approved these changes
Nov 24, 2025
0932ae1 to
0a1ec12
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The grant system had hardcoded reimbursement amounts for ticket, accommodation, and travel categories in the
Conferencemodel. This prevented conferences from defining custom reimbursement categories or adjusting amounts per grant.Changes
grants_default_ticket_amount,grants_default_accommodation_amount,grants_default_travel_from_italy_amount,grants_default_travel_from_europe_amountGrantReimbursementmodel: Links grants toGrantReimbursementCategorywith configurable amounts per grantGrants now support arbitrary reimbursement categories configured per conference, enabling flexible grant allocation beyond the original three categories.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.