Sanitised names
This commit is contained in:
parent
3167472357
commit
085220d5b5
2 changed files with 38 additions and 38 deletions
|
@ -82,21 +82,21 @@
|
|||
<div class="form-group row">
|
||||
<label class="col-md-3 form-control-label" for="text-input"><strong>Period of entry month</strong></label>
|
||||
<div class="col-md-9">
|
||||
<input type="month" class="form-control" formControlName="entryperiod">
|
||||
<input type="month" class="form-control" formControlName="entry_period">
|
||||
<span class="help-block">Enter the month and year for this information.</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-md-3 form-control-label" for="text-input"><strong>Total amount of Employees</strong></label>
|
||||
<div class="col-md-9">
|
||||
<input type="number" class="form-control" formControlName="employeeamount" placeholder="0">
|
||||
<input type="number" class="form-control" formControlName="employee_amount" placeholder="0">
|
||||
<span class="help-block">Enter the amount of employees the organisation has for the entry month.</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-md-3 form-control-label" for="text-input"><strong>Total amount of local Employees</strong></label>
|
||||
<div class="col-md-9">
|
||||
<input type="number" class="form-control" formControlName="localemployeeamount" placeholder="0">
|
||||
<input type="number" class="form-control" formControlName="local_employee_amount" placeholder="0">
|
||||
<span class="help-block">Enter the amount of employees that live locally to the organisation for the entry month.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -105,7 +105,7 @@
|
|||
<div class="col-md-9">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-gbp"></i></span>
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="grosspayroll" placeholder="0.00">
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="gross_payroll" placeholder="0.00">
|
||||
</div>
|
||||
<span class="help-block">Enter the Gross Payroll for the organisation for the entry month.</span>
|
||||
</div>
|
||||
|
@ -115,7 +115,7 @@
|
|||
<div class="col-md-9">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-gbp"></i></span>
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="payrollincometax" placeholder="0.00">
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="payroll_income_tax" placeholder="0.00">
|
||||
</div>
|
||||
<span class="help-block">Enter the organisation's total income tax for the entry month.</span>
|
||||
</div>
|
||||
|
@ -125,7 +125,7 @@
|
|||
<div class="col-md-9">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-gbp"></i></span>
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="payrollemployeeni" placeholder="0.00">
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="payroll_employee_ni" placeholder="0.00">
|
||||
</div>
|
||||
<span class="help-block">Total of Employees National Insurance contributions for the entry month</span>
|
||||
</div>
|
||||
|
@ -135,7 +135,7 @@
|
|||
<div class="col-md-9">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-gbp"></i></span>
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="payrollemployerni" placeholder="0.00">
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="payroll_employer_ni" placeholder="0.00">
|
||||
</div>
|
||||
<span class="help-block">Employers National Insurance contributions for the entry month</span>
|
||||
</div>
|
||||
|
@ -145,7 +145,7 @@
|
|||
<div class="col-md-9">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-gbp"></i></span>
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="payrolltotalpension" placeholder="0.00">
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="payroll_total_pension" placeholder="0.00">
|
||||
</div>
|
||||
<span class="help-block">Total spent on employee pensions by the organisation for the entry month</span>
|
||||
</div>
|
||||
|
@ -155,7 +155,7 @@
|
|||
<div class="col-md-9">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-gbp"></i></span>
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="payrollotherbenefit" placeholder="0.00">
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="payroll_other_benefit" placeholder="0.00">
|
||||
</div>
|
||||
<span class="help-block">A total of other payments such as refunded fuel etc. for the entry month</span>
|
||||
</div>
|
||||
|
@ -188,14 +188,14 @@
|
|||
<div class="form-group row">
|
||||
<label class="col-md-3 form-control-label" for="text-input"><strong>Period of entry month</strong></label>
|
||||
<div class="col-md-9">
|
||||
<input type="month" class="form-control" formControlName="entryperiod">
|
||||
<input type="month" class="form-control" formControlName="entry_period">
|
||||
<span class="help-block">Enter the month and year for this information.</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-md-3 form-control-label" for="text-input"><strong>Supplier Business Name</strong></label>
|
||||
<div class="col-md-9">
|
||||
<input type="text" class="form-control" formControlName="supplierbusinessname">
|
||||
<input type="text" class="form-control" formControlName="supplier_business_name">
|
||||
<span class="help-block">Enter the business name of the supplier.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -211,7 +211,7 @@
|
|||
<div class="col-md-9">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-gbp"></i></span>
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="monthlyspend" placeholder="0.00">
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="monthly_spend" placeholder="0.00">
|
||||
</div>
|
||||
<span class="help-block">Enter the monthly spend paid towards the supplier.</span>
|
||||
</div>
|
||||
|
@ -244,14 +244,14 @@
|
|||
<div class="form-group row">
|
||||
<label class="col-md-3 form-control-label" for="text-input"><strong>Period of entry month</strong></label>
|
||||
<div class="col-md-9">
|
||||
<input type="month" class="form-control" formControlName="entryperiod">
|
||||
<input type="month" class="form-control" formControlName="entry_period">
|
||||
<span class="help-block">Enter the month and year for this information.</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-md-3 form-control-label" for="text-input"><strong>Employee number</strong></label>
|
||||
<div class="col-md-9">
|
||||
<input type="number" class="form-control" formControlName="employeeno" placeholder="0">
|
||||
<input type="number" class="form-control" formControlName="employee_no" placeholder="0">
|
||||
<span class="help-block">Used to identify employee anonymously</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -260,7 +260,7 @@
|
|||
<div class="col-md-9">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-gbp"></i></span>
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="employeegrosswage" placeholder="0.00">
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="employee_gross_wage" placeholder="0.00">
|
||||
</div>
|
||||
<span class="help-block">Enter the gross wage of the employee for the entry month.</span>
|
||||
</div>
|
||||
|
@ -270,7 +270,7 @@
|
|||
<div class="col-md-9">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-gbp"></i></span>
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="employeeincometax" placeholder="0.00">
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="employee_income_tax" placeholder="0.00">
|
||||
</div>
|
||||
<span class="help-block">Enter the total income tax of the employee for the entry month</span>
|
||||
</div>
|
||||
|
@ -280,7 +280,7 @@
|
|||
<div class="col-md-9">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-gbp"></i></span>
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="employeeni" placeholder="0.00">
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="employee_ni" placeholder="0.00">
|
||||
</div>
|
||||
<span class="help-block">Individual Employees National Insurance Contributions for the entry month</span>
|
||||
</div>
|
||||
|
@ -290,7 +290,7 @@
|
|||
<div class="col-md-9">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-gbp"></i></span>
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="employeepension" placeholder="0.00">
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="employee_pension" placeholder="0.00">
|
||||
</div>
|
||||
<span class="help-block">Individual Employees Pension contributions for the entry month</span>
|
||||
</div>
|
||||
|
@ -300,7 +300,7 @@
|
|||
<div class="col-md-9">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-gbp"></i></span>
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="employeeotherbenefit" placeholder="0.00">
|
||||
<input type="number" min="0.00" step="0.01" class="form-control" formControlName="employee_other_benefit" placeholder="0.00">
|
||||
</div>
|
||||
<span class="help-block">A total of other payments such as refunded fuel etc. for the entry month</span>
|
||||
</div>
|
||||
|
|
|
@ -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);
|
||||
|
|
Reference in a new issue