From 532423e90dc43205ae14aba5e6499287af05503b Mon Sep 17 00:00:00 2001 From: Jere Ljungberg Date: Mon, 18 Nov 2024 11:00:09 +0200 Subject: [PATCH 1/6] UHF-10456: Add configs --- conf/cmi/grants_metadata.settings.yml | 11 + conf/cmi/webform.webform.sotepe_yleis.yml | 904 ++++++++++++++++++ .../src/Plugin/DataType/SotepeYleisData.php | 39 + .../Definition/SotepeyleisDefinition.php | 163 ++++ 4 files changed, 1117 insertions(+) create mode 100644 conf/cmi/webform.webform.sotepe_yleis.yml create mode 100644 public/modules/custom/grants_metadata/src/Plugin/DataType/SotepeYleisData.php create mode 100644 public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php diff --git a/conf/cmi/grants_metadata.settings.yml b/conf/cmi/grants_metadata.settings.yml index 1b97e04b4..3dbbaa792 100644 --- a/conf/cmi/grants_metadata.settings.yml +++ b/conf/cmi/grants_metadata.settings.yml @@ -251,6 +251,16 @@ third_party_options: fi: 'KuvaErillis FI' en: 'KuvaErillis EN' sv: 'KuvaErillis SV' + 72: + id: SOTEPEYLEIS + code: SOTEPEYLEIS + dataDefinition: + definitionClass: Drupal\grants_metadata\TypedData\Definition\SotepeyleisDefinition + definitionId: grants_metadata_sotepeyleis + labels: + fi: 'Sosiaali-, terveys- ja pelastustoimen yleisavustus' + en: 'EN Sosiaali-, terveys- ja pelastustoimen yleisavustus' + sv: 'SV Sosiaali-, terveys- ja pelastustoimen yleisavustus' application_statuses: DRAFT: DRAFT SUBMITTED: SUBMITTED @@ -299,6 +309,7 @@ third_party_options: 52: 'Liikunnan erityisavustus 2' 53: 'Kulttuurin ja vapaa-ajan erityisavustus 1' 54: 'Kulttuurin ja vapaa-ajan erityisavustus 2' + 55: 'Sosiaali-, terveys- ja pelastustoimen yleisavustus' langcode: en config_import_ignore: - 53 diff --git a/conf/cmi/webform.webform.sotepe_yleis.yml b/conf/cmi/webform.webform.sotepe_yleis.yml new file mode 100644 index 000000000..72ac93349 --- /dev/null +++ b/conf/cmi/webform.webform.sotepe_yleis.yml @@ -0,0 +1,904 @@ +uuid: a8d4d2d7-30bf-4091-a86f-978b99358957 +langcode: en +status: open +dependencies: + module: + - grants_handler + - grants_metadata +third_party_settings: + grants_metadata: + applicationTypeSelect: '72' + applicationType: SOTEPEYLEIS + applicationTypeID: '72' + applicationIndustry: KANSLIA + applicantTypes: + registered_community: registered_community + applicationTypeTerms: + 49: '49' + applicationTargetGroup: '30' + applicationOpen: '2022-10-03T11:08:26' + applicationClose: '2029-07-30T11:19:00' + applicationActingYearsType: next_x_years + applicationActingYears: { } + applicationActingYearsNextCount: '1' + applicationContinuous: 0 + disableCopying: 0 + status: development + parent: d8472e68-d6bd-4de2-a409-f0a177bf9e94 + avus2BreakingChange: 0 +weight: 0 +open: null +close: null +uid: 1 +template: false +archive: false +id: sotepe_yleis +title: 'Sosiaali-, terveys- ja pelastustoimen yleisavustus' +description: '

SOTEPEYLEIS

