PublicDataWorks / complaint-manager

Apache License 2.0
5 stars 0 forks source link

Employee ID is missing from autogen letters #646

Open christina-luong opened 4 months ago

christina-luong commented 4 months ago

Describe the bug

The Employee ID for officers is not being displayed on New Orleans generated letters. We likely need to write a seeder to update the template from windowsUsername to employeeId.

Steps to reproduce

  1. Create a case
  2. Add an accused officer to the case
  3. Run through letter generation flow
  4. View generated referral letter

Expected behavior

Accused officer's employee id should be displayed on the letter

Checklist

Additional context Changing the letterBody template in instance files won't update the template in the database, we need a seeder like src/server/seeders/2023061400000-add-chapter-to-referral-letter.js