diff --git a/src/pages/pd-question/pd-question-address/pd-question-address.html b/src/pages/pd-question/pd-question-address/pd-question-address.html index 9a3492be..95bca097 100755 --- a/src/pages/pd-question/pd-question-address/pd-question-address.html +++ b/src/pages/pd-question/pd-question-address/pd-question-address.html @@ -20,7 +20,14 @@
- + + + +
@@ -101,18 +108,15 @@ - - - + -
diff --git a/src/pages/pd-question/pd-question-address/pd-question-address.scss b/src/pages/pd-question/pd-question-address/pd-question-address.scss index a88f783e..a512fad6 100755 --- a/src/pages/pd-question/pd-question-address/pd-question-address.scss +++ b/src/pages/pd-question/pd-question-address/pd-question-address.scss @@ -11,4 +11,7 @@ page-pd-question-address { .mat-card-content{ margin-bottom: 0px !important; } + textarea { + resize: none; + } } diff --git a/src/pages/pd-question/pd-question-address/pd-question-address.ts b/src/pages/pd-question/pd-question-address/pd-question-address.ts index f41330e8..b29749af 100755 --- a/src/pages/pd-question/pd-question-address/pd-question-address.ts +++ b/src/pages/pd-question/pd-question-address/pd-question-address.ts @@ -210,7 +210,18 @@ export class PdQuestionAddressPage { ) } - +countRowsForTextarea(text){ + + // console.log('text.length%100',text.length%190); + // console.log('text.length/100',text.length/100); + if(text.length%100 > 5) + return 5; + else if(text.length%100 <= 3) + return 3; + else return Math.floor(text.length%100); + + } + ionViewWillLeave() { @@ -431,7 +442,7 @@ export class PdQuestionAddressPage { console.log("pin init", this.pincodeValue[0]) if(AddressDetails != null){ return this.fb.group({ - address: [AddressDetails.address, Validators.compose([Validators.required])], + address: [AddressDetails.address + 'qqqqqqqqqqqqqqqqqqqqqqqqqqqq wwwwwwwwwwwwwwwwwwwe eeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrr', Validators.compose([Validators.required])], address_type: [AddressDetails.address_type, Validators.compose([Validators.required])], address_type_others: [AddressDetails.address_type_others], state: [AddressDetails.state], @@ -443,7 +454,7 @@ export class PdQuestionAddressPage { pincode_others: [AddressDetails.pincode_others, Validators.compose([Validators.minLength(6), Validators.maxLength(6)])], locality: [AddressDetails.locality, Validators.compose([Validators.required])], locality_others: [AddressDetails.locality_others], - locality_mixuse: [AddressDetails.locality_mixuse], + // locality_mixuse: [AddressDetails.locality_mixuse], pd_location: [AddressDetails.pd_location, Validators.compose([Validators.required])], comment_locality: [AddressDetails.comment_locality, Validators.compose([Validators.required])], estimated_area: [AddressDetails.estimated_area], @@ -465,7 +476,7 @@ export class PdQuestionAddressPage { pincode_others: ['', Validators.compose([Validators.minLength(6), Validators.maxLength(6)])], locality: ['', Validators.compose([Validators.required])], locality_others: [''], - locality_mixuse: [''], + // locality_mixuse: [''], pd_location: ['', Validators.compose([Validators.required])], comment_locality: ['', Validators.compose([Validators.required])], estimated_area: [''], @@ -619,7 +630,7 @@ export class PdQuestionAddressPage { 'pincode_others':datas.pincode_others, 'locality': datas.locality, 'locality_others': datas.locality_others, - 'locality_mixuse': datas.locality_mixuse, + // 'locality_mixuse': datas.locality_mixuse, 'pd_location': datas.pd_location, 'comment_locality': datas.comment_locality, 'estimated_area': datas.estimated_area, @@ -763,7 +774,7 @@ export class PdQuestionAddressPage { 'pincode_others': datas.other_pincode, 'locality': '', 'locality_others': '', - 'locality_mixuse':'', + // 'locality_mixuse':'', 'pd_location': '', 'comment_locality': '', 'estimated_area': '', diff --git a/src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.html b/src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.html index 9be19ab8..9f637268 100755 --- a/src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.html +++ b/src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.html @@ -45,7 +45,7 @@
- + @@ -74,8 +74,8 @@

PURCHASE

-
- + @@ -104,8 +104,8 @@

HOUSE HOLD

-
- + - + @@ -620,7 +620,7 @@ - + @@ -868,7 +868,7 @@ - + @@ -1128,7 +1128,7 @@ - + diff --git a/src/pages/pd-question/pd-question-general-info/pd-question-general-info.html b/src/pages/pd-question/pd-question-general-info/pd-question-general-info.html index 526714c4..653a23e8 100755 --- a/src/pages/pd-question/pd-question-general-info/pd-question-general-info.html +++ b/src/pages/pd-question/pd-question-general-info/pd-question-general-info.html @@ -6,370 +6,364 @@ {{FormId.form_name}} - - -
- -
Name of Person(s) Met and Individual Loan Applicant(s)
- - - - -

{{item.get('applicant_name').value | titlecase}}

-

Age : {{item.get('age').value}}   - {{item.get('qualification_name').value}}

-

  {{item.get('course_name').value | titlecase}}

-
- - -
- - - - -

Person

- -
- -

Applicant

- -
- -
- -
- - -
- -
- -
-
- - - -
- - -
-
-
- -
- - Add Name of Person(s) Met and Individual Loan Applicant(s) - Update Name of Person(s) Met and Individual Loan Applicant(s) - - -
-
- + +
Name of Person(s) Met and Individual Loan Applicant(s)
+ + + + +

{{item.get('applicant_name').value | titlecase}}

+

Age : {{item.get('age').value}}   + {{item.get('qualification_name').value}}

+

+   {{item.get('course_name').value | titlecase}} +

+
+ + +
+ + + + +

Person

+ +
+ +

Applicant

+ +
+ +
+ +
+ + +
+ +
+ +
+
+ + + +
+ + +
+
+
+ +
+ + Add Name of Person(s) Met and Individual Loan Applicant(s) + Update Name of Person(s) Met and Individual Loan Applicant(s) + + +
+
+ - Select + Select {{t1.name}} - - - - - Name is Required - - - - Age is Required - - - - - Select - {{qu.qualification_name}} - - Qualification is Required - - -
- - - -
- Is Person Met

- Is Applicant - - - - - - -
-
- -
-
-
- - - - +
- - -
Number of Years for which rental income is being received
- - - Please Enter Correct Year - - - - -
- - - - - -
Company/Firm
-
- - - - - -

{{item.get('company_name').value | titlecase}}

-

{{item.get('business_entity_type_name').value}}{{item.get('business_entity_type_other').value+"-Others"}}

-

  {{item.get('business_years').value}} Years {{item.get('business_month').value}} Months

-
- - - -
- - - - -

Company Applicant

- -
- -
- -
- -
- -
-
-
+ + + Name + is Required + + + + Age + is Required + - - - - -
- - -
-
-
- -
- - Add Company/Firm - -
-
- - Company / Firm - - Company Name is Required - - Is Applicant
- - -
- - + + Select - - {{business.business_entity_type_name}} - - - Business Entity Required - - - - - -

Number of Years For Which The Business Has Been Running

- - - - - - - - - - - - - - - + {{qu.qualification_name}} +
+ Qualification + is Required +
+ +
+ + + +
+ Is Person Met
+
+ Is Applicant + + + + + + +
-
-
- - - - - -
- - - Relationship Between Individuals - - -
- + +
+ +
+ + + + +
Number of Years for which rental income is being received
+
+ + + Please Enter Correct Year + + + + +
+ + + + + +
Company/Firm
+
+ + + + + +

{{item.get('company_name').value | titlecase}}

+

{{item.get('business_entity_type_name').value}}{{item.get('business_entity_type_other').value+"-Others"}}

+

+   {{item.get('business_years').value}} + Years {{item.get('business_month').value}} + Months +

+
+ + + +
+ + + + +

Company Applicant

+ +
+ +
+ +
+ +
+ +
+
+
+ + + + + +
+ + +
+
+
+ +
+ + Add Company/Firm + +
+
+ + Company / Firm + + Company + Name is Required + + Is + Applicant
+ + +
+ + + Select + + {{business.business_entity_type_name}} + + + Business + Entity Required + + + + + +

Number of Years For Which The Business Has Been Running

+ + + + + + + + + + + + + + + +
+
+
+
+
+ + + +
+ + + Relationship Between Individuals + + +
+ -
Applicant {{i+1}}
+
Applicant {{i+1}}
- Select - {{name.applicant_name | titlecase}} + Select + {{name.applicant_name | + titlecase}} - - Select - {{member.name + ' Of' | titlecase}} - - - - - + Select - {{rel.applicant_name | titlecase}} - Not Applicable - - -
-
- -
-
- - -
- - Relationship of Individuals to Company / Firm - -
-
Applicant {{i+1}}
- - - Select - {{name.applicant_name | titlecase}} - - - - - Select - - {{comrelShip.name | titlecase}} - - - - - - Select - {{comp.company_name | titlecase}} + {{member.name + ' + Of' | titlecase}} + Not Applicable - -
-

- - - - - - + + + + Select + {{rel.applicant_name + | titlecase}} + Not Applicable + + + +
+ +
+
+ + +
+ + Relationship of Individuals to Company / Firm + +
+
Applicant {{i+1}}
+ + + Select + {{name.applicant_name + | titlecase}} + + + + + Select + + {{comrelShip.name | titlecase}} + + Not Applicable + + + + + Select + {{comp.company_name | + titlecase}} + Not Applicable + + + + + +
+

+ + + + + +
- - - - - - + + + + - - - - - + - - - - - - + + + + + \ No newline at end of file diff --git a/src/pages/pd-question/pd-question-loans/pd-question-loans.ts b/src/pages/pd-question/pd-question-loans/pd-question-loans.ts index ae2a5d8f..cb9c3ef4 100755 --- a/src/pages/pd-question/pd-question-loans/pd-question-loans.ts +++ b/src/pages/pd-question/pd-question-loans/pd-question-loans.ts @@ -76,6 +76,7 @@ export class PdQuestionLoansPage { this.FormId = this.navParams.get('FormId'); this.pdDetails = this.navParams.get('pdDetails'); this.applicants = this.pdDetails.applicat_details + this.applicants = this.applicants.filter(appt => appt.applicant_type != 2); this.productAbbr = this.pdDetails.product_abbr; this.users = this.aws.getlocale(); this.pdid=this.pdDetails.pd_id;