' +categories: + - Kehityksessä +elements: |- + applicant_type: + '#type': hidden + '#title': 'Applicant type' + avustukset_summa: + '#type': grants_webform_summation_field + '#title': 'Avustukset summa' + '#title_display': none + '#description_display': invisible + '#collect_field': + subventions%%amount: subventions%%amount + application_number: 0 + status: 0 + hakijan_tiedot: 0 + email: 0 + contact_person: 0 + contact_person_phone_number: 0 + community_address: 0 + bank_account: 0 + community_officials: 0 + acting_year: 0 + subventions%%subventionTypeTitle: 0 + subventions%%subventionType: 0 + compensation_purpose: 0 + olemme_saaneet_muita_avustuksia: 0 + myonnetty_avustus: 0 + benefits_loans: 0 + benefits_premises: 0 + compensation_boolean: 0 + compensation_explanation: 0 + business_purpose: 0 + community_practices_business: 0 + fee_person: 0 + fee_community: 0 + members_applicant_person_local: 0 + members_applicant_person_global: 0 + members_applicant_community_local: 0 + members_applicant_community_global: 0 + additional_information: 0 + yhteison_saannot: 0 + vahvistettu_tilinpaatos: 0 + vahvistettu_toimintakertomus: 0 + vahvistettu_tilin_tai_toiminnantarkastuskertomus: 0 + vuosikokouksen_poytakirja: 0 + toimintasuunnitelma: 0 + talousarvio: 0 + extra_info: 0 + muu_liite: 0 + '#data_type': euro + '#form_item': hidden + 1_hakijan_tiedot: + '#type': webform_wizard_page + '#title': '1. Hakijan tiedot' + '#prev_button_label': 'Edellinen' + '#next_button_label': 'Seuraava' + application_number: + '#type': hidden + '#title': Hakemusnumero + '#disabled': true + status: + '#type': hidden + '#title': 'Hakemuksen tila' + '#readonly': true + yhteiso_jolle_haetaan_avustusta: + '#type': webform_section + '#title': 'Yhteisö, jolle haetaan avustusta' + '#attributes': + class: + - grants-profile--imported-section + prh_markup: + '#type': webform_markup + '#markup': '
Tiedot on haettu Patentti- ja rekisterihallinnon rekisteristä (PRH), eikä niitä voi tämän takia muokata.
' + hakijan_tiedot: + '#type': applicant_info + '#title': Hakija + contact_person_email_section: + '#type': webform_section + '#title': Sähköposti + contact_markup: + '#type': webform_markup + '#markup': 'Ilmoita tässä sellainen yhteisön sähköpostiosoite, jota luetaan aktiivisesti. Sähköpostiin lähetetään avustushakemukseen liittyviä yhteydenottoja esim. lisäselvitys- ja täydennyspyyntöjä.' + email: + '#type': email + '#title': Sähköpostiosoite + '#required': true + '#autocomplete': 'off' + '#pattern': '(?:[a-zA-Z0-9!#$%&''*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&''*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-zA-Z0-9-]*[a-zA-Z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])' + '#size': 63 + '#help': 'Ilmoita sähköpostiosoite, johon tähän hakemukseen liittyvät viestit sekä herätteet osoitetaan ja jota luetaan aktiivisesti' + contact_person_section: + '#type': webform_section + '#title': 'Hakemuksen yhteyshenkilö' + contact_person: + '#type': textfield + '#title': Yhteyshenkilö + '#attributes': + class: + - webform--large + '#autocomplete': 'off' + '#required': true + '#size': 63 + contact_person_phone_number: + '#type': textfield + '#title': Puhelinnumero + '#attributes': + class: + - webform--medium + '#required': true + '#autocomplete': 'off' + '#size': 32 + osoite: + '#type': webform_section + '#title': Osoite + '#states': + visible: + ':input[name="applicant_type"]': + value: registered_community + community_address: + '#type': community_address_composite + '#title': 'Yhteisön osoite' + '#help': 'Jos haluat lisätä, poistaa tai muuttaa osoitetietoa tallenna hakemus luonnokseksi ja siirry ylläpitämään osoitetietoa omiin tietoihin.' + '#attributes': + class: + - webform--large + '#required': true + '#states': + visible: + ':input[name="applicant_type"]': + value: registered_community + tilinumero: + '#type': webform_section + '#title': Tilinumero + bank_account: + '#type': bank_account_composite + '#title': Tilinumero + '#help': 'Jos haluat lisätä, poistaa tai muuttaa tilinumerotietoa tallenna hakemus luonnokseksi ja siirry ylläpitämään tilinumerotietoa omiin tietoihin.' + '#attributes': + class: + - webform--medium + '#required': true + toiminnasta_vastaavat_henkilot: + '#type': webform_section + '#title': 'Toiminnasta vastaavat henkilöt' + '#states': + visible: + ':input[name="applicant_type"]': + '!value': private_person + community_officials: + '#type': community_officials_composite + '#help': 'Jos haluat lisätä, poistaa tai muuttaa henkilöitä tallenna hakemus luonnokseksi ja siirry ylläpitämään henkilöiden tietoja omiin tietoihin.' + '#title': 'Valitse toiminnasta vastaavat henkilöt' + '#multiple': true + '#multiple__item_label': henkilö + '#multiple__min_items': 1 + '#multiple__empty_items': 0 + '#multiple__sorting': false + '#multiple__add': false + '#multiple__add_more_input': false + '#multiple__add_more_button_label': 'Lisää henkilö' + '#wrapper_attributes': + class: + - community_officials_wrapper + '#attributes': + class: + - webform--large + 2_avustustiedot: + '#type': webform_wizard_page + '#title': '2. Avustustiedot' + '#prev_button_label': 'Edellinen' + '#next_button_label': 'Seuraava' + avustuksen_tiedot: + '#type': webform_section + '#title': 'Avustuksen tiedot' + acting_year: + '#type': select + '#title': 'Vuosi, jolle haen avustusta' + '#options': + 2022: '2022' + 2023: '2023' + 2024: '2024' + '#required': true + avustuslajit: + '#type': webform_section + '#title': Avustuslajit + subventions: + '#type': grants_compensations + '#title': Avustukset + '#multiple': true + '#subventionType': + 6: '6' + '#onlyOneSubventionPerApplication': 1 + '#required': true + '#multiple__header': true + '#multiple__empty_items': 0 + '#multiple__sorting': false + '#multiple__add': false + '#multiple__remove': false + '#multiple__add_more': false + '#attributes': + class: + - subventions + '#subvention_type': + 1: '1' + 6: '6' + '#subvention_type_id__access': false + '#subvention_type__title': Avustuslaji + '#subvention_amount__title': 'Avustuksen summa' + kayttotarkoitus: + '#type': webform_section + '#title': 'Mihin avustus käytetään?' + compensation_purpose: + '#type': textarea + '#title': 'Lyhyt kuvaus haettavan / haettavien avustusten käyttötarkoituksista' + '#help': 'Kerro mitä tarkoitusta varten avustusta haetaan, erittele tarvittaessa eri käyttökohteet. Kerro myös mitä avustuksella on tarkoitus saada aikaiseksi ja millaisia tavoitteita avustettavaan toimintaan liittyy.' + '#required': true + '#counter_type': character + '#maxlength': 5000 + '#counter_maximum': 5000 + '#cols': 63 + '#attributes': + class: + - webform--large + '#counter_maximum_message': '%d/5000 merkkiä jäljellä' + ketka_toiminnastanne_erityisesti_hyotyvat: + '#type': textarea + '#title': 'Ketkä toiminnastanne erityisesti hyötyvät?' + '#counter_type': character + '#maxlength': 5000 + '#counter_maximum': 5000 + '#cols': 63 + '#attributes': + class: + - webform--large + '#counter_maximum_message': '%d/5000 merkkiä jäljellä' + '#states': + visible: + ':input[name="avustukset_summa"]': + value: + greater_equal: '10000' + required: + ':input[name="avustukset_summa"]': + value: + greater_equal: '10000' + minkalaisia_muutoksia_tapahtuu_jos_onnistutte: + '#type': textarea + '#title': 'Minkälaisia muutoksia tapahtuu, jos onnistutte?' + '#counter_type': character + '#maxlength': 5000 + '#counter_maximum': 5000 + '#cols': 63 + '#attributes': + class: + - webform--large + '#counter_maximum_message': '%d/5000 merkkiä jäljellä' + '#states': + visible: + ':input[name="avustukset_summa"]': + value: + greater_equal: '10000' + required: + ':input[name="avustukset_summa"]': + value: + greater_equal: '10000' + minkalaisia_hyotyjä_avustettavan_toiminnan_seurauksena_syntyy: + '#type': textarea + '#title': 'Minkälaisia hyötyjä avustettavan toiminnan seurauksena syntyy?' + '#counter_type': character + '#maxlength': 5000 + '#counter_maximum': 5000 + '#cols': 63 + '#attributes': + class: + - webform--large + '#counter_maximum_message': '%d/5000 merkkiä jäljellä' + '#states': + visible: + ':input[name="avustukset_summa"]': + value: + greater_equal: '10000' + required: + ':input[name="avustukset_summa"]': + value: + greater_equal: '10000' + muut_samaan_tarkoitukseen_myonnetyt_avustukset: + '#type': webform_section + '#title': 'Muut samaan tarkoitukseen myönnetyt avustukset' + info_muut_samaan_tarkoitukseen_myonnetty: + '#type': webform_markup + '#markup': | + Ilmoita tähän ainoastaan avustukset, jotka on myönnetty muualta kuin Helsingin kaupungilta kuluvana tai kahtena edellisenä verovuotena. +
+
+
+ + Myöntävä vastaus avaa lisäkysymyksen +
+
+
+ olemme_saaneet_muita_avustuksia: + '#type': radios + '#title': 'Olemme saaneet muita avustuksia' + '#description_display': before + '#options': + 1: Kyllä + 0: Ei + myonnetty_avustus: + '#type': webform_custom_composite + '#title': 'Myönnetty avustus' + '#title_display': before + '#states': + visible: + ':input[name="olemme_saaneet_muita_avustuksia"]': + value: '1' + required: + ':input[name="olemme_saaneet_muita_avustuksia"]': + value: '1' + '#multiple__header': false + '#multiple__item_label': 'myönnetty avustus' + '#multiple__no_items_message': 'Ei syötettyjä arvoja. Lisää uusi myönnetty avustus alta.' + '#multiple__min_items': 1 + '#multiple__empty_items': 0 + '#multiple__sorting': false + '#multiple__add': false + '#multiple__add_more_input': false + '#multiple__add_more_button_label': 'Lisää uusi myönnetty avustus' + '#element': + issuer: + '#type': select + '#options': + 1: Valtio + 3: EU + 4: Muu + 5: Säätiö + 6: STEA + '#required': true + '#title': 'Avustuksen myöntäjä' + issuer_name: + '#type': textfield + '#required': true + '#title': 'Myöntäjän nimi' + '#attributes': + class: + - webform--large + '#help': 'Mikä taho avustusta on myöntänyt (esim. ministeriön nimi)' + year: + '#type': textfield + '#required': true + '#attributes': + class: + - webform--small + '#title': Vuosi + '#maxlength': 4 + '#pattern': ^(19\d\d|20\d\d|2100)$ + '#pattern_error': 'Syötä vuosiluku väliltä 1900 - 2100' + amount: + '#type': textfield + '#attributes': + class: + - webform--small + '#required': true + '#title': 'Myönnetyn avustuksen summa' + '#input_mask': '''alias'': ''currency'', ''prefix'': '''', ''suffix'': ''€'',''groupSeparator'': '' '',''radixPoint'':'',''' + purpose: + '#type': textarea + '#title': 'Kuvaus käyttötarkoituksesta' + '#help': 'Anna lyhyt kuvaus, mihin tarkoitukseen avustus on myönnetty?' + '#maxlength': 1000 + '#counter_type': character + '#attributes': + class: + - webform--large + '#counter_maximum': 1000 + '#counter_maximum_message': '%d/1000 merkkiä jäljellä' + edellisen_avustuksen_kayttoselvitys: + '#type': webform_section + '#title': 'Edellisen avustuksen käyttöselvitys' + compensation_boolean_info: + '#type': webform_markup + '#markup': | +
+
+
+ + Myöntävä vastaus avaa lisäkysymyksen +
+
+
+ compensation_boolean: + '#type': radios + '#title': 'Käyttöselvitys edellisenä vuonna saamastani avustuksesta' + '#options': + - 'En ole saanut Helsingin kaupungilta avustusta samaan käyttötarkoitukseen edellisenä vuonna.' + - 'Olen saanut Helsingin kaupungilta avustusta samaan käyttötarkoitukseen edellisenä vuonna.' + '#required': true + markup: + '#type': webform_markup + '#states': + visible: + ':input[name="compensation_boolean"]': + value: '1' + '#markup': 'Anna käyttöselvitys Helsingin kaupungilta saadusta avustuksesta. Avustuksen käyttöselvitys tehdään avustuksesta, joka koskee viimeisintä päättynyttä tilikautta. Käyttöselvitystä ei tehdä käynnissä olevalta tilikaudelta. Käyttöselvityksen antaminen on seuraavan avustuksen saamisen ehtona. Mikäli käyttöselvitystä ei tehdä, avustusta ei myönnetä eikä makseta. Myönnetty avustus voidaan periä takaisin, jos edellisen avustuksen käyttöä ei ole hyväksyttävästi selvitetty.' + compensation_explanation: + '#type': textarea + '#title': 'Selvitys avustuksen käytöstä' + '#help': 'Käyttöselvityksessä tulee kuvata lyhyesti, miten myönnetty avustus on käytetty. Avustuksen saajan on järjestettävä kirjanpitonsa niin, että avustuksen käyttöä voidaan sieltä seurata. Esimerkiksi jos yhteisö on saanut vuokra-avustusta, tilinpäätöksen tuloslaskelmasta tulee käydä ilmi avustuksen toteutuminen sekä tuloissa että menoissa. Lisää tietoja avustuksen käytöstä voi myös kirjoittaa erilliseen liitteeseen, jonka voi ladata ja lähettää Muu-liitteenä.' + '#maxlength': 5000 + '#counter_type': character + '#counter_maximum': 5000 + '#counter_maximum_message': '%d/5000 merkkiä jäljellä' + '#states': + visible: + ':input[name="compensation_boolean"]': + value: '1' + required: + ':input[name="compensation_boolean"]': + value: '1' + '#attributes': + class: + - webform--large + '#cols': 63 + 3_yhteison_tiedot: + '#type': webform_wizard_page + '#title': '3. Yhteisön toiminta' + '#prev_button_label': 'Edellinen' + '#next_button_label': 'Seuraava' + business_info: + '#type': webform_section + '#title': 'Toiminnan kuvaus' + business_purpose: + '#type': textarea + '#title': 'Toiminnan kuvaus' + '#help': 'Tieto haetaan omat tiedot -osiosta' + '#maxlength': 500 + '#counter_type': character + '#counter_maximum': 500 + '#counter_maximum_message': '%d/500 merkkiä jäljellä' + community_practices_business: + '#type': radios + '#title': 'Harjoittaako yhteisö liiketoimintaa' + '#options': + 1: Kyllä + 0: Ei + '#options_display': side_by_side + '#options_description_display': help + '#required': true + ensimmainen_otsikko: + '#type': webform_section + '#title': Jäsenmaksut + fee_person: + '#type': textfield + '#title': 'Henkilöjäsenen jäsenmaksu (€ / vuosi)' + '#attributes': + class: + - webform--small + '#maxlength': 50 + '#input_mask': '''alias'': ''currency'', ''prefix'': '''', ''suffix'': ''€'',''groupSeparator'': '' '',''radixPoint'':'',''' + '#size': 16 + fee_community: + '#type': textfield + '#title': 'Yhteisöjäsen (€ / vuosi)' + '#attributes': + class: + - webform--small + '#maxlength': 50 + '#input_mask': '''alias'': ''currency'', ''prefix'': '''', ''suffix'': ''€'',''groupSeparator'': '' '',''radixPoint'':'',''' + '#size': 16 + jasenmaara: + '#type': webform_section + '#title': Jäsenmäärä + jasenmaara_fieldset: + '#type': fieldset + '#title': Jäsenmäärä + '#help': 'Jos yhteisöllä on jäseniä, merkitse ne tähän.' + '#attributes': + class: + - grants-fieldset + - grants-fieldset-short + members_applicant_person_global: + '#type': textfield + '#title': 'Henkilöjäseniä yhteensä' + '#help': 'Kuinka monta jäsenmaksun maksanutta henkilöjäsentä yhteisöllä on tällä hetkellä?' + '#maxlength': 9 + '#input_mask': '''alias'': ''numeric'', ''groupSeparator'': '' '', ''digits'': ''0''' + '#pattern': '^[0-9 ]*$' + '#pattern_error': 'Vain numeroita' + '#size': 16 + '#attributes': + class: + - webform--small + members_applicant_person_local: + '#type': textfield + '#title': 'Helsinkiläisiä henkilöjäseniä yhteensä' + '#help': 'Kuinka monta jäsenmaksun maksanutta helsinkiläistä henkilöjäsentä yhteisöllä on tällä hetkellä?' + '#maxlength': 9 + '#input_mask': '''alias'': ''numeric'', ''groupSeparator'': '' '', ''digits'': ''0''' + '#pattern': '^[0-9 ]*$' + '#pattern_error': 'Vain numeroita' + '#size': 16 + '#attributes': + class: + - webform--small + members_applicant_community_global: + '#type': textfield + '#title': 'Yhteisöjäseniä yhteensä' + '#help': 'Kuinka monta jäsenmaksun maksanutta yhteisöjäsentä yhteisöllä on tällä hetkellä? Yhteisöjäseniä ovat muut kuin henkilöjäsenet, esimerkiksi yhdistykset, säätiöt, yritykset tai kunnat.' + '#maxlength': 9 + '#size': 16 + '#input_mask': '''alias'': ''numeric'', ''groupSeparator'': '' '', ''digits'': ''0''' + '#pattern': '^[0-9 ]*$' + '#pattern_error': 'Vain numeroita' + '#attributes': + class: + - webform--small + members_applicant_community_local: + '#type': textfield + '#title': 'Helsinkiläisiä yhteisöjäseniä yhteensä' + '#help': 'Kuinka monta jäsenmaksun maksanutta helsinkiläistä yhteisöjäsentä yhteisöllä on tällä hetkellä? Yhteisöjäseniä ovat muut kuin henkilöjäsenet, esimerkiksi yhdistykset, säätiöt, yritykset tai kunnat.' + '#maxlength': 9 + '#input_mask': '''alias'': ''numeric'', ''groupSeparator'': '' '', ''digits'': ''0''' + '#pattern': '^[0-9 ]*$' + '#pattern_error': 'Vain numeroita' + '#size': 16 + '#attributes': + class: + - webform--small + lisatiedot_ja_liitteet: + '#type': webform_wizard_page + '#title': '4. Lisätiedot ja liitteet' + lisatietoja_hakemukseen_liittyen: + '#type': webform_section + '#title': 'Lisätietoja hakemukseen liittyen' + additional_information: + '#type': textarea + '#title': Lisätiedot + '#attributes': + class: + - webform--large + '#help': 'Tähän voit tarvittaessa kirjoittaa lisätietoja tai muita perusteluja hakemukseen liittyen.' + '#counter_type': character + '#maxlength': 5000 + '#counter_maximum': 5000 + '#counter_maximum_message': '%d/5000 merkkiä jäljellä' + '#cols': 63 + liitteet: + '#type': webform_section + '#title': Liitteet + attachments_info: + '#type': webform_markup + '#markup': |- +

