casa icon indicating copy to clipboard operation
casa copied to clipboard

Support multiple future court dates

Open FireLemons opened this issue 3 years ago • 3 comments

What type(s) of user does this feature affect?

  • volunteers
  • supervisors
  • admins

Description

  • [x] Rename past court date to court date in models, database tables, controllers, any other references
  • [x] Allow court dates to be from the future
  • [x] Write a migration that will change any casa case's court date column to a court date row and association (really prove that this works)
  • [x] Refactor code relying on a casa case's court date to use the next future court date instead
  • [x] Remove add court date section on edit casa case page image
  • [x] Change past court dates to just court dates on casa case page
  • [x] Write/update test for code

QA Login Details:
Link to QA site

Login Emails:

password for all users: 12345678

FireLemons avatar Sep 14 '21 15:09 FireLemons

Things left to do for this ticket:

  • [ ] Remove court_date column from casa_cases table (maybe wait a couple weeks for this to make sure the data is no longer needed)
  • [ ] Update header on default_past_court_date_template.docx from "Past Court Date Report" to "Court Date Report" (I can't do this myself because I can't open docx files without messing up the formatting)

librod89 avatar Oct 13 '21 17:10 librod89

This issue has been inactive for 247 hours (10.29 days) and will be automatically unassigned after 113 more hours (4.71 days).

github-actions[bot] avatar Oct 24 '21 00:10 github-actions[bot]

This issue has been inactive for 360 hours (15.00 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.

github-actions[bot] avatar Nov 08 '21 00:11 github-actions[bot]

I took care of the last 2 items on this one, I just need permission to create a branch on the repo.

stephenandersondev avatar Jan 21 '23 22:01 stephenandersondev

Things left to do for this ticket:

  • [ ] Remove court_date column from casa_cases table (maybe wait a couple weeks for this to make sure the data is no longer needed)
  • [ ] Update header on default_past_court_date_template.docx from "Past Court Date Report" to "Court Date Report" (I can't do this myself because I can't open docx files without messing up the formatting)

The removal of court_date from casa_cases will be handled in https://github.com/rubyforgood/casa/pull/4464, and the updating of the header in default_past_court_date_template.docx will be handled in #4466

stephenandersondev avatar Jan 22 '23 00:01 stephenandersondev