be8d92d7ae
Add 'submitted' field to compliance reports
2026-04-27 16:23:16 +00:00
c6282c9f5e
Default to setting AddressGid
...
So we don't run afoul of the nullable constraint
2026-04-23 22:41:22 +00:00
23819961e6
Populate compliance address based on site location
2026-04-22 21:22:33 +00:00
a8819c907e
Add concern page to mailer compliance flow
2026-04-22 21:22:03 +00:00
b5923137a7
Set organization (district) for compliance reports from mailer
2026-04-22 19:54:06 +00:00
fe2041f22b
Add an evidence field to compliance reports
...
This allows us to show a page with information about what the district
is concerned about when asking the user to fill a report.
2026-04-21 21:35:40 +00:00
80031c1d1a
Make response to compliance report creation consistent
2026-04-21 15:01:01 +00:00
f927b0a911
Split out ComplianceDistrict view for creating new compliance reports
...
The idea here is that we'll make compliance reports two different ways,
The first is if the user navigates to /district/:slug/compliance, the
second if they open a QR code from a mailer. In both cases we create the
report then feed them into a flow for updating the data on that report.
2026-04-21 14:35:13 +00:00
ffd424df12
Save the organization with the compliance report on creation
...
This avoids the problem of having to assign the compliance report later
when we get location data and image data.
2026-04-20 16:21:08 +00:00
2ea47f03f4
Start wiring together request for a mailer to database
2026-04-16 10:15:28 +00:00
5527731e83
Add can SMS question, fix error handling of client ID
2026-04-14 15:15:19 +00:00
a23866619d
Start saving client ID on compliance reports
2026-04-14 14:38:22 +00:00
5448702a7d
Fully populate report after PUT
...
Otherwise we miss stuff like the number of images
2026-04-14 02:38:36 +00:00
3c62fe2ca1
Be consistent about using report.public_id over report.id
2026-04-14 01:26:23 +00:00
02139450c6
Always set reporter phone can SMS
2026-04-14 01:21:50 +00:00
9c557a0391
Make it possible to save SMS support status on phone record
2026-04-13 22:23:29 +00:00
083c4ddae9
Save access information to database
2026-04-13 20:42:03 +00:00
ba76c8b1db
Return full compliance report on PUT
2026-04-13 19:32:22 +00:00
8baa056fab
Return a compliance URI on creation
2026-04-13 16:59:34 +00:00
5db4c05544
Add proper compliance report type
...
Can't believe I missed this.
2026-04-13 16:42:29 +00:00
9ba99d5ceb
Remove now-empty report address fields
...
We'll instead create address rows and reference those
2026-04-12 18:33:41 +00:00