Closed ainsofs closed 5 months ago
Addition of "fromInt" method
A new function called fromInt
was added to the MembershipStatus
system helping to identify various membership categories using their integer identifications.
Improved code design in "MemberController"
The MemberController
design was enhanced by incorporating a new dependency called SitaOnlineService
and refining existing methods. This simplifies the process to examine member attributes, such as checking a member's free membership status, and endorsing or accepting members.
Addition of "MembershipStatusesRepository"
A new feature called MembershipStatusesRepository
was introduced to retrieve membership statuses efficiently.
Improvement of "User" model
The User
model received a new attribute named canUpdateMembershipStatus
which indicates if a user can update a member's membership status.
Addition of "SetMembershipStatus" component
A new component, SetMembershipStatus
, was introduced, dedicated to updating a member's membership status.
Enhancement of "SignupSummary" component
The SignupSummary
was updated to include the newly introduced SetMembershipStatus
component.
Addition of new route for updating membership status
The web.php
file now includes a new route for updating a member's membership status.
Note
🤖 Did you know about What The Diff's PR refactoring tools?
You can comment on individual lines of code within a pull request and prefix the comment with
/wtd
, followed by the changes that you want to perform. What The Diff will automatically provide you with suggested changes, that you can commit with one click.
Description
Related to #143
Motivation and Context
Allow coordinator/ admin to override membership status
How has this been tested?
Screenshots (if appropriate)
Drop down, tab and success message
Update status
Update as Accepted with validation
Tests
Types of changes
Checklist