Skip to content
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

Create Project single view, attach Donation functionality #13

Open
jrargent opened this issue Jan 11, 2023 · 3 comments
Open

Create Project single view, attach Donation functionality #13

jrargent opened this issue Jan 11, 2023 · 3 comments
Assignees

Comments

@jrargent
Copy link
Collaborator

image

image

@jrargent jrargent self-assigned this Jan 11, 2023
@jrargent
Copy link
Collaborator Author

  • Create new property on project and/or donations for currentAmount? setCurrentAmount to be currentAmount + donationAmount
  • The idea being that state should start at 0 and add each donation amount from every donation given.
  • Update Donations raised field to be {currentAmount} / {projectGoal}

@jrargent
Copy link
Collaborator Author

I was able to get it to ProjectView to route, but I couldn't get the project data to pull in correctly. At least in time for the presentation.

Due to this, I was unable to get any work done on the donation side

@jrargent
Copy link
Collaborator Author

Issue was due to query variable being _id when it needed to be id. Very frustrating, but this has been fixed and the single project view now works correctly. Links have been added to all category pages to allow for each project to be clicked on and single view loaded.

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

No branches or pull requests

1 participant