Skip to content

Commit

Permalink
2156 Oznámenie o poplatkovej povinnosti za komunálne odpady PROD form (
Browse files Browse the repository at this point in the history
…#2185)

* Move Oznámenie o poplatkovej povinnosti za komunálne odpady from dev forms to forms

* Create `exampleFormNotRequired` flag

* Update snapshots
  • Loading branch information
MarekBodingerBA authored Jan 29, 2025
1 parent e485fbf commit 46eabb9
Show file tree
Hide file tree
Showing 6 changed files with 27,991 additions and 27 deletions.
19 changes: 0 additions & 19 deletions forms-shared/src/definitions/devFormDefinitions.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { FormDefinition, FormDefinitionType } from './formDefinitionTypes'
import { generalTermsAndConditions } from './termsAndConditions'
import showcase from '../schemas/showcase'
import oznamenieOPoplatkovejPovinnostiZaKomunalneOdpady from '../schemas/oznamenieOPoplatkovejPovinnostiZaKomunalneOdpady'

export const devFormDefinitions: FormDefinition[] = [
{
Expand All @@ -22,22 +21,4 @@ export const devFormDefinitions: FormDefinition[] = [
},
isSigned: false,
},
{
type: FormDefinitionType.SlovenskoSkGeneric,
slug: 'oznamenie-o-poplatkovej-povinnosti-za-komunalne-odpady',
title: 'Oznámenie o poplatkovej povinnosti za komunálne odpady',
jsonVersion: '1.0',
schema: oznamenieOPoplatkovejPovinnostiZaKomunalneOdpady,
pospID: '00603481.oznamenieOPoplatkovejPovinnostiZaKomunalneOdpady',
pospVersion: '1.0',
publisher: 'ico://sk/00603481',
gestor: 'Pinter Martin',
termsAndConditions: generalTermsAndConditions,
messageSubjectDefault: 'Oznámenie o poplatkovej povinnosti za komunálne odpady',
ginisAssignment: {
ginisOrganizationName: '',
ginisPersonName: '',
},
isSigned: true,
},
]
1 change: 1 addition & 0 deletions forms-shared/src/definitions/formDefinitionTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ type FormDefinitionBase = {
additionalInfoTemplate?: string
embedded?: false | 'olo'
allowSendingUnauthenticatedUsers?: boolean // Default should be false, so undefined must be handled as false
exampleFormNotRequired?: boolean
}

type FormDefinitionSlovenskoSkBase = FormDefinitionBase & {
Expand Down
25 changes: 25 additions & 0 deletions forms-shared/src/definitions/formDefinitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ import objednavkaZakresuSieti from '../schemas/tsb/objednavkaZakresuSieti'
import objednavkaVytycenia from '../schemas/tsb/objednavkaVytycenie'
import umiestnenieZariadenia from '../schemas/tsb/umiestnenieZariadenia'
import ziadostOStanoviskoPD from '../schemas/tsb/ziadostOStanoviskoPD'
import oznamenieOPoplatkovejPovinnostiZaKomunalneOdpady from '../schemas/oznamenieOPoplatkovejPovinnostiZaKomunalneOdpady'

export const formDefinitions: FormDefinition[] = [
{
Expand Down Expand Up @@ -160,6 +161,7 @@ export const formDefinitions: FormDefinition[] = [
termsAndConditions: taxTermsAndConditions,
messageSubjectDefault: 'Priznanie k dani z nehnuteľností',
isSigned: true,
exampleFormNotRequired: true,
},
{
type: FormDefinitionType.SlovenskoSkGeneric,
Expand Down Expand Up @@ -346,6 +348,7 @@ export const formDefinitions: FormDefinition[] = [
termsAndConditions: generalTermsAndConditions,
messageSubjectDefault: '',
allowSendingUnauthenticatedUsers: true,
exampleFormNotRequired: true,
},
{
type: FormDefinitionType.Webhook,
Expand All @@ -358,6 +361,7 @@ export const formDefinitions: FormDefinition[] = [
termsAndConditions: generalTermsAndConditions,
messageSubjectDefault: '',
allowSendingUnauthenticatedUsers: true,
exampleFormNotRequired: true,
},
{
type: FormDefinitionType.Webhook,
Expand All @@ -370,6 +374,7 @@ export const formDefinitions: FormDefinition[] = [
termsAndConditions: generalTermsAndConditions,
messageSubjectDefault: '',
allowSendingUnauthenticatedUsers: true,
exampleFormNotRequired: true,
},
{
type: FormDefinitionType.Webhook,
Expand All @@ -382,5 +387,25 @@ export const formDefinitions: FormDefinition[] = [
termsAndConditions: generalTermsAndConditions,
messageSubjectDefault: '',
allowSendingUnauthenticatedUsers: true,
exampleFormNotRequired: true,
},
{
type: FormDefinitionType.SlovenskoSkGeneric,
slug: 'oznamenie-o-poplatkovej-povinnosti-za-komunalne-odpady',
title: 'Oznámenie o poplatkovej povinnosti za komunálne odpady',
jsonVersion: '1.0',
schema: oznamenieOPoplatkovejPovinnostiZaKomunalneOdpady,
pospID: '00603481.oznamenieOPoplatkovejPovinnostiZaKomunalneOdpady',
pospVersion: '1.0',
publisher: 'ico://sk/00603481',
gestor: 'ico://sk/00603481',
termsAndConditions: generalTermsAndConditions,
messageSubjectDefault: 'Oznámenie o poplatkovej povinnosti za komunálne odpady',
ginisAssignment: {
ginisOrganizationName: '',
ginisPersonName: '',
},
isSigned: true,
exampleFormNotRequired: true,
},
]
Loading

0 comments on commit 46eabb9

Please sign in to comment.