HH/apps/complaints
ismail 32e2a3f996
Some checks failed
Build and Push Docker Image / build (push) Failing after 6m52s
fix: require activation before sending observation/inquiry to a department
An item could be sent to a department while still in its initial (open) state,
bypassing activation. Added a status guard to the 4 send entry points:
- observation_send_to_department / observation_send_to (AJAX)
- inquiry_transfer_to_department / inquiry_send_to (AJAX)
Rejects with "Activate this {observation/inquiry} before sending it to a
department." if status is open. Re-sends after a rejection still work (item
stays in_progress).

Also:
- seed_e2e_dept_response: observation status "new" -> "open" (valid initial;
  "new" isn't a valid ObservationStatus, which is why activate never moved it)
- spec: Flow A/B/C now activate before send
2026-06-14 21:27:39 +03:00
..
2025-12-24 12:42:31 +03:00
2026-05-11 14:45:30 +03:00
2025-12-25 17:11:40 +03:00
2026-01-15 15:02:42 +03:00
2026-05-11 14:45:30 +03:00
2026-02-25 04:47:05 +03:00