Fairoj: Issues Fixed

This commit is contained in:
saravanakumarkandasami 2019-03-20 10:34:48 +05:30
commit 0c70842f0d
10 changed files with 169 additions and 72 deletions

File diff suppressed because one or more lines are too long

View File

@ -128,7 +128,7 @@
<ion-icon item-start="" class="lettericon" [style.background]="bgColortempForm[i]">{{tempForm.form_name[0] | slice : 0 :1 | uppercase}}</ion-icon>
<ion-row>
<ion-col col-5>
<h2 style="font-size:20px;">{{tempForm.form_name}}</h2>
<h2 style="font-size:20px;">{{tempForm.form_id != 19 ? tempForm.form_name : 'Neighbourhood'}}</h2>
<!-- <p>{{category.answerd_count}} / {{category.questions_count}} Questions</p> -->
</ion-col>

View File

@ -89,7 +89,8 @@ export class PdQuestionStockInfoPage {
let type4length = type4[0].hasOwnProperty("products") ? type4[0].products.length : 0;
let rm_api = record.from_supplier;
let rm_api = record.from_supplier.hasOwnProperty("raw_material") ? record.from_supplier.raw_material : [];
let params: any = {};
params.pd_id = this.pdid;
params.pd_form_id = this.formDetails.form_id;
@ -280,7 +281,7 @@ export class PdQuestionStockInfoPage {
manufacturingForm: Boolean = false;
manufacturingFormCreation(record) {
let arr = record.from_business.filter(data => data.type_of_activity_id == 2);
let rm_arr = record.from_supplier;
let rm_arr = record.from_supplier.hasOwnProperty("raw_material") ? record.from_supplier.raw_material : [];
//console.log("Manufacturing ",arr);
if (arr.length > 0) {
this.manufacturingForm = true;

View File

@ -25,17 +25,39 @@
</mat-form-field>
</div>
<div fxLayout="column" fxLayoutAlign="start stretch" *ngIf="employmentForm.controls.employer_name.value != ''">
<mat-form-field style="width: 100%" required>
<textarea matInput placeholder="Company Profile in brief" formControlName="employer_in_brief"></textarea>
</mat-form-field>
</div>
<mat-label>How many yrs with this emp</mat-label>
<div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width: 48%">
<mat-form-field style="width: 45%">
<input matInput type="text" formControlName="how_long_year" autocomplete="off" placeholder="Year" min='0'>
</mat-form-field>
<mat-form-field style="width: 48%">
&nbsp;&nbsp;&nbsp;
<mat-form-field style="width: 45%">
<input matInput type="text" placeholder="Month" formControlName="how_long_month" min='0' (change)="ConvertMonthintoYear($event.target.value)">
</mat-form-field>
</div>
<div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width:100%">
<input matInput placeholder="Total Work Experience" formControlName="total_business_experience"
OnlyNumber autocomplete="off" (change)="checkWorkingExperiences()">
<mat-hint style="color: red;" *ngIf="employmentForm.controls.total_business_experience.value !=undefined && this.workExperienceErrorFlag">
Total working Experience is Lower
</mat-hint>
</mat-form-field>
</div>
<div fxLayout="column" fxLayoutAlign="start stretch" *ngIf="workExperienceFlag">
<mat-form-field style="width:100%">
<input matInput placeholder="Previous Work Experience Details" formControlName="total_business_previous_experience">
</mat-form-field>
</div>
<div *ngIf="pd_cus_segment!='SAL-CHQ'">
<p>Emp Met</p>
<mat-radio-group name="was_met" formControlName="was_met"><!-- //(change)="checkotherDetails($event.value)" -->
@ -83,19 +105,6 @@
<mat-hint align="end" *ngIf="employmentForm.controls.confirm_salary_amount.value != ''">{{"&#8377;"}} {{mthlySlryAmtInWords}} Only</mat-hint>
</mat-form-field>
</div>
<div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width: 100%">
<input matInput placeholder="Total Work Experience" formControlName="total_business_experience"
OnlyNumber autocomplete="off">
</mat-form-field>
</div>
<div fxLayout="column" fxLayoutAlign="start stretch" *ngIf="employmentForm.controls['total_business_experience'].value > employmentForm.controls['how_long_year'].value">
<mat-form-field style="width: 100%">
<input matInput placeholder="Previous Work Experience Details" formControlName="total_business_previous_experience">
</mat-form-field>
</div>
</div>
</div>
@ -121,15 +130,23 @@
<h5>Salary Details</h5>
<mat-card-content>
<div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width: 100%">
<input matInput placeholder="From Date of Salary" formControlName="from_date_the_salary_is_rcv"
OnlyNumber type="number" min='1' max='31'>
<p>Date of Salary</p>&nbsp;
<mat-form-field style="width: 35%">
<mat-select placeholder="From" formControlName="from_date_the_salary_is_rcv" (selectionChange)="formDate($event.value)">
<mat-option>Select</mat-option>
<mat-option *ngFor="let date of dateonly" [value]="date.date" [disabled]="date.isdisabled">
{{date.date}}
</mat-option>
</mat-select>
</mat-form-field>
</div>
<div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width: 100%">
<input matInput placeholder="To Date of Salary" formControlName="to_date_the_salary_is_rcv"
OnlyNumber type="number" min='1' max='31'>
&nbsp;&nbsp;&nbsp;
<mat-form-field style="width: 35%">
<mat-select placeholder="To" formControlName="to_date_the_salary_is_rcv">
<mat-option>Select</mat-option>
<mat-option *ngFor="let date of todate" [value]="date.date" [disabled]="date.isdisabled">
{{date.date}}
</mat-option>
</mat-select>
</mat-form-field>
</div>
@ -147,42 +164,55 @@
<mat-hint align="end" *ngIf="employmentForm.controls.net_monthly_salary.value != ''">{{"&#8377;"}} {{netMthlySlryAmtInWords}} Only</mat-hint>
</mat-form-field>
</div>
<div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width: 100%">
<input matInput placeholder="Bonus or Incentive" formControlName="bonus_incentive"
OnlyNumber required (keyup)="inWords($event.target.value,4)">
<mat-hint align="end" *ngIf="employmentForm.controls.bonus_incentive.value != ''">{{"&#8377;"}} {{bonusIncentiveAmtInWords}} Only</mat-hint>
</mat-form-field>
</div>
<div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width: 100%">
<mat-select placeholder="Amount paid in Cash ?" formControlName="amount_paid_in_cash">
<mat-option>Select</mat-option>
<mat-option value="validated">Validated</mat-option>
<mat-option value="not validated">Not Validated</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field style="width: 100%">
<input matInput placeholder="Amount paid in Cash"
formControlName="amount_paid_in_cash" OnlyNumber OnlyNumber type="text" autocomplete="off" (keyup)="inWords($event.target.value,5)">
<mat-hint align="end" *ngIf="employmentForm.controls.amount_paid_in_cash.value != ''">{{"&#8377;"}} {{cashAmtInWords}} Only</mat-hint>
</mat-form-field>
</div>
<div fxLayout="column" fxLayoutAlign="start stretch" *ngIf="employmentForm.controls['amount_paid_in_cash'].value == 'validated'">
<div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width: 100%">
<input matInput placeholder="Amount paid through Bank"
formControlName="amount_paid_through_bank" OnlyNumber type="text" autocomplete="off" (keyup)="inWords($event.target.value,6)">
<mat-hint align="end" *ngIf="employmentForm.controls.amount_paid_through_bank.value != ''">{{"&#8377;"}} {{bankAmtInWords}} Only</mat-hint>
</mat-form-field>
</div>
<div fxLayout="column" fxLayoutAlign="start stretch" *ngIf="employmentForm.controls.amount_paid_in_cash.value != '' && employmentForm.controls.amount_paid_in_cash.value != 0">
<mat-form-field style="width: 100%">
<mat-select placeholder="Is the Amount is Validated or Not" formControlName="check_validated">
<mat-option>Select</mat-option>
<mat-option value="validated">Validated</mat-option>
<mat-option value="not validated">Not Validated</mat-option>
</mat-select>
</mat-form-field>
</div>
<div fxLayout="column" fxLayoutAlign="start stretch" *ngIf="employmentForm.controls['check_validated'].value == 'validated'">
<mat-form-field style="width: 100%">
<input matInput placeholder="How was it Validated" formControlName="how_was_it_validated">
</mat-form-field>
</div>
<div fxLayout="column" fxLayoutAlign="start stretch" *ngIf="employmentForm.controls['amount_paid_in_cash'].value == 'not validated'">
<div fxLayout="column" fxLayoutAlign="start stretch" *ngIf="employmentForm.controls['check_validated'].value == 'not validated'">
<mat-form-field style="width: 100%">
<input matInput placeholder="Why was it not Validated"
formControlName="why_was_it_not_validated">
</mat-form-field>
</div>
<div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width: 100%">
<input matInput placeholder="Amount paid through Bank"
formControlName="amount_paid_through_bank">
</mat-form-field>
<mat-form-field style="width: 100%">
<input matInput placeholder="Bonus or Incentive" formControlName="bonus_incentive"
OnlyNumber required (keyup)="inWords($event.target.value,4)">
<mat-hint align="end" *ngIf="employmentForm.controls.bonus_incentive.value != ''">{{"&#8377;"}} {{bonusIncentiveAmtInWords}} Only</mat-hint>
</mat-form-field>
</div>
<div fxLayout="column" fxLayoutAlign="start stretch" *ngIf="employmentForm.controls['bonus_incentive'].value != '' && employmentForm.controls['bonus_incentive'].value != '0' ">
@ -222,6 +252,17 @@
</mat-card-content>
</mat-card>
<mat-card>
<div fxLayout="row">
<div fxFlex="60" class="pb-0 text-sm-left">
<mat-form-field appearance="outline" style="width: 100%">
<mat-label>Remarks</mat-label>
<textarea matInput placeholder="Remarks" formControlName="employment_remarks"></textarea>
</mat-form-field>
</div>
</div>
</mat-card>
<ion-row>
<button ion-button full color="optblue" (click)="saveEmpInfo()"> Save</button>
</ion-row>

View File

@ -37,7 +37,14 @@ export class PdQuestionEmpInfoPage {
grossMthlySlryAmtInWords
netMthlySlryAmtInWords
bonusIncentiveAmtInWords
bankAmtInWords
cashAmtInWords
workExperienceFlag: boolean = false;
workExperienceErrorFlag:boolean = false;
public dateonly: any = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];
public todate: any[] = this.dateonly;
constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public aws: AwsServiceProvider, public toast: ToastProvider,public constant:ConstantsProvider) {
this.FormId = this.navParams.get('FormId');
@ -53,26 +60,28 @@ export class PdQuestionEmpInfoPage {
this.employmentForm = this.fb.group(
{
employer_name: [''],
employer_in_brief:[''],
how_long_year: [''],
how_long_month: [''],
total_business_experience: [''],
total_business_previous_experience: [''],
was_met: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],
name_person_met: [''],
designation_person_met: [''],
confirm_salary: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],
confirm_salary_amount: [''],
total_business_experience: [''],
total_business_previous_experience: [''],
attendance_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],
sal_reg_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],
from_date_the_salary_is_rcv: [''],
to_date_the_salary_is_rcv: [''],
gross_monthly_salary: [''],
net_monthly_salary: [''],
bonus_incentive: [''],
amount_paid_in_cash: [''],
amount_paid_through_bank: [''],
check_validated:[''],
how_was_it_validated: [''],
why_was_it_not_validated: [''],
amount_paid_through_bank: [''],
bonus_incentive: [''],
bonus_frequency: [''],
bonus_type: [''],
bonus_type_other: [''],
@ -142,8 +151,11 @@ export class PdQuestionEmpInfoPage {
records.formid = this.FormId.form_id;
records.fk_createdby = this.users;
records.employer_name = this.employmentForm.controls['employer_name'].value;
records.employer_in_brief = this.employmentForm.controls['employer_in_brief'].value;
records.how_long_year = this.employmentForm.controls['how_long_year'].value;
records.how_long_month = this.employmentForm.controls['how_long_month'].value;
records.total_business_experience = this.employmentForm.controls['total_business_experience'].value;
records.total_business_previous_experience = this.employmentForm.controls['total_business_previous_experience'].value;
records.was_met = this.employmentForm.controls['was_met'].value;
if (this.employmentForm.controls['was_met'].value == 'yes') {
records.name_person_met = this.employmentForm.controls['name_person_met'].value;
@ -153,31 +165,27 @@ export class PdQuestionEmpInfoPage {
records.designation_person_met = '';
}
records.confirm_salary = this.employmentForm.controls['confirm_salary'].value;
if (this.employmentForm.controls['confirm_salary'].value == 'yes') {
records.confirm_salary_amount = this.employmentForm.controls['confirm_salary_amount'].value;
records.total_business_experience = this.employmentForm.controls['total_business_experience'].value;
records.total_business_previous_experience = this.employmentForm.controls['total_business_previous_experience'].value;
}
else{
records.confirm_salary_amount = '';
records.total_business_experience = '';
records.total_business_previous_experience = '';
}
records.confirm_salary_amount = this.employmentForm.controls['confirm_salary'].value == 'yes' ? this.employmentForm.controls['confirm_salary_amount'].value : '';
records.attendance_seen = this.employmentForm.controls['attendance_seen'].value;
records.sal_reg_seen = this.employmentForm.controls['sal_reg_seen'].value;
records.from_date_the_salary_is_rcv = this.employmentForm.controls['from_date_the_salary_is_rcv'].value;
records.to_date_the_salary_is_rcv = this.employmentForm.controls['to_date_the_salary_is_rcv'].value;
records.gross_monthly_salary = this.employmentForm.controls['gross_monthly_salary'].value;
records.net_monthly_salary = this.employmentForm.controls['net_monthly_salary'].value;
records.bonus_incentive = this.employmentForm.controls['bonus_incentive'].value;
records.amount_paid_in_cash = this.employmentForm.controls['amount_paid_in_cash'].value;
records.how_was_it_validated = this.employmentForm.controls['how_was_it_validated'].value;
records.why_was_it_not_validated = this.employmentForm.controls['why_was_it_not_validated'].value;
records.amount_paid_through_bank = this.employmentForm.controls['amount_paid_through_bank'].value;
records.check_validated = this.employmentForm.controls['check_validated'].value;
records.how_was_it_validated = this.employmentForm.controls['check_validated'].value == 'validated' ? this.employmentForm.controls['how_was_it_validated'].value : '';
records.why_was_it_not_validated = this.employmentForm.controls['check_validated'].value != 'validated' ? this.employmentForm.controls['why_was_it_not_validated'].value : '';
records.any_delays = this.employmentForm.controls['any_delays'].value;
records.bonus_incentive = this.employmentForm.controls['bonus_incentive'].value;
records.bonus_frequency = this.employmentForm.controls['bonus_frequency'].value;
records.bonus_type = this.employmentForm.controls['bonus_type'].value;
records.bonus_type_other = this.employmentForm.controls['bonus_type_other'].value;
records.any_delays = this.employmentForm.controls['any_delays'].value;
records.employment_remarks = this.employmentForm.controls['employment_remarks'].value;
this.qustCat.saveForm(records).subscribe(data => {
@ -208,6 +216,27 @@ export class PdQuestionEmpInfoPage {
}
}
formDate(value){
// console.log('to',this.todate)
// console.log(value);
// console.log('to length',this.todate.length);
// console.log('index',value-1);
// console.log('this.todate',this.todate[11]);
// console.log('this.todate',this.todate[11].isdisabled);
this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue('');
this.todate = [{date:1,isdisabled:false},{date:2,isdisabled:false},{date:3,isdisabled:false},{date:4,isdisabled:false},{date:5,isdisabled:false},{date:6,isdisabled:false},{date:7,isdisabled:false},{date:8,isdisabled:false},{date:9,isdisabled:false},{date:10,isdisabled:false},{date:11,isdisabled:false},{date:12,isdisabled:false},{date:13,isdisabled:false},{date:14,isdisabled:false},{date:15,isdisabled:false},{date:16,isdisabled:false},{date:17,isdisabled:false},{date:18,isdisabled:false},{date:19,isdisabled:false},{date:20,isdisabled:false},{date:21,isdisabled:false},{date:22,isdisabled:false},{date:23,isdisabled:false},{date:24,isdisabled:false},{date:25,isdisabled:false},{date:26,isdisabled:false},{date:27,isdisabled:false},{date:28,isdisabled:false},{date:29,isdisabled:false},{date:30,isdisabled:false},{date:31,isdisabled:false}];
var i ;
if(value != 0 && value != '')
for(i=0;i<=value-1;i++){
this.todate[i].isdisabled = true;
if(value == 31){
this.todate[30].isdisabled = false;
}
}
}
ConvertMonthintoYear(e) {
let how_long_year = this.employmentForm.controls.how_long_year.value;
@ -220,6 +249,20 @@ ConvertMonthintoYear(e) {
}
checkWorkingExperiences(){
// this.workExperienceErrorFlag = (+this.employmentForm.controls.total_business_experience.value ) <= (+this.employmentForm.controls.how_long_year.value) ? true : false;
// this.workExperienceFlag = (+this.employmentForm.controls.total_business_experience.value ) < (+this.employmentForm.controls.how_long_year.value) ? false : true;
if((+this.employmentForm.controls.total_business_experience.value ) < (+this.employmentForm.controls.how_long_year.value)){
console.log(+this.employmentForm.controls.total_business_experience.value , +this.employmentForm.controls.how_long_year.value);
this.workExperienceFlag = false;
this.workExperienceErrorFlag = true;
}
else{
this.workExperienceFlag = true;
this.workExperienceErrorFlag = false;
}
}
inWords(val,flag:number){
switch(flag){
case 1 :
@ -234,6 +277,12 @@ inWords(val,flag:number){
case 4 :
this.bonusIncentiveAmtInWords = this.constant.convertNumberToWords(val);
break;
case 5 :
this.bankAmtInWords = this.constant.convertNumberToWords(val);
break;
case 6 :
this.cashAmtInWords = this.constant.convertNumberToWords(val);
break;
}
}
@ -250,6 +299,9 @@ inWords(val,flag:number){
this.employmentForm.controls['how_long_year'].setValue(Emp.how_long_year);
this.employmentForm.controls['how_long_month'].setValue(Emp.how_long_month);
this.employmentForm.controls['was_met'].setValue(Emp.was_met);
this.employmentForm.controls['total_business_experience'].setValue(Emp.total_business_experience);
this.employmentForm.controls['total_business_previous_experience'].setValue(Emp.total_business_previous_experience);
if (Emp.name_person_met) {
this.employmentForm.controls['name_person_met'].setValue(Emp.name_person_met);
}
@ -261,8 +313,7 @@ inWords(val,flag:number){
if (Emp.confirm_salary) {
this.employmentForm.controls['confirm_salary_amount'].setValue(Emp.confirm_salary_amount);
this.inWords(Emp.confirm_salary_amount,1);
this.employmentForm.controls['total_business_experience'].setValue(Emp.total_business_experience);
this.employmentForm.controls['total_business_previous_experience'].setValue(Emp.total_business_previous_experience);
}
this.employmentForm.controls['attendance_seen'].setValue(Emp.attendance_seen);
this.employmentForm.controls['sal_reg_seen'].setValue(Emp.sal_reg_seen);
@ -270,11 +321,12 @@ inWords(val,flag:number){
this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue(Emp.to_date_the_salary_is_rcv);
this.employmentForm.controls['gross_monthly_salary'].setValue(Emp.gross_monthly_salary);
this.employmentForm.controls['net_monthly_salary'].setValue(Emp.net_monthly_salary);
this.employmentForm.controls['bonus_incentive'].setValue(Emp.bonus_incentive);
this.employmentForm.controls['amount_paid_in_cash'].setValue(Emp.amount_paid_in_cash);
this.employmentForm.controls['amount_paid_through_bank'].setValue(Emp.amount_paid_through_bank);
this.employmentForm.controls['check_validated'].setValue(Emp.check_validated);
this.employmentForm.controls['how_was_it_validated'].setValue(Emp.how_was_it_validated);
this.employmentForm.controls['why_was_it_not_validated'].setValue(Emp.why_was_it_not_validated);
this.employmentForm.controls['amount_paid_through_bank'].setValue(Emp.amount_paid_through_bank);
this.employmentForm.controls['bonus_incentive'].setValue(Emp.bonus_incentive);
this.employmentForm.controls['bonus_frequency'].setValue(Emp.bonus_frequency);
this.employmentForm.controls['bonus_type'].setValue(Emp.bonus_type);
this.employmentForm.controls['bonus_type_other'].setValue(Emp.bonus_type_other);
@ -284,6 +336,8 @@ inWords(val,flag:number){
this.inWords(Emp.gross_monthly_salary,2);
this.inWords(Emp.net_monthly_salary,3);
this.inWords(Emp.bonus_incentive,4);
this.inWords(Emp.amount_paid_in_cash,5);
this.inWords(Emp.amount_paid_through_bank,6);
}
})

View File

@ -4,7 +4,8 @@
<button ion-button menuToggle>
<ion-icon name="menu"></ion-icon>
</button>
<ion-title *ngIf="!viewchange">{{FormId.form_name}}</ion-title>
<ion-title *ngIf="!viewchange">Neighbourhood</ion-title>
<!-- {{FormId.form_name}} -->
</ion-navbar>
@ -46,11 +47,11 @@
<label style="font-size: 13px;font-weight: bold" float-right color="primary">Do not know &nbsp;
<mat-slide-toggle style="zoom: 0.9;" float-right color="primary" formControlName="did_not_know_the_business_operation" (change)="toggleVisibility($event.checked,n,1)"></mat-slide-toggle></label>
<mat-form-field style="width: 100%" *ngIf="!isDisplay[n]">
<input matInput type="number" placeholder="Years" formControlName="how_long_do_know_in_year" type="text" (keypress)="keyPress($event)">
<input matInput type="number" placeholder="Years" formControlName="how_long_do_know_in_year">
<mat-error style="font-size:12px;margin:0;padding:0;font-weight: normal;float:right" *ngIf="neighbourhood['controls'].how_long_do_know_in_year.errors?.required || neighbourhood['controls'].how_long_do_know_in_year.touched">Year is Required</mat-error>
</mat-form-field>
<mat-form-field style="width: 100%" *ngIf="!isDisplay[n]">
<input matInput type="number" placeholder="Months" formControlName="how_long_do_know_in_month" type="text" (keypress)="keyPress($event)" (change)="ConvertMonthintoYear(neighbourhood,$event.target.value,1)">
<input matInput type="number" placeholder="Months" formControlName="how_long_do_know_in_month" (change)="ConvertMonthintoYear(neighbourhood,$event.target.value,1)">
<!-- <mat-error style="font-size:12px;margin:0;padding:0;font-weight: normal;float:right" *ngIf="neighbourhood['controls'].how_long_do_know_in_month.errors?.required || neighbourhood['controls'].how_long_do_know_in_month.touched">Month is Required</mat-error> -->
</mat-form-field>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.