Avustushakemuksen käsittelyä varten tulee toimittaa kaikki alla luetellut liitteet. Avustushakemus voidaan hylätä, jos liitteitä ei ole toimitettu. Mikäli joku liitteistä puuttuu kerro siitä hakemuksen Lisäselvitys liitteistä -kohdassa. +

Vaaditut liitteet

+

Avustushakemuksen käsittelyä varten tarvitaan vahvistettuja, yhteisön kokouksessaan hyväksymiä ja allekirjoittamia, liitteitä edelliseltä päättyneeltä tilikaudelta sekä liitteitä sille toimintavuodelle, jolle avustusta haetaan. Edellistä tilikautta koskevat liitteet ovat: tilinpäätös, toimintakertomus ja tilin- tai toiminnantarkastuskertomus sekä vuosikokouksen pöytäkirja. Liitteet vuodelle, jolle avustusta haetaan ovat: talousarvio ja toimintasuunnitelma. +

Usean liitteen toimittaminen yhtenä tiedostona

+

Voit halutessasi toimittaa useampia liitteitä yhtenä tiedostona Tilinpäätös tai talousarvio -liitekohdassa. Merkitse tällöin muiden liiteotsikoiden kohdalla ”Liite on toimitettu yhtenä tiedostona tai toisen hakemuksen yhteydessä”. +

Helsingin kaupungille aiemmin toimitetut liitteet

+

Jos vaaditut liitteet on jo toimitettu toisen Helsingin kaupungille osoitetun avustushakemuksen liitteenä, samoja liitteitä ei tarvitse toimittaa uudelleen. Yhteisön vahvistettu tilinpäätös, toimintakertomus, toimintasuunnitelma ja talousarvio eivät voi olla erilaisia eri hakemusten liitteenä. Merkitse tällöin toimitettujen liitteiden kohdalla ”Liite on toimitettu yhtenä tiedostona tai toisen hakemuksen yhteydessä”.

+ notification_attachments: + '#type': webform_markup + '#markup': | +
+
+
Liitteiden sisältöä ei voi tarkastella jälkikäteen
+

Huomioithan, että et pysty avaamaan liitteitä sen jälkeen, kun olet liittänyt ne lomakkeelle. Näet liitteestä ainoastaan sen tiedostonimen.

+

Vaikka et voi tarkastella liitteiden sisältöä jälkikäteen, lomakkeelle liitetyt liitteet lähtevät lomakkeen muiden tietojen mukana avustushakemuksen käsittelijälle.

+
+
+ yhteison_saannot: + '#type': grants_attachments + '#title': 'Yhteisön säännöt' + '#multiple': false + '#filetype': '7' + '#help': 'Uusi hakija tai säännöt muuttuneet.' + '#title_display': before + '#description__access': false + vahvistettu_tilinpaatos: + '#type': grants_attachments + '#title': 'Vahvistettu tilinpäätös (edelliseltä päättyneeltä tilikaudelta)' + '#multiple': false + '#filetype': '43' + '#help': |- +

Tilinpäätöksen täytyy sisältää vähintään tuloslaskelma ja tase. Yhdistys liittää tähän kohtaan yhdistyksen jäsenkokouksessa vahvistetun ja allekirjoitetun tilinpäätöksen.

+

Yhteisön tilikausi voi olla kalenterivuosi tai jokin muu kausi. Yhdistysten kohdalla niiden omissa säännöissä lukee, mikä on yhdistyksen tilikausi.

+ '#title_display': before + '#multiple__no_items_message': 'Ei syötettyjä arvoja. Lisää uusi sisältö alta.' + '#description__access': false + vahvistettu_toimintakertomus: + '#type': grants_attachments + '#title': 'Vahvistettu toimintakertomus (edelliseltä päättyneeltä tilikaudelta)' + '#multiple': false + '#filetype': '4' + '#help': |- +

Yhdistys liittää tähän kohtaan yhdistyksen jäsenkokouksessa vahvistetun toimintakertomuksen.

+

Jos toimintakertomus on osana tilinpäätöstä ja liititte sen jo tilinpäätöksen mukana lomakkeelle, sitä ei tarvitse liittää tähän erikseen. Valitse tällaisessa tilanteessa toimintakertomuksen kohdalla ”Liite on toimitettu yhtenä tiedostona tai toisen hakemuksen yhteydessä”.

+ '#title_display': before + '#description__access': false + vahvistettu_tilin_tai_toiminnantarkastuskertomus: + '#type': grants_attachments + '#title': 'Vahvistettu tilin- tai toiminnantarkastuskertomus (edelliseltä päättyneeltä tilikaudelta)' + '#multiple': false + '#filetype': '5' + '#help': |- +

Liitä tähän allekirjoitettu tilin- tai toiminnantarkastuskertomus yhteisön edelliseltä päättyneeltä tilikaudelta.

+

Jos allekirjoitettu tilin- tai toiminnantarkastuskertomus on osa yhteisönne tilinpäätöstä ja liitit sen jo lomakkeelle tilinpäätöksen kohdalla, valitse tässä kohdassa ”Liite on toimitettu yhtenä tiedostona tai toisen hakemuksen yhteydessä”.

