ddgriffin / GG-mvp

0 stars 8 forks source link

Add "start_date" and "end_date" fields to AppSignups, set when the maker accepts #90

Open ddgriffin opened 10 years ago

ddgriffin commented 10 years ago

The maker would hit the "Accept" button and get a popup asking them to set/update the start and end dates for this particular apprentice - we'll base our check-ins and support on these dates.

ALSO, lets change the x-edit date picker to a dropdown that has 1-day, 1-week, 1-month, 2, 3, 4, 5, 6-month options, and display these timeframes instead of hard dates UNTIL an apprentice is accepted (when the Maker chooses the actual dates).

ddgriffin commented 10 years ago

Off the top of my head, here are some notes about how we might do this:

Adding the fields

Updating apprenticeship listing for timeframe instead of date range Once we add start and end dates to the app_signups, we want makers to set a timeframe (e.g. "3 months") instead of dates when they create an apprenticeship

Calculating things once these fields have been set Currently, a lot of things are calculated off of the begins_at and ends_at dates of the apprenticeship; we'd like to switch them over to being calculated off of these new start and end dates. Places to consider include: