From 305cb700b9486dbaa6a22669b50ef41c305a9cc4 Mon Sep 17 00:00:00 2001 From: David Mosbach Date: Fri, 24 Mar 2023 13:50:53 +0100 Subject: [PATCH] feat(certificates): loop for inquiries --- certificates.yaml | 268 ++++++++++++++++++++++++++++++---------------- 1 file changed, 174 insertions(+), 94 deletions(-) diff --git a/certificates.yaml b/certificates.yaml index 46023d3..4e2fb15 100644 --- a/certificates.yaml +++ b/certificates.yaml @@ -87,64 +87,111 @@ nodes: "student:in": - "1": tag: capture-user - "formblatt5": - - "2": - tag: file - label: - fallback: "BAföG Formblatt 5" - fallback-lang: de-de-formal - translations: - en-eu: "BAföG Formblatt 5" - default: null - optional: false - config: - unpack-zips: - default: true - force: true - multiple: true - all-empty-ok: false - max-file-size: 5242880 - restrict-extensions: ["pdf"] - "nftranscript": &nftranscript-field-optional - - "3": - tag: file - label: - fallback: "Kontoauszug Nebenfach" - fallback-lang: de-de-formal - translations: - en-eu: "Transcript of Records (minor)" - default: null - optional: true - config: - unpack-zips: - default: true - force: true - multiple: true - all-empty-ok: false - max-file-size: 5242880 - restrict-extensions: ["pdf"] + <<: &bafoeg-form + "formblatt5": + - "2": + tag: file + label: + fallback: "BAföG Formblatt 5" + fallback-lang: de-de-formal + translations: + en-eu: "BAföG Formblatt 5" + default: null + optional: false + config: + unpack-zips: + default: true + force: true + multiple: true + all-empty-ok: false + max-file-size: 5242880 + restrict-extensions: ["pdf"] + "nftranscript": &nftranscript-field-optional + - "3": + tag: file + label: + fallback: "Kontoauszug Nebenfach" + fallback-lang: de-de-formal + translations: + en-eu: "Transcript of Records (minor)" + default: null + optional: true + config: + unpack-zips: + default: true + force: true + multiple: true + all-empty-ok: false + max-file-size: 5242880 + restrict-extensions: ["pdf"] + "kommunikation": + - "4": &kommunikation-field-optional + tag: text + large: true + label: + fallback: "Kommunikation" + fallback-lang: de-de-formal + translations: + en-eu: "Communication" + tooltip: + fallback: "Einsehbar für alle Beteiligten" + fallback-lang: de-de-formal + translations: + en-eu: "Visible for all parties involved" + default: null + optional: true + "rueckfragen beantworten, bafoeg": + mode: manual + display-label: + fallback: "Rückfragen beantworten" + fallback-lang: de-de-formal + translations: + en-eu: "Answer inquiries" + actors: + - *student_in + view-actor: *view-minimal + viewers: *view-minimal + source: "rueckfragen, bafoeg" + form: *bafoeg-form + + + "rueckfragen, bafoeg": + viewers: + display-label: + fallback: "Rückfragen (BAföG Formblatt 5)" + fallback-lang: de-de-formal + translations: + en-eu: "Further inquiries (BAföG Formblatt 5)" + viewers: *view-minimal + + payload-view: *payload-view-bafoeg + + final: false + + edges: + "rueckfragen stellen, bafoeg": &rueckfragen-stellen-bafoeg-edge + mode: manual + display-label: + fallback: "Rückfragen stellen" + fallback-lang: de-de-formal + translations: + en-eu: "Ask further questions" + actors: + - *pruefungsamt + view-actor: *view-minimal + viewers: *view-minimal + source: "antrag eingereicht, bafoeg" + form: "kommunikation": - - "4": &kommunikation-field-optional - tag: text - large: true - label: - fallback: "Kommunikation" - fallback-lang: de-de-formal - translations: - en-eu: "Communication" - tooltip: - fallback: "Einsehbar für alle Beteiligten" - fallback-lang: de-de-formal - translations: - en-eu: "Visible for all parties involved" - default: null - optional: true + - "4": + <<: *kommunikation-field-optional + optional: false ################################### #Studienabschluss in 1/2 Semestern# ################################### - "studienabschluss": + "antrag eingereicht, studienabschluss": viewers: display-label: fallback: "Antrag eingereicht (Studienabschluss)" @@ -213,45 +260,78 @@ nodes: "student:in": - "1": tag: capture-user - "semester": - - "2": - tag: text - label: - fallback: "Verbleibende Semester" - fallback-lang: de-de-formal - translations: - en-eu: "Remaining Semesters" - default: null - optional: false - presets: - - text: 1 (Eins)" # - label: - fallback: "1 (Eins)" - fallback-lang: de-de-formal - translations: - en-eu: "1 (one)" - - text: "2 (Zwei)" # - label: - fallback: "2 (Zwei)" - fallback-lang: de-de-formal - translations: - en-eu: "2 (two)" - "zweck": - - "3": - tag: text - label: - fallback: "Organisation / Zweck" - fallback-lang: de-de-formal - translations: - en-eu: "Organisation / Purpose" - default: null - optional: true - tooltip: - fallback: "Wofür benötigen Sie die Bescheinigung? Die Angabe ist freiwillig und dient ausschließlich - internen Verbesserungszwecken." - fallback-lang: de-de-formal - translations: - en-eu: "What do you need the certificate for? This information is not mandatory. It will exclusively - be used to improve internal processes." - "kommunikation": - - "4": *kommunikation-field-optional \ No newline at end of file + <<: &studienabschluss-form + "semester": + - "2": + tag: text + label: + fallback: "Verbleibende Semester" + fallback-lang: de-de-formal + translations: + en-eu: "Remaining Semesters" + default: null + optional: false + presets: + - text: 1 (Eins)" # + label: + fallback: "1 (Eins)" + fallback-lang: de-de-formal + translations: + en-eu: "1 (one)" + - text: "2 (Zwei)" # + label: + fallback: "2 (Zwei)" + fallback-lang: de-de-formal + translations: + en-eu: "2 (two)" + "zweck": + - "3": + tag: text + label: + fallback: "Organisation / Zweck" + fallback-lang: de-de-formal + translations: + en-eu: "Organisation / Purpose" + default: null + optional: true + tooltip: + fallback: "Wofür benötigen Sie die Bescheinigung? Die Angabe ist freiwillig und dient ausschließlich + internen Verbesserungszwecken." + fallback-lang: de-de-formal + translations: + en-eu: "What do you need the certificate for? This information is not mandatory. It will exclusively + be used to improve internal processes." + "kommunikation": + - "4": *kommunikation-field-optional + "rueckfragen beantworten, studienabschluss": + mode: manual + display-label: + fallback: "Rückfragen beantworten" + fallback-lang: de-de-formal + translations: + en-eu: "Answer inquiries" + actors: + - *student_in + view-actor: *view-minimal + viewers: *view-minimal + source: "rueckfragen, studienabschluss" + form: *studienabschluss-form + + + "rueckfragen, studienabschluss": + viewers: + display-label: + fallback: "Rückfragen (Studienabschluss)" + fallback-lang: de-de-formal + translations: + en-eu: "Further inquiries (graduation)" + viewers: *view-minimal + + payload-view: *payload-view-studienabschluss + + final: false + + edges: + "rueckfragen stellen, studienabschluss": + <<: *rueckfragen-stellen-bafoeg-edge + source: "antrag eingereicht, studienabschluss" \ No newline at end of file