+ '#title_display': before + '#description__access': false + vuosikokouksen_poytakirja: + '#type': grants_attachments + '#title': 'Vuosikokouksen pöytäkirja, jossa on vahvistettu edellisen päättyneen tilikauden tilinpäätös' + '#multiple': false + '#filetype': '8' + '#help': 'Liitä tähän yhteisön kokouksen pöytäkirja, jossa edellisen päättyneen tilikauden tilinpäätös on vahvistettu ja vastuuvapaus myönnetty. Yhdistyksillä tilinpäätös vahvistetaan aina yhdistyksen jäsenkokouksessa. Mikäli yhteisöltä ei edellytetä vuosikokousta tai muuta yhteisön kokousta, jossa tilinpäätös tulisi vahvistaa ja vastuuvapaus myöntää, ei tätä liitettä tarvitse toimittaa.' + '#title_display': before + '#description__access': false + toimintasuunnitelma: + '#type': grants_attachments + '#title': 'Toimintasuunnitelma (sille vuodelle jolle haet avustusta)' + '#multiple': false + '#filetype': '1' + '#help': 'Liitä tähän koko yhteisön toimintasuunnitelma. ' + '#title_display': before + '#description__access': false + talousarvio: + '#type': grants_attachments + '#title': 'Talousarvio (sille vuodelle jolle haet avustusta)' + '#multiple': false + '#filetype': '22' + '#help': 'Talousarvio (sille vuodelle jolle haet avustusta)' + '#title_display': before + '#description__access': false + extra_info: + '#type': textarea + '#title': 'Lisäselvitys liitteistä' + '#maxlength': 5000 + '#counter_type': character + '#counter_maximum': 5000 + '#counter_maximum_message': '%d/5000 merkkiä jäljellä' + '#attributes': + class: + - webform--large + '#cols': 63 + muu_liite: + '#type': grants_attachments + '#title': 'Muu liite' + '#multiple': 10 + '#filetype': '0' + '#title_display': before + '#multiple__item_label': liite + '#multiple__sorting': false + '#multiple__add': false + '#multiple__remove': false + '#multiple__add_more_input': false + '#multiple__add_more_button_label': 'Lisää uusi liite' + '#isDeliveredLater__access': false + '#isIncludedInOtherFile__access': false + actions: + '#type': webform_actions + '#title': 'Submit button(s)' + '#submit__label': Lähetä + '#draft__label': 'Tallenna keskeneräisenä' + '#wizard_prev__label': 'Edellinen' + '#wizard_next__label': 'Seuraava' + '#preview_prev__label': 'Edellinen' + '#preview_next__label': 'Esikatseluun' + '#delete_hide': false + '#delete__label': 'Poista keskeneräinen' + '#delete__attributes': + class: + - hds-button + - hds-button--primary + '#delete__dialog': true +css: '' +javascript: '' +settings: + ajax: false + ajax_scroll_top: form + ajax_progress_type: '' + ajax_effect: '' + ajax_speed: null + page: true + page_submit_path: '' + page_confirm_path: '' + page_theme_name: '' + form_title: source_entity_webform + form_submit_once: false + form_open_message: '' + form_close_message: '' + form_exception_message: '' + form_previous_submissions: false + form_confidential: false + form_confidential_message: '' + form_disable_remote_addr: true + form_convert_anonymous: false + form_prepopulate: false + form_prepopulate_source_entity: false + form_prepopulate_source_entity_required: false + form_prepopulate_source_entity_type: '' + form_unsaved: true + form_disable_back: false + form_submit_back: true + form_disable_autocomplete: false + form_novalidate: false + form_disable_inline_errors: false + form_required: false + form_autofocus: false + form_details_toggle: false + form_reset: false + form_access_denied: default + form_access_denied_title: '' + form_access_denied_message: '' + form_access_denied_attributes: { } + form_file_limit: '' + form_attributes: { } + form_method: '' + form_action: '' + share: false + share_node: false + share_theme_name: '' + share_title: true + share_page_body_attributes: { } + submission_label: '' + submission_exception_message: '' + submission_locked_message: '' + submission_log: true + submission_excluded_elements: { } + submission_exclude_empty: false + submission_exclude_empty_checkbox: false + submission_views: { } + submission_views_replace: { } + submission_user_columns: { } + submission_user_duplicate: false + submission_access_denied: default + submission_access_denied_title: '' + submission_access_denied_message: '' + submission_access_denied_attributes: { } + previous_submission_message: '' + previous_submissions_message: '' + autofill: false + autofill_message: '' + autofill_excluded_elements: { } + wizard_progress_bar: true + wizard_progress_pages: false + wizard_progress_percentage: false + wizard_progress_link: true + wizard_progress_states: false + wizard_start_label: '' + wizard_preview_link: false + wizard_confirmation: true + wizard_confirmation_label: '6. Valmis' + wizard_auto_forward: true + wizard_auto_forward_hide_next_button: false + wizard_keyboard: true + wizard_track: '' + wizard_prev_button_label: Edellinen + wizard_next_button_label: Seuraava + wizard_toggle: true + wizard_toggle_show_label: '' + wizard_toggle_hide_label: '' + wizard_page_type: container + wizard_page_title_tag: h2 + preview: 2 + preview_label: '5. Vahvista, esikatsele ja lähetä' + preview_title: 'Vahvista, esikatsele ja lähetä' + preview_message: '' + preview_attributes: { } + preview_excluded_elements: { } + preview_exclude_empty: false + preview_exclude_empty_checkbox: false + draft: all + draft_multiple: false + draft_auto_save: false + draft_saved_message: '' + draft_loaded_message: '' + draft_pending_single_message: '' + draft_pending_multiple_message: '' + confirmation_type: none + confirmation_url: '' + confirmation_title: '' + confirmation_message: '' + confirmation_attributes: { } + confirmation_back: true + confirmation_back_label: '' + confirmation_back_attributes: { } + confirmation_exclude_query: true + confirmation_exclude_token: true + confirmation_update: false + limit_total: null + limit_total_interval: null + limit_total_message: '' + limit_total_unique: false + limit_user: null + limit_user_interval: null + limit_user_message: '' + limit_user_unique: false + entity_limit_total: null + entity_limit_total_interval: null + entity_limit_user: null + entity_limit_user_interval: null + purge: draft + purge_days: 365 + results_disabled: false + results_disabled_ignore: false + results_customize: false + token_view: false + token_update: false + token_delete: false + serial_disabled: false +access: + create: + roles: + - anonymous + - authenticated + users: { } + permissions: { } + view_any: + roles: { } + users: { } + permissions: { } + update_any: + roles: { } + users: { } + permissions: { } + delete_any: + roles: { } + users: { } + permissions: { } + purge_any: + roles: { } + users: { } + permissions: { } + view_own: + roles: { } + users: { } + permissions: { } + update_own: + roles: { } + users: { } + permissions: { } + delete_own: + roles: { } + users: { } + permissions: { } + administer: + roles: { } + users: { } + permissions: { } + test: + roles: { } + users: { } + permissions: { } + configuration: + roles: { } + users: { } + permissions: { } +handlers: + grants_handler: + id: grants_handler + handler_id: grants_handler + label: 'Grants Handler' + notes: '' + status: true + conditions: { } + weight: 0 + settings: + debug: false +variants: { } diff --git a/public/modules/custom/grants_metadata/src/Plugin/DataType/SotepeYleisData.php b/public/modules/custom/grants_metadata/src/Plugin/DataType/SotepeYleisData.php new file mode 100644 index 000000000..38a61fc0e --- /dev/null +++ b/public/modules/custom/grants_metadata/src/Plugin/DataType/SotepeYleisData.php @@ -0,0 +1,39 @@ +parent)) { + // The property path of this data object is the parent's path appended + // by this object's name. + $prefix = $this->parent->getPropertyPath(); + return ((is_string($prefix) && strlen($prefix)) ? $prefix . '.' : '') . $this->name; + } + // If no parent is set, this is the root of the data tree. Thus the property + // path equals the name of this data object. + elseif (isset($this->name)) { + return $this->name; + } + return ''; + } + +} diff --git a/public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php b/public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php new file mode 100644 index 000000000..33796a3a2 --- /dev/null +++ b/public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php @@ -0,0 +1,163 @@ +propertyDefinitions)) { + + $info = &$this->propertyDefinitions; + + foreach ($this->getBaseProperties() as $key => $property) { + $info[$key] = $property; + } + } + + $info['members_applicant_person_local'] = DataDefinition::create('integer') + ->setSetting('defaultValue', "") + ->setSetting('valueCallback', [ + '\Drupal\grants_handler\Plugin\WebformHandler\GrantsHandler', + 'convertToInt', + ]) + ->setSetting('typeOverride', [ + 'dataType' => 'integer', + 'jsonType' => 'int', + ]) + ->setSetting('jsonPath', [ + 'compensation', + 'activitiesInfoArray', + 'membersApplicantPersonLocal', + ]); + + $info['members_applicant_person_global'] = DataDefinition::create('integer') + ->setSetting('defaultValue', "") + ->setSetting('valueCallback', [ + '\Drupal\grants_handler\Plugin\WebformHandler\GrantsHandler', + 'convertToInt', + ]) + ->setSetting('jsonPath', [ + 'compensation', + 'activitiesInfoArray', + 'membersApplicantPersonGlobal', + ]); + + $info['members_applicant_community_local'] = DataDefinition::create('integer') + ->setSetting('defaultValue', "") + ->setSetting('valueCallback', [ + '\Drupal\grants_handler\Plugin\WebformHandler\GrantsHandler', + 'convertToInt', + ]) + ->setSetting('jsonPath', [ + 'compensation', + 'activitiesInfoArray', + 'membersApplicantCommunityLocal', + ]); + + $info['members_applicant_community_global'] = DataDefinition::create('integer') + ->setSetting('valueCallback', [ + '\Drupal\grants_handler\Plugin\WebformHandler\GrantsHandler', + 'convertToInt', + ]) + ->setSetting('jsonPath', [ + 'compensation', + 'activitiesInfoArray', + 'membersApplicantCommunityGlobal', + ]); + + $info['subventions'] = ListDataDefinition::create('grants_metadata_compensation_type') + ->setSetting('jsonPath', [ + 'compensation', + 'compensationInfo', + 'compensationArray', + ]); + + $info['purpose'] = DataDefinition::create('string') + ->setSetting('jsonPath', [ + 'compensation', + 'compensationInfo', + 'generalInfoArray', + 'purpose', + ]); + + $info['compensation_boolean'] = DataDefinition::create('boolean') + ->setRequired(TRUE) + ->setSetting('typeOverride', [ + 'dataType' => 'string', + 'jsonType' => 'bool', + ]) + ->setSetting('jsonPath', [ + 'compensation', + 'compensationInfo', + 'generalInfoArray', + 'compensationPreviousYear', + ]); + + $info['compensation_explanation'] = DataDefinition::create('string') + ->setSetting('defaultValue', "") + ->setSetting('jsonPath', [ + 'compensation', + 'compensationInfo', + 'generalInfoArray', + 'explanation', + ]); + + $info['fee_person'] = DataDefinition::create('float') + ->setSetting('jsonPath', [ + 'compensation', + 'activitiesInfoArray', + 'feePerson', + ]) + ->setSetting('valueCallback', [ + '\Drupal\grants_handler\Plugin\WebformHandler\GrantsHandler', + 'convertToFloat', + ]) + ->setSetting('typeOverride', [ + 'dataType' => 'string', + 'jsonType' => 'float', + ]); + + $info['fee_community'] = DataDefinition::create('float') + ->setSetting('jsonPath', [ + 'compensation', + 'activitiesInfoArray', + 'feeCommunity', + ]) + ->setSetting('valueCallback', [ + '\Drupal\grants_handler\Plugin\WebformHandler\GrantsHandler', + 'convertToFloat', + ]) + ->setSetting('typeOverride', [ + 'dataType' => 'string', + 'jsonType' => 'float', + ]); + + return $this->propertyDefinitions; + } + + /** + * Override property definition. + * + * @param string $name + * Property name. + * + * @return \Drupal\Core\TypedData\DataDefinitionInterface|void|null + * Property definition. + */ + public function getPropertyDefinition($name) { + $retval = parent::getPropertyDefinition($name); + return $retval; + } +} From a15587dd28dd188ac713df64d49b057ce19d54b8 Mon Sep 17 00:00:00 2001 From: Jere Ljungberg Date: Thu, 21 Nov 2024 14:53:52 +0200 Subject: [PATCH 2/6] UHF-10456: Add rest of necessary configs --- conf/cmi/grants_metadata.settings.yml | 6 + .../en/webform.webform.sotepe_yleis.yml | 295 +++++++++++++++++ .../sv/webform.webform.sotepe_yleis.yml | 297 ++++++++++++++++++ conf/cmi/webform.webform.sotepe_yleis.yml | 11 +- .../Definition/SotepeyleisDefinition.php | 24 ++ 5 files changed, 629 insertions(+), 4 deletions(-) create mode 100644 conf/cmi/language/en/webform.webform.sotepe_yleis.yml create mode 100644 conf/cmi/language/sv/webform.webform.sotepe_yleis.yml diff --git a/conf/cmi/grants_metadata.settings.yml b/conf/cmi/grants_metadata.settings.yml index 3dbbaa792..1ce715799 100644 --- a/conf/cmi/grants_metadata.settings.yml +++ b/conf/cmi/grants_metadata.settings.yml @@ -475,3 +475,9 @@ overridden_configuration: applicationOpen: '2024-01-03T11:08:26' applicationClose: '2029-07-30T11:19:00' disableCopying: 0 + - + 72: + grants_metadata: + applicationOpen: '2022-10-03T11:08:26' + applicationClose: '2029-07-30T11:19:00' + disableCopying: 0 diff --git a/conf/cmi/language/en/webform.webform.sotepe_yleis.yml b/conf/cmi/language/en/webform.webform.sotepe_yleis.yml new file mode 100644 index 000000000..91b247583 --- /dev/null +++ b/conf/cmi/language/en/webform.webform.sotepe_yleis.yml @@ -0,0 +1,295 @@ +title: 'General grants for welfare and health promotion, social welfare and health care and rescue services' +elements: | + 1_hakijan_tiedot: + '#title': '1. Applicant details' + '#prev_button_label': 'Previous' + '#next_button_label': 'Next' + yhteiso_jolle_haetaan_avustusta: + '#title': 'Community for which the grant is being applied for' + prh_markup: + '#markup': '
The indicated information has been retrieved from the register of the Finnish Patent and Registration Office (PRH), and changing the information is only possible in the online service in question.
' + hakijan_tiedot: + '#title': Applicant + contact_person_email_section: + '#title': Email + contact_markup: + '#markup': 'Provide here a community email address that is actively read. Contact requests related to the grant application, such as requests for further clarification and completion, will be sent to the email address.' + email: + '#title': 'Email address' + '#help': 'Provide the email address to which you want the messages and notifications related to this application to be sent and which is actively read.' + contact_person_section: + '#title': 'Contact person for the application' + contact_person: + '#title': 'Contact person' + contact_person_phone_number: + '#title': 'Phone number' + osoite: + '#title': Address + community_address: + '#title': Address + '#help': 'If you want to add, delete or change address information, save the application as a draft and go to maintain the address information in your own data.' + '#community_address_select__title': 'Select the address' + tilinumero: + '#title': 'Account number' + bank_account: + '#title': 'Account number' + '#help': 'If you want to add, delete or change account number information, save the application as a draft and go to maintain the account number information in your own data.' + '#account_number_select__title': 'Select the account number' + '#account_number__title': '' + toiminnasta_vastaavat_henkilot: + '#title': 'Persons responsible for operations' + community_officials: + '#help': 'If you want to add, delete or change people, save the application as a draft and go to maintain the people's information in your own data.' + '#title': 'Persons responsible for operations' + '#multiple__add_more_button_label': 'Add person' + '#multiple__item_label': person + '#community_officials_select__title': 'Select official' + 2_avustustiedot: + '#title': '2. Grant details' + '#prev_button_label': 'Previous' + '#next_button_label': 'Next' + avustuksen_tiedot: + '#title': 'Grant details' + acting_year: + '#title': 'Year for which I am applying for a grant' + avustuslajit: + '#title': 'Types of grant' + subventions: + '#title': Grants + kayttotarkoitus: + '#title': 'Purpose of use' + compensation_purpose: + '#title': 'Brief description of the purpose(s) of the grant(s) applied for' + '#help': 'Indicate the purpose for which the grant is applied for. If necessary, specify the different uses. Also tell us what is intended to be achieved with the grant and what goals are associated with the activities to be supported.' + '#counter_maximum_message': '%d/5000 characters remaining' + who_benefits: + '#title': 'Who are the main beneficiaries of your activities?' + '#help': 'Describe who belong to your target group and possibly also how many target group members there are in your operational area. It is important that the target group description shows what kind of people you want and can reach or what kind of people and in what situation will benefit most from your activities.' + changes_on_success: + '#title': 'What kind of changes will take place if you succeed?' + '#help': 'Your activities may have many goals. Describe and assess the key changes you are seeking to achieve in your target group\'s functioning and in their everyday life, relationships or other aspects related to well-being and health or involvement, for example. So what will change if you have succeeded or what kind of phenomena do your activities prevent?' + results_of_activities: + '#title': 'What are the benefits of the activities to be supported?' + '#help': 'Briefly describe the effects of the activities and how they are achieved. You can describe the effects in the order in which they occur: which effects occur first and which after a little longer time. However, focus on the immediate effects of the activities.
You can indicate what is special about your activities or what (quality) factors need to be taken care of in order to achieve the desired effects. You can also describe how any cooperation you have pursued will contribute to achieving the effects.' + muut_samaan_tarkoitukseen_myonnetyt_avustukset: + '#title': 'Other grants received for the same purpose' + info_muut_samaan_tarkoitukseen_myonnetty: + '#markup': "

Indicate here only the grants received from somewhere other than the City of Helsinki in the current and two previous tax years.

\r\n\r\n
\r\n
\r\n
An affirmative answer opens a further question
\r\n
\r\n
\r\n" + olemme_saaneet_muita_avustuksia: + '#title': 'We have received other grants' + '#options': + 1: 'Yes' + 0: 'No' + myonnetty_avustus: + '#title': 'Received grant' + '#multiple__no_items_message': 'No values entered. Add the new grant granted below.' + '#multiple__add_more_button_label': 'Add new received grant' + '#element': + issuer: + '#options': + 1: State + 3: EU + 4: Other + 5: Foundation + '#title': ' Grant issuer' + issuer_name: + '#title': 'Issuer''s name' + '#help': 'Which body has granted the grant (e.g. name of the ministry)' + year: + '#title': Year + '#pattern_error': 'Enter a year between 1900 - 2100' + amount: + '#title': 'Amount of grant granted' + purpose: + '#title': ' Description of intended use' + '#help': 'Give a brief description, for what purpose has the grant been granted?' + '#counter_maximum_message': '%d/1000 characters remaining' + muut_samaan_tarkoitukseen_haetut_avustukset: + '#title': 'Other grants applied for to be used for the same purpose' + info_muut_samaan_tarkoitukseen_haettu: + '#markup': "

Indicate here only the grants that have been applied for from somewhere other than the City of Helsinki and for which the decisions have not been made yet.

\r\n\r\n
\r\n
\r\n
An affirmative answer opens a further question
\r\n
\r\n
\r\n" + olemme_hakeneet_avustuksia_muualta_kuin_helsingin_kaupungilta: + '#title': 'We have applied for grants from somewhere other than the City of Helsinki' + '#options': + 1: 'Yes' + 0: 'No' + haettu_avustus_tieto: + '#title': 'Add new grant applied for' + '#multiple__no_items_message': 'No values ​​entered. Add a new applied for grant below.' + '#multiple__add_more_button_label': 'Add new grant applied for' + '#element': + issuer: + '#options': + 1: State + 3: EU + 4: Other + 5: Foundation + '#title': 'Grant issuer' + issuer_name: + '#title': 'Issuer''s name' + '#help': 'Which body has granted the grant (e.g. name of the ministry)' + year: + '#title': Year + '#pattern_error': 'Enter a year between 1900 - 2100' + amount: + '#title': 'The amount of the grant applied for' + purpose: + '#title': 'Description of intended use' + '#help': 'Give a brief description, for what purpose has the grant been granted?' + '#counter_maximum_message': '%d/1000 characters remaining' + edellisen_avustuksen_kayttoselvitys: + '#title': 'Report on the use of the previous grant' + compensation_boolean_info: + '#markup': "
\r\n
\r\n
An affirmative answer opens a further question
\r\n
\r\n
\r\n" + compensation_boolean: + '#title': 'Report on the use of the grant I received in the previous year' + '#options': + - 'I have not received a grant from the City of Helsinki for the same purpose in the previous year.' + - 'I received a grant from the city of Helsinki for the same purpose last year.' + markup: + '#markup': 'Provide a report on the use of the grant received from the City of Helsinki. A report on the use of the grant must be drawn up for the grant concerning the previous accounting period. A report on the use should not be drawn up for the current accounting period. Providing the report on the use is a prerequisite for receiving the next grant. If no report on the use is provided, the grant will not be awarded or paid. A grant awarded may be recovered if the use of the previous grant has not been satisfactorily reported.' + compensation_explanation: + '#title': 'Report on the use of the grant' + '#help': 'The report on the use must briefly describe how the received grant has been used. The recipient must arrange its accounting in such a way that it is possible to monitor the use of the grant. For example, if a community has received a lease grant, the profit and loss account in the financial statements must show the grant in both income and expenses. Further information on the use of the grant can also be written in a separate attachment, which can be returned under Report on the use.' + '#counter_maximum_message': '%d/5000 characters remaining' + 3_yhteison_tiedot: + '#title': '3. Activities of the community' + '#prev_button_label': 'Previous' + '#next_button_label': 'Next' + business_info: + '#title': 'Description of activities' + business_purpose: + '#title': 'Description of activities' + '#help': 'If you want to add, remove or change the description of activities, save the application as a draft and go to your data to maintain the description of activities.' + '#counter_maximum_message': '%d/500 characters remaining' + community_practices_business: + '#title': 'Is the entity engaged in business?' + '#options': + 1: 'Yes' + 0: 'No' + ensimmainen_otsikko: + '#title': 'Membership fees' + fee_person: + '#title': 'Individual membership fee (€/year)' + fee_community: + '#title': 'Community member (€/year)' + jasenmaara: + '#title': 'Numbers of members' + jasenmaara_fieldset: + '#title': 'Numbers of members' + '#help': 'If the community has members, please list them here.' + members_applicant_person_global: + '#title': 'Total number of individual members' + '#help': 'How many individual members does the community currently have who have paid the membership fee?' + members_applicant_person_local: + '#title': 'Total number of individual members in Helsinki' + '#help': 'How many individual members does the community currently have in Helsinki who have paid the membership fee?' + members_applicant_community_global: + '#title': 'Community members' + '#help': 'How many community members does the community currently have who have paid the membership fee? Community members are non-individual members, such as associations, foundations, companies or municipalities.' + members_applicant_community_local: + '#title': 'Total number of community members in Helsinki' + '#help': 'How many community members does the community currently have in Helsinki who have paid the membership fee? Community members are non-individual members, such as associations, foundations, companies or municipalities.' + lisatiedot_ja_liitteet: + '#title': '4. Additional information and attachments' + lisatietoja_hakemukseen_liittyen: + '#title': 'Additional information concerning the application' + additional_information: + '#title': 'Additional information' + '#help': 'If necessary, you can write additional information or other justifications related to the application.' + '#counter_maximum_message': '%d/5000 characters remaining' + liitteet: + '#title': Attachments + attachments_info: + '#markup': |- +

All the attachments listed below must be submitted for the processing of the grant application. The grant application may be rejected if the attachments are not submitted. If any of the attachments is missing, let us know in the Further clarification on attachments section of the application. +

+

Required attachments

+

For the processing of the grant application, the required attachments are the confirmed attachments approved and signed by the community at its meeting for the previous accounting period and for the operating year for which the grant is being applied for. The attachments concerning the previous accounting period are the financial statements, the annual report, the audit or performance audit report and the minutes of the annual meeting. The attachments for the year for which the grant is being applied for are the budget and action plan.

+

Submission of several attachments as a single file

+

If you wish, you can submit several attachments as a single file under Financial statements or Budget. In this case, under the other attachment headings, indicate “The attachment has been submitted as a single file or with another application.”

+

Attachments previously submitted to the City of Helsinki

+

If the required attachments have already been submitted as attachments to another grant application addressed to the City of Helsinki, the same attachments do not need to be submitted again. The confirmed financial statements, annual report, action plan and budget of the community cannot be different from one application to another. In this case, under the submitted attachments, indicate “The attachment has been submitted as a single file or with another application”.

+ notification_attachments: + '#markup': "
\r\n
\r\n
The contents of the attachments cannot be viewed afterwards
\r\n\r\n
\r\n

Please note that you will not be able to open the attachments after you have attached them to the form. You will only see the file name of the attachment.

\r\n\r\n

Although you cannot view the attachments afterwards, the attachments to the form are sent along with the other information on the form to the grant application processor.

\r\n
\r\n
\r\n
\r\n" + yhteison_saannot: + '#title': 'Community Rules' + '#help': 'A new applicant or the rules have changed.' + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + vahvistettu_tilinpaatos: + '#title': 'Confirmed financial statements (for the previous accounting period)' + '#help': "The financial statements must include at least the profit and loss account and the balance sheet. An association must append to this section the financial statements confirmed and signed at the association’s annual meeting. \r\nThe community’s accounting period may be a calendar year or some other period. In the case of associations, their own rules state what the association’s accounting period is." + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + vahvistettu_toimintakertomus: + '#title': 'Confirmed annual report (for the previous accounting period)' + '#help': "An association must append to this section the annual report confirmed at the association’s annual meeting. If the annual report is part of the financial statements and you have already appended it to the form with the financial statements, it does not need to be appended here separately. In this case, under the annual report, indicate “The attachment has been submitted as a single file or with another application”." + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + vahvistettu_tilin_tai_toiminnantarkastuskertomus: + '#title': 'Confirmed audit or performance audit report (for the previous accounting period)' + '#help': "An association must append to this section the annual report confirmed at the association’s annual meeting. If the annual report is part of the financial statements and you have already appended it to the form with the financial statements, it does not need to be appended here separately. In this case, under the annual report, indicate “The attachment has been submitted as a single file or with another application”." + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + vuosikokouksen_poytakirja: + '#title': 'Minutes of the annual meeting confirming the financial statements for the previous accounting period' + '#help': 'Append here the minutes of the community meeting in which the financial statements for the previous accounting period are confirmed and discharge from liability granted. For associations, the financial statements are always confirmed at the association’s annual meeting. If the community is not required to have an annual meeting or other community meeting at which the financial statements should be approved and discharge from liability granted, this attachment does not need to be submitted.' + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + toimintasuunnitelma: + '#title': 'Action plan (for the year for which you are applying for a grant)' + '#help': 'Append here the action plan for the whole community.' + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + talousarvio: + '#title': 'Budget (for the year for which you are applying for a grant)' + '#help': 'Budget (for the year for which you are applying for a grant)' + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + extra_info: + '#title': 'Further clarification on attachments' + '#counter_maximum_message': '%d/5000 characters remaining' + muu_liite: + '#title': 'Other attachment' + '#multiple__add_more_button_label': 'Add attachment' + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + actions: + '#submit__label': Submit + '#draft__label': 'Save as draft' + '#wizard_prev__label': 'Previous' + '#wizard_next__label': 'Next' + '#preview_prev__label': 'Previous' + '#preview_next__label': 'Preview' + '#delete__label': ' Delete unfinished' +settings: + wizard_prev_button_label: Previous + wizard_next_button_label: Next + preview_label: '5. Confirm, preview, and submit' + preview_title: 'Confirm, preview, and submit' + wizard_confirmation_label: '6. Complete' diff --git a/conf/cmi/language/sv/webform.webform.sotepe_yleis.yml b/conf/cmi/language/sv/webform.webform.sotepe_yleis.yml new file mode 100644 index 000000000..cb7e4b5b0 --- /dev/null +++ b/conf/cmi/language/sv/webform.webform.sotepe_yleis.yml @@ -0,0 +1,297 @@ +title: 'Allmänt understöd inom främjandet av välfärd och hälsa och social- och hälsovården samt räddningsväsendet ' +elements: | + 1_hakijan_tiedot: + '#title': '1. Sökandens uppgifter' + '#prev_button_label': '< Tidigare' + '#next_button_label': 'Nästa' + yhteiso_jolle_haetaan_avustusta: + '#title': 'Samfund för vilket understödet ansöks' + prh_markup: + '#markup': '
De markerade uppgifterna har hämtats från Patent- och registerstyrelsens register (PRH) och det är endast möjligt att ändra uppgifterna i nättjänsten i fråga.
' + hakijan_tiedot: + '#title': Sökande + contact_person_email_section: + '#title': E-post + contact_markup: + '#markup': 'Ange här samfundets e-postadress som läses aktivt. Till e-postadressen skickas kontaktförfrågningar som är relaterade till ansökan om understöd, såsom begäranden om tilläggsutredning och komplettering' + email: + '#title': E-postadress + '#help': 'Ange en e-postadress dit meddelandena och begärandena relaterade till denna ansökan kommer att skickas och som läses aktivt.' + contact_person_section: + '#title': 'Kontaktperson för ansökan' + contact_person: + '#title': Kontaktperson + contact_person_phone_number: + '#title': Telefonnummer + osoite: + '#title': Adress + community_address: + '#title': Adress + '#help': 'Om du vill lägga till, ta bort eller ändra adressuppgifter, spara ansökan som ett utkast och gå till att behålla adressuppgifterna i dina egna uppgifter.' + '#community_address_select__title': 'Välj en adress' + tilinumero: + '#title': Kontonummer + bank_account: + '#title': Kontonummer + '#help': 'Om du vill lägga till, radera eller ändra kontonummerinformation, spara applikationen som ett utkast och gå till att behålla kontonummerinformationen i din egen data.' + '#account_number_select__title': 'Välj ett kontonummer' + '#account_number__title': '' + toiminnasta_vastaavat_henkilot: + '#title': 'Personer som ansvarar för verksamheten' + community_officials: + '#help': 'Om du vill lägga till, ta bort eller ändra personer, spara applikationen som ett utkast och gå till att underhålla personernas information i din egen data.' + '#title': 'Personer som ansvarar för verksamheten' + '#multiple__add_more_button_label': 'Lägg till en person' + '#multiple__item_label': person + '#community_officials_select__title': 'Välj motsvarande person' + '#role__title': Roll + '#email__title': E-post + '#phone__title': Telefonnummer + 2_avustustiedot: + '#title': '2. Uppgifter om understödet' + '#prev_button_label': 'Tidigare' + '#next_button_label': 'Nästa' + avustuksen_tiedot: + '#title': 'Uppgifter om understödet' + acting_year: + '#title': 'År för vilket jag ansöker om understöd' + avustuslajit: + '#title': 'Understödskatego­rier' + subventions: + '#title': Understöd + kayttotarkoitus: + '#title': 'Användningsända­mål' + compensation_purpose: + '#title': 'En kort beskrivning av användningsändamålet för det/de understöd som ansöks' + '#help': 'Ange för vilket ändamål understödet ansöks och vid behov specificera de olika ändamålen. Ange också vad understödet är avsett för och vilka mål som är relaterade till den understödda verksamheten.' + '#counter_maximum_message': '%d/5000 tecken kvar' + who_benefits: + '#title': 'Who are the main beneficiaries of your activities?' + '#help': 'Describe who belong to your target group and possibly also how many target group members there are in your operational area. It is important that the target group description shows what kind of people you want and can reach or what kind of people and in what situation will benefit most from your activities.' + changes_on_success: + '#title': 'What kind of changes will take place if you succeed?' + '#help': 'Your activities may have many goals. Describe and assess the key changes you are seeking to achieve in your target group\'s functioning and in their everyday life, relationships or other aspects related to well-being and health or involvement, for example. So what will change if you have succeeded or what kind of phenomena do your activities prevent?' + results_of_activities: + '#title': 'What are the benefits of the activities to be supported?' + '#help': 'Briefly describe the effects of the activities and how they are achieved. You can describe the effects in the order in which they occur: which effects occur first and which after a little longer time. However, focus on the immediate effects of the activities.
You can indicate what is special about your activities or what (quality) factors need to be taken care of in order to achieve the desired effects. You can also describe how any cooperation you have pursued will contribute to achieving the effects.' + muut_samaan_tarkoitukseen_myonnetyt_avustukset: + '#title': 'Övriga understöd som beviljats för samma ändamål' + info_muut_samaan_tarkoitukseen_myonnetty: + '#markup': "

Ange här endast de understöd som beviljats från annanstans än Helsingfors stad under det innevarande beskattningsåret eller de föregående två beskattningsåren.

\r\n\r\n
\r\n
\r\n
Ett jakande svar öppnar ytterligare en fråga
\r\n
\r\n
\r\n" + olemme_saaneet_muita_avustuksia: + '#title': 'Vi har fått andra understöd' + '#options': + 1: Ja + 0: Nej + myonnetty_avustus: + '#title': 'Bidrag beviljat' + '#multiple__no_items_message': 'Inga värden har angetts. Lägg till det nya beviljade bidraget nedan.' + '#multiple__add_more_button_label': 'Lägg till understöd som beviljats' + '#element': + issuer: + '#options': + 1: Stat + 3: EU + 4: Övrig + 5: Fundament + '#title': Bidragsgivare + issuer_name: + '#title': 'Emittentens namn' + '#help': 'Vilket organ har beviljat bidraget (t.ex. namnet på departementet)' + year: + '#title': År + '#pattern_error': 'Ange ett årtal' + amount: + '#title': 'Beviljat bidragsbelopp' + purpose: + '#title': 'Beskrivning av avsedd användning' + '#help': 'Ge en kort beskrivning, i vilket syfte har bidraget beviljats?' + '#counter_maximum_message': '%d/1000 tecken kvar' + muut_samaan_tarkoitukseen_haetut_avustukset: + '#title': 'Övriga understöd som ansökts för samma ändamål' + info_muut_samaan_tarkoitukseen_haettu: + '#markup': "

Ange här endast de understöd som har ansökts från annanstans än Helsingfors stad, men beslut har ännu inte fattats.

\r\n\r\n
\r\n
\r\n
Ett jakande svar öppnar ytterligare en fråga
\r\n
\r\n
\r\n" + olemme_hakeneet_avustuksia_muualta_kuin_helsingin_kaupungilta: + '#title': 'Vi har ansökt om understöd från annanstans än Helsingfors stad.' + '#options': + 1: Ja + 0: Nej + haettu_avustus_tieto: + '#title': 'Lägg till nytt understöd som ansökts' + '#multiple__no_items_message': 'Inga värden har angetts. Lägg till ett nytt ansökt bidrag nedan.' + '#multiple__add_more_button_label': 'Lägg till nytt understöd som ansökts' + '#element': + issuer: + '#options': + 1: Stat + 3: EU + 4: Övrig + 5: Fundament + '#title': Bidragsgivare + issuer_name: + '#title': 'Emittentens namn' + '#help': 'Vilket organ har beviljat bidraget (t.ex. namnet på departementet)' + year: + '#title': År + '#pattern_error': 'Ange ett årtal' + amount: + '#title': 'Beviljat bidragsbelopp' + purpose: + '#title': 'Beskrivning av avsedd användning' + '#help': 'Ge en kort beskrivning, i vilket syfte har bidraget beviljats?' + '#counter_maximum_message': '%d/1000 tecken kvar' + edellisen_avustuksen_kayttoselvitys: + '#title': 'Redovisning om det tidigare understödet' + compensation_boolean_info: + '#markup': "
\r\n
\r\n
Ett jakande svar öppnar ytterligare en fråga
\r\n
\r\n
\r\n" + compensation_boolean: + '#title': 'Redovisning om understödet som jag fick under det föregående året' + '#options': + - 'Jag har inte fått bidrag från Helsingfors stad för samma ändamål föregående år.' + - 'Jag fick ett bidrag från Helsingfors stad för samma ändamål förra året.' + markup: + '#markup': 'Ge en redovisning om understödet som fåtts från Helsingfors stad. Redovisningen görs om understödet som beviljats för den senaste avslutade räkenskapsperioden. Redovisning görs inte om den innevarande räkenskapsperioden. Redovisningen krävs för att få ett nytt understöd. Om en redovisning inte görs, kommer ett understöd inte att beviljas eller betalas ut. Det beviljade understödet kan återkrävas om användningen av det tidigare understödet inte har redogjorts för på ett tillfredsställande sätt.' + compensation_explanation: + '#title': 'Redovisning om användningen av understödet' + '#help': 'I redovisningen ska det kortfattat anges hur det beviljade understödet har använts. Understödstagaren ska ordna sin bokföring så att användningen av understödet kan följas där. Om samfundet till exempel har fått hyresunderstöd ska det av resultaträkningen i bokslutet framgå både intäkter och utgifter vad gäller understödet. Mer information om användningen av understödet kan också skrivas i en separat bilaga som kan läggas till och skickas som Annan bilaga.' + '#counter_maximum_message': '%d/5000 tecken kvar' + 3_yhteison_tiedot: + '#title': '3. Samfundets verksamhet' + '#prev_button_label': 'Tidigare' + '#next_button_label': 'Nästa' + business_info: + '#title': Verksamhets­beskrivning + business_purpose: + '#title': Verksamhets­beskrivning + '#help': 'Om du vill lägga till, ta bort eller ändra verksamhetsbeskrivningen, spara ansökan som ett utkast och gå till dina uppgifter för att redigera verksamhetsbeskrivningen.' + '#counter_maximum_message': '%d/500 tecken kvar' + community_practices_business: + '#title': 'Bedriver samfundet affärsverksamhet' + '#options': + 1: Ja + 0: Nej + ensimmainen_otsikko: + '#title': Medlemsavgifter + fee_person: + '#title': 'Medlemsavgift för personmedlemmar (€/år)' + fee_community: + '#title': 'Samfundsmedlem (€/år)' + jasenmaara: + '#title': 'Antal medlemmar' + jasenmaara_fieldset: + '#title': Medlemskap + '#help': 'Om gruppen har medlemmar, vänligen ange dem här.' + members_applicant_person_global: + '#title': 'Personmedlemmar sammanlagt' + '#help': 'Hur många personmedlemmar som har betalat medlemsavgiften har samfundet för närvarande?' + members_applicant_person_local: + '#title': 'Personmedlemmar från Helsingfors sammanlagt' + '#help': 'Hur många personmedlemmar från Helsingfors som har betalat medlemsavgiften har samfundet för närvarande?' + members_applicant_community_global: + '#title': Samfundsmedlemmar + '#help': 'Hur många samfundsmedlemmar som har betalat medlemsavgiften har samfundet för närvarande? Samfundsmedlemmar är andra än personmedlemmar, såsom föreningar, stiftelser, företag eller kommuner.' + members_applicant_community_local: + '#title': 'Samfundsmedlemmar från Helsingfors sammanlagt' + '#help': 'Hur många samfundsmedlemmar från Helsingfors som har betalat medlemsavgiften har samfundet för närvarande? Samfundsmedlemmar är andra än personmedlemmar, såsom föreningar, stiftelser, företag eller kommuner.' + lisatiedot_ja_liitteet: + '#title': '4. Ytterligare information och bilagor' + lisatietoja_hakemukseen_liittyen: + '#title': 'Ytterligare information för ansökan' + additional_information: + '#title': 'Ytterligare information' + '#help': 'Här kan du vid behov skriva ytterligare information eller andra motiveringar som rör ansökan.' + '#counter_maximum_message': '%d/5000 tecken kvar' + liitteet: + '#title': Bilagor + attachments_info: + '#markup': |- +

Alla bilagor som anges nedan måste lämnas in för behandling av ansökan om understöd. Ansökan om understöd kan avslås om bilagorna inte har lämnats in. Om någon av bilagorna saknas, meddela oss om det i punkten Ytterligare information om bilagor i ansökan.

+

Erforderliga bilagor

+

För behandling av ansökan om understöd behövs styrkta bilagor från den föregående räkenskapsperioden som samfundet har godkänt och undertecknat vid sitt möte samt bilagor för det verksamhetsår för vilket understödet ansöks. Bilagorna från den föregående räkenskapsperioden är: bokslut, verksamhetsberättelse, revisionsberättelse och protokoll från årsstämman. Bilagorna för det år för vilket understödet ansöks är: budget och verksamhetsplan.

+

Inlämning av flera bilagor i en fil

+

Om du vill kan du lämna in flera bilagor i en fil i punkten Bokslut eller budget. Ange i detta fall vid andra bilagor att ”Bilagan har lämnats in som en fil eller i samband med en annan ansökan”.

+

Bilagor som tidigare lämnats in till Helsingfors stad

+

Om de erforderliga bilagorna redan har lämnats in som bilaga till en annan ansökan om understöd till Helsingfors stad, behöver samma bilagor inte lämnas in igen. Samfundets fastställda bokslut, verksamhetsberättelse, verksamhetsplan och budget får inte vara olika i bilagor till de olika ansökningarna. Ange i detta fall vid de inlämnade bilagorna att ”Bilagan har lämnats in som en fil eller i samband med en annan ansökan”.

+ notification_attachments: + '#markup': "
\r\n
\r\n
Innehållet i bilagorna kan inte granskas i efterhand
\r\n\r\n
\r\n

Observera att du inte kan öppna bilagorna efter att du har bifogat dem blanketten. Du ser bara bilagans filnamn.

\r\n\r\n

Även om du inte kan granska innehållet i bilagorna i efterhand skickas bilagorna som bifogats blanketten med övriga uppgifter till personen som behandlar ansökan om understöd.

\r\n
\r\n
\r\n
\r\n" + yhteison_saannot: + '#title': 'Samfundets stadgar' + '#help': 'En ny sökande eller reglerna har ändrats.' + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + vahvistettu_tilinpaatos: + '#title': 'Fastställt bokslut (för den föregående avslutade räkenskapsperioden)' + '#help': "Bokslutet ska innehålla minst resultaträkningen och balansräkningen. Samfundet ska till denna punkt lägga till bokslutet som godkänts och undertecknats vid samfundets medlemsmöte. Samfundets räkenskapsperiod kan vara ett kalenderår eller en annan period. Vad gäller samfund anges det i deras egna stadgar vad samfundets räkenskapsperiod är." + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + vahvistettu_toimintakertomus: + '#title': 'Fastställd verksamhetsberättelse (för den föregående avslutade räkenskapsperioden)' + '#help': "Samfundet ska till denna punkt bifoga verksamhetsberättelsen som godkänts och undertecknats vid samfundets medlemsmöte. Om verksamhetsberättelsen ingår i bokslutet och du redan har bifogat den blanketten, behöver den inte bifogas separat. Ange i detta fall vid verksamhetsberättelsen att ”Bilagan har lämnats in som en fil eller i samband med en annan ansökan”." + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + vahvistettu_tilin_tai_toiminnantarkastuskertomus: + '#title': 'Fastställd revisionsberättelse (för det föregående avslutade räkenskapsåret)' + '#help': "Bifoga den undertecknade revisionsberättelsen för samfundets senaste avslutade räkenskapsperiod här. Om den undertecknade revisionsberättelsen ingår i samfundets bokslut och du redan bifogat den till blanketten i samband med bokslutet, ange ”Bilagan har lämnats in som en fil eller i samband med en annan ansökan” här." + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + vuosikokouksen_poytakirja: + '#title': 'Protokoll från årsstämman med det godkända bokslutet för den föregående räkenskapsperioden' + '#help': 'Bifoga protokollet från samfundets möte här, där bokslutet för den föregående avslutade räkenskapsperioden har godkänts och ansvarsfrihet beviljats. Samfundens bokslut fastställs alltid vid samfundets medlemsmöte. Om samfundet inte är skyldigt att ha ett årsmöte eller annat samfundsmöte där bokslutet bör godkännas och ansvarsfrihet beviljas, behöver denna bilaga inte lämnas in.' + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + toimintasuunnitelma: + '#title': 'Verksamhetsplan (för det år du ansöker om understödet)' + '#help': 'Bifoga verksamhetsplanen för hela för samfundet här.' + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + talousarvio: + '#title': 'Budget (för det år du ansöker om understödet)' + '#help': 'Budget (för det år du ansöker om understödet)' + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + extra_info: + '#title': 'Ytterligare information om bilagorna' + '#counter_maximum_message': '%d/5000 tecken kvar' + muu_liite: + '#title': 'Annan bilaga' + '#multiple__add_more_button_label': 'Lägg till en bilaga' + '#attachmentName__title': '' + '#fileStatus__title': '' + '#fileType__title': '' + '#integrationID__title': '' + '#isAttachmentNew__title': '' + actions: + '#submit__label': Skicka + '#draft__label': 'Spara som oavslutad' + '#wizard_prev__label': 'Tidigare' + '#wizard_next__label': 'Nästa' + '#preview_prev__label': 'Tidigare' + '#preview_next__label': 'För förhandsvisning' + '#delete__label': ' Radera oavslutat' +settings: + wizard_prev_button_label: Tidigare + wizard_next_button_label: Nästa + preview_label: '5. Bekräfta, förhandsgranska och skicka' + preview_title: 'Bekräfta, förhandsgranska och skicka' + wizard_confirmation_label: '6. Slutförd' diff --git a/conf/cmi/webform.webform.sotepe_yleis.yml b/conf/cmi/webform.webform.sotepe_yleis.yml index 72ac93349..59baeea24 100644 --- a/conf/cmi/webform.webform.sotepe_yleis.yml +++ b/conf/cmi/webform.webform.sotepe_yleis.yml @@ -1,5 +1,5 @@ uuid: a8d4d2d7-30bf-4091-a86f-978b99358957 -langcode: en +langcode: fi status: open dependencies: module: @@ -260,9 +260,10 @@ elements: |- class: - webform--large '#counter_maximum_message': '%d/5000 merkkiä jäljellä' - ketka_toiminnastanne_erityisesti_hyotyvat: + who_benefits: '#type': textarea '#title': 'Ketkä toiminnastanne erityisesti hyötyvät?' + '#help': 'Kuvaa keitä kohderyhmäänne kuuluu ja mahdollisesti myös kuinka paljon kohderyhmään kuuluvia toiminta-alueellanne on. Kohderyhmän kuvauksessa on tärkeää, että siitä käy ilmi minkälaisia ihmisiä juuri te haluatte ja osaatte kohdata, tai millaisessa tilanteessa olevat hyötyvät toiminnastanne eniten.' '#counter_type': character '#maxlength': 5000 '#counter_maximum': 5000 @@ -280,9 +281,10 @@ elements: |- ':input[name="avustukset_summa"]': value: greater_equal: '10000' - minkalaisia_muutoksia_tapahtuu_jos_onnistutte: + changes_on_success: '#type': textarea '#title': 'Minkälaisia muutoksia tapahtuu, jos onnistutte?' + '#help': 'Toiminnallanne voi olla monia tavoitteita. Kuvatkaa ja arvioikaa tässä keskeiset muutokset, joita tavoittelette esimerkiksi kohderyhmänne toimintakyvyssä, arjessa, ihmissuhteissa tai muussa hyvinvointiin ja terveyteen tai osallisuuteen liittyvässä asiassa. Mikä siis muuttuu, jos olette onnistuneet tai minkälaisia ilmiöitä toimintanne ennaltaehkäisee?' '#counter_type': character '#maxlength': 5000 '#counter_maximum': 5000 @@ -300,9 +302,10 @@ elements: |- ':input[name="avustukset_summa"]': value: greater_equal: '10000' - minkalaisia_hyotyjä_avustettavan_toiminnan_seurauksena_syntyy: + results_of_activities: '#type': textarea '#title': 'Minkälaisia hyötyjä avustettavan toiminnan seurauksena syntyy?' + '#help': 'Kuvaa lyhyesti, mitä vaikutuksia toiminnalla saadaan aikaan ja millä tavoin ne syntyvät. Voit kuvata vaikutukset niiden tapahtumisjärjestyksessä: mitä vaikutuksia syntyy ensin, ja mitä vähän pidemmän ajan kuluttua. Keskity kuitenkin toiminnan välittömiin vaikutuksiin.
Voit myös kertoa, mikä toiminnassanne on erityistä tai mistä (laatu)tekijöistä on erityisesti huolehdittava, että tavoiteltavia vaikutuksia saavutetaan. Voit myös kuvata, miten jokin tekemänne yhteistyö edistää vaikutusten saavuttamista.' '#counter_type': character '#maxlength': 5000 '#counter_maximum': 5000 diff --git a/public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php b/public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php index 33796a3a2..d69d0c7e6 100644 --- a/public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php +++ b/public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php @@ -114,6 +114,30 @@ public function getPropertyDefinitions() { 'explanation', ]); + $info['who_benefits'] = DataDefinition::create('string') + ->setSetting('jsonPath', [ + 'compensation', + 'compensationInfo', + 'generalInfoArray', + 'whoBenefits', + ]); + + $info['changes_on_success'] = DataDefinition::create('string') + ->setSetting('jsonPath', [ + 'compensation', + 'compensationInfo', + 'generalInfoArray', + 'changesOnSuccess', + ]); + + $info['results_of_activities'] = DataDefinition::create('string') + ->setSetting('jsonPath', [ + 'compensation', + 'compensationInfo', + 'generalInfoArray', + 'resultsOfActivities', + ]); + $info['fee_person'] = DataDefinition::create('float') ->setSetting('jsonPath', [ 'compensation', From 70d88d5baeef1420ad90fc5beb3e578e2d7ec13b Mon Sep 17 00:00:00 2001 From: Jere Ljungberg Date: Thu, 21 Nov 2024 16:41:58 +0200 Subject: [PATCH 3/6] UHF-10456: Fix translations --- conf/cmi/language/en/webform.webform.sotepe_yleis.yml | 4 ++-- conf/cmi/language/sv/webform.webform.sotepe_yleis.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/conf/cmi/language/en/webform.webform.sotepe_yleis.yml b/conf/cmi/language/en/webform.webform.sotepe_yleis.yml index 91b247583..0e4eb1551 100644 --- a/conf/cmi/language/en/webform.webform.sotepe_yleis.yml +++ b/conf/cmi/language/en/webform.webform.sotepe_yleis.yml @@ -1,4 +1,4 @@ -title: 'General grants for welfare and health promotion, social welfare and health care and rescue services' +title: 'Sosiaali-, terveys- ja pelastustoimen yleisavustus' elements: | 1_hakijan_tiedot: '#title': '1. Applicant details' @@ -67,7 +67,7 @@ elements: | '#help': 'Describe who belong to your target group and possibly also how many target group members there are in your operational area. It is important that the target group description shows what kind of people you want and can reach or what kind of people and in what situation will benefit most from your activities.' changes_on_success: '#title': 'What kind of changes will take place if you succeed?' - '#help': 'Your activities may have many goals. Describe and assess the key changes you are seeking to achieve in your target group\'s functioning and in their everyday life, relationships or other aspects related to well-being and health or involvement, for example. So what will change if you have succeeded or what kind of phenomena do your activities prevent?' + '#help': 'Your activities may have many goals. Describe and assess the key changes you are seeking to achieve in your target group's functioning and in their everyday life, relationships or other aspects related to well-being and health or involvement, for example. So what will change if you have succeeded or what kind of phenomena do your activities prevent?' results_of_activities: '#title': 'What are the benefits of the activities to be supported?' '#help': 'Briefly describe the effects of the activities and how they are achieved. You can describe the effects in the order in which they occur: which effects occur first and which after a little longer time. However, focus on the immediate effects of the activities.
You can indicate what is special about your activities or what (quality) factors need to be taken care of in order to achieve the desired effects. You can also describe how any cooperation you have pursued will contribute to achieving the effects.' diff --git a/conf/cmi/language/sv/webform.webform.sotepe_yleis.yml b/conf/cmi/language/sv/webform.webform.sotepe_yleis.yml index cb7e4b5b0..a69475d45 100644 --- a/conf/cmi/language/sv/webform.webform.sotepe_yleis.yml +++ b/conf/cmi/language/sv/webform.webform.sotepe_yleis.yml @@ -1,4 +1,4 @@ -title: 'Allmänt understöd inom främjandet av välfärd och hälsa och social- och hälsovården samt räddningsväsendet ' +title: 'Sosiaali-, terveys- ja pelastustoimen yleisavustus' elements: | 1_hakijan_tiedot: '#title': '1. Sökandens uppgifter' @@ -67,13 +67,13 @@ elements: | '#counter_maximum_message': '%d/5000 tecken kvar' who_benefits: '#title': 'Who are the main beneficiaries of your activities?' - '#help': 'Describe who belong to your target group and possibly also how many target group members there are in your operational area. It is important that the target group description shows what kind of people you want and can reach or what kind of people and in what situation will benefit most from your activities.' + '#help': 'Beskriv vem som hör till er målgrupp och eventuellt också hur många av dem som hör till er målgrupp det finns i ert verksamhetsområde. I beskrivningen av målgruppen är det viktigt att det framgår vilka slags människor just ni önskar och kan bemöta, eller de situationer i vilka människor får den största nyttan av er verksamhet.' changes_on_success: '#title': 'What kind of changes will take place if you succeed?' - '#help': 'Your activities may have many goals. Describe and assess the key changes you are seeking to achieve in your target group\'s functioning and in their everyday life, relationships or other aspects related to well-being and health or involvement, for example. So what will change if you have succeeded or what kind of phenomena do your activities prevent?' + '#help': 'Er verksamhet kan ha flera mål. Beskriv och bedöm här de centrala förändringar som ni eftersträvar exempelvis i er målgrupps funktionsförmåga, vardag, människorelationer eller andra aspekter som anknyter till välfärd och hälsa eller delaktighet. Vilka slags förändringar kommer det alltså att ske om ni lyckas eller vilka slags fenomen förebygger er verksamhet?' results_of_activities: '#title': 'What are the benefits of the activities to be supported?' - '#help': 'Briefly describe the effects of the activities and how they are achieved. You can describe the effects in the order in which they occur: which effects occur first and which after a little longer time. However, focus on the immediate effects of the activities.
You can indicate what is special about your activities or what (quality) factors need to be taken care of in order to achieve the desired effects. You can also describe how any cooperation you have pursued will contribute to achieving the effects.' + '#help': 'Beskriv kort vilka effekter som uppnås genom verksamheten och på vilket sätt de uppstår. Du kan beskriva effekterna i den ordning de sker: vilka effekter uppstår först och vilka efter en längre tid. Koncentrera dig dock på verksamhetens omedelbara effekter.
Du kan även berätta vad som är speciellt med er verksamhet eller vilka (kvalitets)faktorer som bör beaktas särskilt för att de effekter som eftersträvas ska uppnås. Du kan även beskriva hur något samarbete ni har främjar uppnåendet av effekterna.' muut_samaan_tarkoitukseen_myonnetyt_avustukset: '#title': 'Övriga understöd som beviljats för samma ändamål' info_muut_samaan_tarkoitukseen_myonnetty: From 6ae87f9440b19ab475601f212133ab25c6b354d9 Mon Sep 17 00:00:00 2001 From: Jere Ljungberg Date: Tue, 26 Nov 2024 09:35:35 +0200 Subject: [PATCH 4/6] UHF-10456: Missing title translations --- conf/cmi/grants_metadata.settings.yml | 1 - conf/cmi/language/en/webform.webform.sotepe_yleis.yml | 2 +- conf/cmi/language/sv/webform.webform.sotepe_yleis.yml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/conf/cmi/grants_metadata.settings.yml b/conf/cmi/grants_metadata.settings.yml index 1ce715799..5e3eeac71 100644 --- a/conf/cmi/grants_metadata.settings.yml +++ b/conf/cmi/grants_metadata.settings.yml @@ -309,7 +309,6 @@ third_party_options: 52: 'Liikunnan erityisavustus 2' 53: 'Kulttuurin ja vapaa-ajan erityisavustus 1' 54: 'Kulttuurin ja vapaa-ajan erityisavustus 2' - 55: 'Sosiaali-, terveys- ja pelastustoimen yleisavustus' langcode: en config_import_ignore: - 53 diff --git a/conf/cmi/language/en/webform.webform.sotepe_yleis.yml b/conf/cmi/language/en/webform.webform.sotepe_yleis.yml index 0e4eb1551..8e69b3da2 100644 --- a/conf/cmi/language/en/webform.webform.sotepe_yleis.yml +++ b/conf/cmi/language/en/webform.webform.sotepe_yleis.yml @@ -1,4 +1,4 @@ -title: 'Sosiaali-, terveys- ja pelastustoimen yleisavustus' +title: 'General grants for social welfare, health care and rescue services' elements: | 1_hakijan_tiedot: '#title': '1. Applicant details' diff --git a/conf/cmi/language/sv/webform.webform.sotepe_yleis.yml b/conf/cmi/language/sv/webform.webform.sotepe_yleis.yml index a69475d45..8b080c478 100644 --- a/conf/cmi/language/sv/webform.webform.sotepe_yleis.yml +++ b/conf/cmi/language/sv/webform.webform.sotepe_yleis.yml @@ -1,4 +1,4 @@ -title: 'Sosiaali-, terveys- ja pelastustoimen yleisavustus' +title: 'Allmänt understöd inom social-, hälsovårds- och räddningssektorn' elements: | 1_hakijan_tiedot: '#title': '1. Sökandens uppgifter' From e2eb04765bff4059c3dd40f489392a6fd948ded0 Mon Sep 17 00:00:00 2001 From: Jere Ljungberg Date: Tue, 26 Nov 2024 10:15:45 +0200 Subject: [PATCH 5/6] UHF-10456: Fix mismapping --- .../src/TypedData/Definition/SotepeyleisDefinition.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php b/public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php index d69d0c7e6..2a3388f30 100644 --- a/public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php +++ b/public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php @@ -84,7 +84,7 @@ public function getPropertyDefinitions() { 'compensationArray', ]); - $info['purpose'] = DataDefinition::create('string') + $info['compensation_purpose'] = DataDefinition::create('string') ->setSetting('jsonPath', [ 'compensation', 'compensationInfo', From 5034da927938e8cae1a89a2324b799523f30b998 Mon Sep 17 00:00:00 2001 From: Jere Ljungberg Date: Thu, 28 Nov 2024 08:39:52 +0200 Subject: [PATCH 6/6] UHF-10456: Fix phpcs --- .../src/TypedData/Definition/SotepeyleisDefinition.php | 1 + 1 file changed, 1 insertion(+) diff --git a/public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php b/public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php index 2a3388f30..2541e39ab 100644 --- a/public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php +++ b/public/modules/custom/grants_metadata/src/TypedData/Definition/SotepeyleisDefinition.php @@ -184,4 +184,5 @@ public function getPropertyDefinition($name) { $retval = parent::getPropertyDefinition($name); return $retval; } + }