Skip to content

Commit

Permalink
fix: add missing bank account fields
Browse files Browse the repository at this point in the history
  • Loading branch information
koenmetsu authored and CumpsD committed Feb 18, 2020
1 parent d72fa9d commit 7b5a879
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import { Component, OnInit } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { ActivatedRoute, Params, Router } from '@angular/router';
import { ActivatedRoute, Router } from '@angular/router';
import { Observable } from 'rxjs/Observable';

import { Alert, AlertBuilder, AlertService, AlertType } from 'core/alert';
import { AlertBuilder, AlertService } from 'core/alert';
import { UpdateAlertMessages } from 'core/alertmessages';
import { ICrud, Update } from 'core/crud';
import { required } from 'core/validation';

import { SelectItem } from 'shared/components/form/form-group-select';
import { SearchResult } from 'shared/components/form/form-group-autocomplete';

import { isValidIBAN, isValidBIC } from 'ibantools';
Expand All @@ -26,7 +24,6 @@ export class OrganisationBankAccountsUpdateOrganisationBankAccountComponent impl
public form: FormGroup;
public bankAccount: SearchResult;

private readonly updateAlerts = new UpdateAlertMessages('Bankrekeningnummer');
private bankAccountId: string;

constructor(
Expand All @@ -45,6 +42,8 @@ export class OrganisationBankAccountsUpdateOrganisationBankAccountComponent impl
isBic: [false, Validators.required],
validFrom: [''],
validTo: [''],
source: [''],
isEditable: [false]
});
}

Expand Down

0 comments on commit 7b5a879

Please sign in to comment.