refactor: split the questionnaire into teamer and bus feedback

This commit is contained in:
fromme committed 2026-10-27 17:22:22 +01:00
1 parent 2f4f9800dd
commit a0170f5952
35 files changed
+1114 -554

No files matched your search

+5 -5
View File
@@ -117,11 +117,11 @@ class DispositionVoter extends Voter
}
/**
* Whether the teamer may fill in, and later read, the questionnaire after this placement
* (config/questionnaires/teamer_assignment.yaml). Every placement gets it; one with a bus
* escort gets the bus sections as well, which is the form's business, not this voter's. Only
* the teamer themself: the office reads the submitted responses through ROLE_ADMINISTRATIVE,
* not through this attribute.
* Whether the teamer may fill in, and later read, the questionnaires after this placement:
* every placement gets the teamer feedback, a bus escort the bus feedback as well
* (DispositionContext::questionnaires() - which ones is not this voter's business). Only the
* teamer themself: the office reads the submitted responses through ROLE_ADMINISTRATIVE, not
* through this attribute.
*
* "Over" is the destination's end date, not Disposition::STATUS_ENDED: the cron sets that a
* run late, and it moves on to checking_invoice and completed while the date stays true. An