Skip to content
Snippets Groups Projects
Commit d7006024 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5803: fix typo

parent c50dd67f
No related branches found
No related tags found
No related merge requests found
......@@ -10,13 +10,13 @@ import { BinaryFileResource } from '@alfa-client/binary-file-shared';
import { tapOnCommandSuccessfullyDone } from '@alfa-client/command-shared';
import {
AbstractFormService,
EMPTY_STRING,
HttpError,
StateResource,
convertToBoolean,
EMPTY_STRING,
formatForDatabase,
HttpError,
isNotEmpty,
isNotNil,
StateResource,
} from '@alfa-client/tech-shared';
import { VorgangWithEingangResource } from '@alfa-client/vorgang-shared';
import { Injectable, OnDestroy } from '@angular/core';
......@@ -27,16 +27,16 @@ import {
UntypedFormControl,
UntypedFormGroup,
} from '@angular/forms';
import { Resource, ResourceUri, getUrl, hasLink } from '@ngxp/rest';
import { getUrl, hasLink, Resource, ResourceUri } from '@ngxp/rest';
import { isEmpty, isNil, isUndefined } from 'lodash-es';
import {
BehaviorSubject,
Observable,
Subject,
Subscription,
combineLatest,
map,
Observable,
startWith,
Subject,
Subscription,
} from 'rxjs';
@Injectable()
......@@ -54,13 +54,13 @@ export class BescheidenFormService extends AbstractFormService implements OnDest
static readonly BETREFF_DEFAULT: string = 'Ihr Bescheid zum Antrag';
static readonly NACHRICHTENTEXT_BEWILLIGT_DEFAULT: string = [
'Sehr geehrte/r Antragsteller/in,',
'ihr Antrag wurde bewilligt.',
'Ihr Antrag wurde bewilligt.',
'Mit freundlichen Grüßen',
'Ihre Verwaltung',
].join('\n\n');
static readonly NACHRICHTENTEXT_ABGELEHNT_DEFAULT: string = [
'Sehr geehrte/r Antragsteller/in,',
'ihr Antrag wurde abgelehnt.',
'Ihr Antrag wurde abgelehnt.',
'Mit freundlichen Grüßen',
'Ihre Verwaltung',
].join('\n\n');
......@@ -269,6 +269,7 @@ export class BescheidenFormService extends AbstractFormService implements OnDest
private setNachrichtSubject(value: string): void {
this.form.controls[BescheidenFormService.FIELD_NACHRICHT_SUBJECT].patchValue(value);
}
private setNachrichtText(value: string): void {
this.form.controls[BescheidenFormService.FIELD_NACHRICHT_TEXT].patchValue(value);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment