queries changes
This commit is contained in:
parent
44359f45ea
commit
76a63e31cc
@ -132,8 +132,10 @@
|
||||
<div formArrayName="recommendation_positive">
|
||||
<div *ngFor="let details of _finalRemarkForm.get('recommendation_positive').controls; let i=index; let l=last" [formGroupName]="i">
|
||||
<mat-form-field>
|
||||
<mat-placeholder>Reason for Marking PD Status as Positive</mat-placeholder>
|
||||
<input matInput autocomplete="off" formControlName="reason_for_positive" required>
|
||||
<mat-placeholder>Reason for Marking PD Status as Positive</mat-placeholder>
|
||||
<textarea matInput autocomplete="off" formControlName="reason_for_positive" required></textarea>
|
||||
<!-- <mat-placeholder>Reason for Marking PD Status as Positive</mat-placeholder>
|
||||
<input matInput autocomplete="off" formControlName="reason_for_positive" required> -->
|
||||
</mat-form-field>
|
||||
<ion-buttons end>
|
||||
<ion-col col-3 offset-3 *ngIf="_finalRemarkForm.get('recommendation_positive').controls.length > 1">
|
||||
|
||||
@ -116,13 +116,23 @@ this.loadingProvider.dataLoader();
|
||||
console.log("d",values)
|
||||
}
|
||||
addMore(){
|
||||
let passValues: any = {
|
||||
manage_status: 1,
|
||||
// parentData: this.parentData,
|
||||
// masterData: this.masterData,
|
||||
existing_rental_count_id: this.existing_rental_count_id + 1,
|
||||
}
|
||||
this.navCtrl.push(PdQuestionRentalInfoPage,{"values":passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});
|
||||
let params: any = {};
|
||||
console.log('add params',params);
|
||||
params.pd_id = this.pdDetails.pd_id;
|
||||
console.log(this.pdDetails.pd_id);
|
||||
this.qustCat.getPropertyCount(this.pdDetails.pd_id).subscribe(data => {
|
||||
if (data.status == 200){
|
||||
let passValues: any = {
|
||||
manage_status: 1,
|
||||
// parentData: this.parentData,
|
||||
// masterData: this.masterData,
|
||||
existing_rental_count_id: data.records,
|
||||
}
|
||||
this.navCtrl.push(PdQuestionRentalInfoPage,{"values":passValues,'pdDetails':this.pdDetails,'FormId':this.form_details});
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
isactiveProperty(info){
|
||||
|
||||
@ -36,8 +36,9 @@
|
||||
<mat-form-field style="width:100%">
|
||||
<!-- <mat-placeholder>
|
||||
{{item.add_requirement}}
|
||||
</mat-placeholder> -->
|
||||
<input matInput type="text" [formControlName]="item.add_req_id" placeholder="Enter the Text">
|
||||
</mat-placeholder> -->
|
||||
<textarea matInput autocomplete="off" [formControlName]="item.add_req_id" placeholder="Enter the Text"></textarea>
|
||||
<!-- <input matInput type="text" [formControlName]="item.add_req_id" placeholder="Enter the Text"> -->
|
||||
</mat-form-field>
|
||||
</div>
|
||||
</div>
|
||||
@ -75,7 +76,8 @@
|
||||
</ion-row>
|
||||
<!-- <button *ngIf="camera_btn[i] == true" ion-button slot="end" small float-right (click)="capture(i,item)">Capture<ion-icon name="md-camera"></ion-icon></button> -->
|
||||
<mat-form-field *ngIf="item.controls['reason']" style="width: 100%">
|
||||
<input matInput type="text" formControlName="reason" placeholder="Enter the Reason">
|
||||
<textarea matInput autocomplete="off" formControlName="reason" placeholder="Enter the Reason"></textarea>
|
||||
<!-- <input matInput type="text" formControlName="reason" placeholder="Enter the Reason"> -->
|
||||
</mat-form-field>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
|
||||
@ -66,7 +66,7 @@ public commonimage = "http://pdgenie.com/logo/avatar.jpg";
|
||||
userPoolId:'ap-south-1_qQ85yQZJO',
|
||||
clientId:'2o5c3cs9k3als16nqhp3irh8rs' //for mobile
|
||||
}
|
||||
return production;
|
||||
return testing;
|
||||
}
|
||||
|
||||
getcurrentDate()
|
||||
|
||||
@ -77,6 +77,11 @@ apiurl:any;
|
||||
return this.http.post(this.apiurl + 'deactiveFormData', { "records": params })
|
||||
|
||||
}
|
||||
getPropertyCount(params :any): Observable<any> {
|
||||
console.log('service params',params)
|
||||
return this.http.get(this.apiurl + 'getNextRentalCount?pdid=' +params)
|
||||
|
||||
}
|
||||
|
||||
/**Assessed Form Details API */
|
||||
saveassessedForms(api,saveData)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user