From 7c6f09e365344b855ea556e978bade790b7bedcc Mon Sep 17 00:00:00 2001 From: piratefinn Date: Mon, 3 Jul 2017 17:20:48 +0100 Subject: [PATCH] Added extra fields --- src/app/components/add-data.component.html | 14 ++++++++++++++ src/app/components/add-data.component.ts | 2 ++ 2 files changed, 16 insertions(+) diff --git a/src/app/components/add-data.component.html b/src/app/components/add-data.component.html index 62459d8..15197b6 100644 --- a/src/app/components/add-data.component.html +++ b/src/app/components/add-data.component.html @@ -146,6 +146,13 @@
+
+ +
+ + Must be filled in to submit this data. +
+
@@ -183,6 +190,13 @@
+
+ +
+ + Must be filled in to submit this data. +
+
diff --git a/src/app/components/add-data.component.ts b/src/app/components/add-data.component.ts index 688245e..5abd822 100644 --- a/src/app/components/add-data.component.ts +++ b/src/app/components/add-data.component.ts @@ -37,11 +37,13 @@ export class AddDataComponent { localsuppliersamount: ['', [Validators.required]], }); this.singleSupplierForm = this.formBuilder.group({ + entryperiod: ['', [Validators.required]], supplierbusinessname: [''], postcode: [''], monthlyspend: [''], }); this.employeeForm = this.formBuilder.group({ + entryperiod: ['', [Validators.required]], employeeno: [''], employeeincometax: [''], employeegrosswage: [''],