Skip to content

Conversation

@dburkhart07
Copy link

ℹ️ Issue

Closes #134

📝 Description

  • Created frontend design for the FM Management, including the page and new donation modal
  • Adjusted the backend to add a food rescue field, which is now available in the modal
  • Used some specific date calculations to ensure that a UI-friendly date picker is easily converted to an understandable format in our donation entity for recurring donations.

✔️ Verification

Took screenshots of the pages:
image
image
image

Verified each updated endpoint worked on Postman

🏕️ (Optional) Future Work / Notes

We will need to update this later on when we go to finish up the Action Required tab.

@@ -42,46 +49,30 @@ export class DonationsController {
type: 'object',
properties: {
foodManufacturerId: { type: 'integer', example: 1 },
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE FOR PR Reviewer: We deleted this since it does not make sense to have either of these fields here in creating a donation. The status will always be the same, as will the date donated.

Copy link
Author

@dburkhart07 dburkhart07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving comment for PR reviewer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants