SolviQorda / get-zapped

A web app platform for electrolysis therapists to offer services to trans people seeking hair removal.
1 stars 0 forks source link

Filter historic needs to only offer historic dates as filter options #97

Open SolviQorda opened 5 years ago

SolviQorda commented 5 years ago

cont. from #92

Working compromise - change the datatype of filterchoice to be a date. Which will require some marshalling.

Two routes

  1. --> attempt to get the esqueleto to work based on the today generates in the POST and GET functions
  2. --> Refactor FilterChoice to use dates, and therefore use the date picker from the yesod forms. Will require re-thinking how to write toPathMultiPiece in Models.hs