Closed gogson closed 9 years ago
Don't use the attribute active already in for ongoing, use something new like status. It will be used for projectenddate
Not sure what you mean by "Admins can apply contributions only when project is "finished" "
take a look at #24
The other problem with that is that we have 5 status and some of them depend on the date of the day not only the amount contributed, so where are we supposed to update them ? No cron obv
or we could just code some helpers like isOngoing() isFinished()
Ok for the helpers solution. We'll need one for client and one for server ? (the same but for both sides)
Yeah that's the all point of using JS on both side, we can share the code :smile:
Instead of deducing the project status, put an attribute in db. Default status : "inactive"