Open evanugarte opened 1 month ago
On the side navbar for the admin dashboard, add a new entry called "Club Earnings" with an icon for the dollar sign on the same row.
Clicking the button should open a modal, the modal should have content like
Total earnings from new members this semester: $<whatever> Total new members this year: $<whatever> Current active members: $<whatever>
<whatever>
returns a json object like
{ "newSingleSemesterMembers": 20, "newAnnualMembers": 15, }
we can test the API with a simple HTTP GET request to verify the json object worked.
[ ] add a new row to the admin dashboard navbar called "Club Earnings"
[ ] clicking the button should show a modal. see the code for "reset password" as a good example
[ ] when the modal is clicked, we should call our API to get the relevant information, and calculate the money ($20 a semester, $30 for a year)
On the side navbar for the admin dashboard, add a new entry called "Club Earnings" with an icon for the dollar sign on the same row.
Clicking the button should open a modal, the modal should have content like
Total earnings from new members this semester: $
<whatever>
Total new members this year: $<whatever>
Current active members: $<whatever>
game plan
returns a json object like
we can test the API with a simple HTTP GET request to verify the json object worked.
[ ] add a new row to the admin dashboard navbar called "Club Earnings"
[ ] clicking the button should show a modal. see the code for "reset password" as a good example
[ ] when the modal is clicked, we should call our API to get the relevant information, and calculate the money ($20 a semester, $30 for a year)