From 085220d5b5303a126ba8d6f686c8d2ecc6aa30f9 Mon Sep 17 00:00:00 2001 From: piratefinn Date: Fri, 8 Sep 2017 12:55:42 +0100 Subject: [PATCH] Sanitised names --- src/app/dashboard/add-data.component.html | 38 +++++++++++------------ src/app/dashboard/add-data.component.ts | 38 +++++++++++------------ 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/src/app/dashboard/add-data.component.html b/src/app/dashboard/add-data.component.html index 889607d..8941db6 100644 --- a/src/app/dashboard/add-data.component.html +++ b/src/app/dashboard/add-data.component.html @@ -82,21 +82,21 @@
- + Enter the month and year for this information.
- + Enter the amount of employees the organisation has for the entry month.
- + Enter the amount of employees that live locally to the organisation for the entry month.
@@ -105,7 +105,7 @@
- +
Enter the Gross Payroll for the organisation for the entry month.
@@ -115,7 +115,7 @@
- +
Enter the organisation's total income tax for the entry month.
@@ -125,7 +125,7 @@
- +
Total of Employees National Insurance contributions for the entry month
@@ -135,7 +135,7 @@
- +
Employers National Insurance contributions for the entry month
@@ -145,7 +145,7 @@
- +
Total spent on employee pensions by the organisation for the entry month
@@ -155,7 +155,7 @@
- +
A total of other payments such as refunded fuel etc. for the entry month
@@ -188,14 +188,14 @@
- + Enter the month and year for this information.
- + Enter the business name of the supplier.
@@ -211,7 +211,7 @@
- +
Enter the monthly spend paid towards the supplier.
@@ -244,14 +244,14 @@
- + Enter the month and year for this information.
- + Used to identify employee anonymously
@@ -260,7 +260,7 @@
- +
Enter the gross wage of the employee for the entry month.
@@ -270,7 +270,7 @@
- +
Enter the total income tax of the employee for the entry month
@@ -280,7 +280,7 @@
- +
Individual Employees National Insurance Contributions for the entry month
@@ -290,7 +290,7 @@
- +
Individual Employees Pension contributions for the entry month
@@ -300,7 +300,7 @@
- +
A total of other payments such as refunded fuel etc. for the entry month
diff --git a/src/app/dashboard/add-data.component.ts b/src/app/dashboard/add-data.component.ts index ca54861..3691210 100644 --- a/src/app/dashboard/add-data.component.ts +++ b/src/app/dashboard/add-data.component.ts @@ -46,30 +46,30 @@ export class AddDataComponent { private api: ApiService, ) { this.payrollForm = this.formBuilder.group({ - entryperiod: ['', [Validators.required]], - employeeamount: ['', [Validators.required]], - localemployeeamount: ['', [Validators.required]], - grosspayroll: ['', [Validators.required]], - payrollincometax: ['', [Validators.required]], - payrollemployeeni: ['', [Validators.required]], - payrollemployerni: ['', [Validators.required]], - payrolltotalpension: ['', [Validators.required]], - payrollotherbenefit: ['', [Validators.required]], + entry_period: ['', [Validators.required]], + employee_amount: ['', [Validators.required]], + local_employee_amount: ['', [Validators.required]], + gross_payroll: ['', [Validators.required]], + payroll_income_tax: ['', [Validators.required]], + payroll_employee_ni: ['', [Validators.required]], + payroll_employer_ni: ['', [Validators.required]], + payroll_total_pension: ['', [Validators.required]], + payroll_other_benefit: ['', [Validators.required]], }); this.singleSupplierForm = this.formBuilder.group({ - entryperiod: ['', [Validators.required]], - supplierbusinessname: ['', [Validators.required]], + entry_period: ['', [Validators.required]], + supplier_business_name: ['', [Validators.required]], postcode: ['', [Validators.required]], - monthlyspend: ['', [Validators.required]], + monthly_spend: ['', [Validators.required]], }); this.employeeForm = this.formBuilder.group({ - entryperiod: ['', [Validators.required]], - employeeno: ['', [Validators.required]], - employeeincometax: ['', [Validators.required]], - employeegrosswage: ['', [Validators.required]], - employeeni: ['', [Validators.required]], - employeepension: ['', [Validators.required]], - employeeotherbenefit: ['', [Validators.required]], + entry_period: ['', [Validators.required]], + employee_no: ['', [Validators.required]], + employee_income_tax: ['', [Validators.required]], + employee_gross_wage: ['', [Validators.required]], + employee_ni: ['', [Validators.required]], + employee_pension: ['', [Validators.required]], + employee_other_benefit: ['', [Validators.required]], }); this.myDate = moment().format('YYYY-MM-DD[T]HH:mm'); // this.myDate = new Date().toISOString().slice(0, 16);