feat: let teamers fill in and read their questionnaire

This commit is contained in:
fromme committed 2026-10-27 16:56:49 +01:00
1 parent 2a041d25a0
commit 5e4e574076
11 files changed
+472 -2

No files matched your search

+5
View File
@@ -25,6 +25,11 @@ use Symfony\Component\Yaml\Yaml;
*/
class QuestionnaireCatalog
{
/**
* The questionnaire a teamer fills in after a bus escort; see DispositionVoter::QUESTIONNAIRE.
*/
public const string TEAMER_ESCORT = 'teamer_escort';
private const array ROOT_FIELDS = ['key', 'version', 'title', 'description', 'sections'];
private const array SECTION_FIELDS = ['key', 'title', 'questions'];
private const array QUESTION_FIELDS = ['key', 'label', 'type', 'required', 'help', 'widget', 'options', 'show_if'];