casa icon indicating copy to clipboard operation
casa copied to clipboard

Update Howard Country Court Report Template

Open FireLemons opened this issue 3 years ago • 4 comments

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

  • volunteers
  • supervisors
  • admins

Description Requires Microsoft Word

Template: https://drive.proton.me/urls/NYBGB4MNPM#QrMlCMWqhqP1

Using information from the database, autofill in the template:

  • judge name(magistrate name)
  • hearing date
  • birth year and month(make it obvious day isn't there)
  • volunteer name
  • supervisor name
  • the current date
  • case contacts(in the table, leave person blank)

If any of these are null, let the user know what they still have to fill out by displaying what is supposed to be filled out in angle brackets <X goes here>

See https://github.com/rubyforgood/casa/wiki/How-to-edit-docx-templates---word-document-court-report See app/documents/templates/ for examples. This is also where you put the new document.

Part 2

Can be a different pull request

Create an afterparty task to set the default court report template for howard as the new one.

In prod, howard county's org has name: "Howard" and id: 4

Login Details:

Login Emails:

password for all users: 12345678

Questions? Join Slack!

We highly recommend that you join us in slack https://rubyforgood.herokuapp.com/ #casa channel to ask questions quickly and hear about office hours (currently Tuesday 6-8pm Pacific), stakeholder news, and upcoming new issues.

FireLemons avatar Sep 26 '22 20:09 FireLemons

The stakeholders requested this again today... let's work on making this more understandable and doable for volunteers

compwron avatar Sep 30 '22 18:09 compwron

Hm...didn't see this before I did #4036. Is that PR still something that is wanted?

aedwardg avatar Oct 09 '22 22:10 aedwardg

Yeah this is actually what Howard wants most right now. @aedwardg

FireLemons avatar Oct 10 '22 01:10 FireLemons

You need something that can run ms word

FireLemons avatar Oct 10 '22 01:10 FireLemons

I have TextEdit, which allows me to see the file. Screen Shot 2022-10-21 at 4 50 54 PM

Can I use this, or do I specifically need Word?

ErinClaudio avatar Oct 21 '22 20:10 ErinClaudio

@ErinClaudio you gotta be able to put mailmerge fields into the document to add sablon instructions. Like this https://github.com/rubyforgood/casa/wiki/How-to-edit-docx-templates---word-document-court-report

FireLemons avatar Oct 21 '22 21:10 FireLemons

Thank you, @FireLemons I will have to pass on this ticket. As I do not have MS word

ErinClaudio avatar Oct 24 '22 14:10 ErinClaudio