From a16432e118eff454083453f2e107a765447dbd0e Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Fri, 22 Mar 2019 18:52:41 +0530 Subject: [PATCH] RI changes --- .../other-income/other-income.component.html | 4 +++- .../rental-verification.component.html | 22 ++++++++++++------- .../rental-verification.component.ts | 14 ++++++++++++ 3 files changed, 31 insertions(+), 9 deletions(-) diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.html index 638309939..cf77dff53 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.html @@ -66,7 +66,9 @@ - Rental Info Details + + + diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/rental-verification.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/rental-verification.component.html index 2e1184ebe..4f8281d89 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/rental-verification.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/rental-verification.component.html @@ -62,7 +62,7 @@
- Is Address Validated During Visit ? ( {{_rentalForm.value.validate_visited_address===true ? 'Yes' : 'No'}} ) + Is This the Address Visited ? ( {{_rentalForm.value.validate_visited_address===true ? 'Yes' : 'No'}} )
Actual Address Visited @@ -274,7 +274,7 @@ - Area Covered by the Property + Area Covered by the Unit @@ -386,7 +386,7 @@ - Relation of Owner to Rent Agreement + Relation of Owner to Loan Applicant @@ -484,24 +484,24 @@ Mode of Payment of Rent as Validated by PD Officer with Tenant / Lessee During Visit - + {{payment.name}} - Amount Received in Cash + Amount Paid in Cash {{"₹"}} {{units.value.amount_received_cash_per_met | numberToWords}} Only - Amount Received in Bank + Amount Paid in Bank {{"₹"}} {{units.value.amount_received_bank_per_met | numberToWords}} Only - Reason for Receiving Multiple Payment Mode + Reason for Paid Multiple Payment Mode @@ -581,7 +581,13 @@ -
+
+ + Remarks + + +
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/rental-verification.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/rental-verification.component.ts index 5aa1cc626..27fef38fe 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/rental-verification.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/rental-verification.component.ts @@ -31,6 +31,7 @@ export class RentalVerificationComponent implements OnInit { relationToList: any=[]; rentAmtInwords : String; paymentOptions: any=[{id:1,name:"Received in Cash"},{id:2,name:"Received through Banking Channel"},{id:3,name:"Combination of Cash & Bank"}]; + paymentPaidOptions: any=[{id:1,name:"Paid in Cash"},{id:2,name:"Paid through Banking Channel"},{id:3,name:"Combination of Cash & Bank"}]; propertyNature: any=[{id:2,name:"Residential Property"},{id:3,name:"Commercial Property"},{id:4,name:"Industrial Property"},{id:1,name:"Others (Please Specify)"}]; unitTypeList: any=[]; stateList:any=[]; @@ -207,6 +208,7 @@ export class RentalVerificationComponent implements OnInit { no_units:[''], property_unit_details : this._fb.array([]), done_third_party_check :['',Validators.required], + rental_remark: [''], }); } // other_name_person_showing_property changes @@ -506,6 +508,18 @@ generateRegisterDetails(value: any,index:number){ control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl('')); } + else if(value.rent_agreement_registered=="0"){ + control.controls[index].addControl('agreement_date', new FormControl('', Validators.required)); + control.controls[index].addControl('agreement_no_months', new FormControl('', Validators.required)); + control.controls[index].addControl('agreement_expiring_date', new FormControl('')); + control.controls[index].addControl('rental_remaining_months', new FormControl('')); + control.controls[index].addControl('agreement_monthly_rent_amount', new FormControl('', Validators.required)); + control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required)); + control.controls[index].addControl('agreement_security_deposit_amount', new FormControl('', Validators.required)); + control.controls[index].addControl('agreement_property_owners_name', new FormControl('', Validators.required)); + control.controls[index].addControl('agreement_tenant_lessees_name', new FormControl('', Validators.required)); + control.controls[index].addControl('differences_loanapplicant_rentagreement', new FormControl('')); + } else{ control.controls[index].removeControl('agreement_date'); control.controls[index].removeControl('agreement_no_months');