merge: kms
This commit is contained in:
parent
c6de6f45b1
commit
b36a2ca9ad
@ -9,31 +9,35 @@
|
||||
</div>
|
||||
<div>
|
||||
<div>
|
||||
<label>Billing Name : </label> {{pdReportRecords.billing_name}}
|
||||
<label>Billing Name : </label> {{pdReportRecords?.billing_name}}
|
||||
</div>
|
||||
<div>
|
||||
<label>Product Name : </label> {{pdReportRecords.product_name}}
|
||||
<label>Product Name : </label> {{pdReportRecords?.product_name}}
|
||||
</div>
|
||||
<div>
|
||||
<label>Customer Segment Name: </label> {{pdReportRecords.customer_segment_name}}
|
||||
<label>Customer Segment Name: </label> {{pdReportRecords?.customer_segment_name}}
|
||||
</div>
|
||||
<div>
|
||||
<label>PD Type: </label> {{pdReportRecords.pd_type_name}}
|
||||
<label>PD Type: </label> {{pdReportRecords?.pd_type_name}}
|
||||
</div>
|
||||
<div>
|
||||
<label>Status: </label> {{pdReportRecords.pd_status}}
|
||||
<label>Status: </label> {{pdReportRecords?.pd_status}}
|
||||
</div>
|
||||
<div>
|
||||
<label>Applicant Details : </label> <span *ngFor="let applicants of pdReportRecords?.pd_applicant_details; let last = last"> {{applicants.applicant_name}} <span *ngIf="!last"> , </span></span>
|
||||
<label>Applicant Details : </label>
|
||||
<span *ngFor="let applicants of pdReportRecords?.pd_applicant_details; let last = last"> {{applicants.applicant_name}} <span *ngIf="!last"> , </span></span>
|
||||
</div>
|
||||
<!--{{pdReportRecords.question_answers | json}}-->
|
||||
<div *ngFor="let data of pdReportRecords?.question_answers.form_details">
|
||||
<h4><b>{{data.Name}}</b></h4>
|
||||
<div *ngFor="let dataQA of data?.Details">
|
||||
<div><b>{{dataQA.question}}</b></div>
|
||||
<div>{{dataQA.answer}}</div>
|
||||
</div>
|
||||
|
||||
<div *ngIf="data?.details.length > 0">
|
||||
<h4><b>{{data.name}}</b></h4>
|
||||
<div *ngFor="let dataQA of data?.details">
|
||||
<div><b>{{dataQA.question}}</b></div>
|
||||
<div>{{dataQA.answer}}</div>
|
||||
</div>
|
||||
<hr>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</mat-card-content>
|
||||
|
||||
@ -33,223 +33,7 @@ export class PdReportComponent implements OnInit {
|
||||
if (data.status == 200) {
|
||||
// this.pdReportRecords = data.records.question_answers;
|
||||
|
||||
let Records = {
|
||||
"dataStatus": true,
|
||||
"status": 200,
|
||||
"records": {
|
||||
"pd_id": "1",
|
||||
"fk_lender_id": "7",
|
||||
"lender_full_name": "check",
|
||||
"lender_short_name": "check",
|
||||
"fk_entity_billing_id": "1",
|
||||
"billing_name": "ICICI- CHENNAI",
|
||||
"lender_applicant_id": "Le123",
|
||||
"pd_date_of_initiation": "06\/10\/2018",
|
||||
"fk_product_id": "8",
|
||||
"product_name": "Land Loan",
|
||||
"product_abbr": "LL",
|
||||
"fk_subproduct_id": "1",
|
||||
"subproduct_name": "Purchase (Resale) Loan. ",
|
||||
"subproduct_abbr": "HL PUR-RESALE",
|
||||
"fk_pd_type": "1",
|
||||
"pd_type_name": "Full PD ",
|
||||
"pd_status": "COMPLETED",
|
||||
"pd_status_name": null,
|
||||
"pd_specific_clarification": null,
|
||||
"createdon": "06\/10\/2018 05:43:58",
|
||||
"fk_createdby": "1",
|
||||
"updatedon": "16\/11\/2018 11:11:00",
|
||||
"fk_updatedby": "1",
|
||||
"createdby": "Krishna kumar",
|
||||
"updatedby": "Krishna kumar",
|
||||
"fk_pd_allocation_type": "1",
|
||||
"pd_allocation_type_name": "AUTO",
|
||||
"fk_pd_allocated_to": "128",
|
||||
"pd_allocated_to": "VinothKumar S",
|
||||
"executive_id": null,
|
||||
"executive_name": null,
|
||||
"central_pd_officer_id": null,
|
||||
"centralofficer": null,
|
||||
"fk_pd_template_id": "11",
|
||||
"template_name": "TMB",
|
||||
"fk_customer_segment": "2",
|
||||
"customer_segment_name": "Salary Cheque",
|
||||
"customer_segment_abbr": "SAL-CHQ",
|
||||
"pd_officier_final_judgement": null,
|
||||
"pd_agency_id": null,
|
||||
"agency_name": null,
|
||||
"loan_amount": "60000",
|
||||
"addressline1": "MGR Street,Vengaivasal Main Road",
|
||||
"addressline2": "Santhoshpuram",
|
||||
"addressline3": "chennai",
|
||||
"fk_city": "2",
|
||||
"city_name": "Chennai",
|
||||
"fk_state": "2",
|
||||
"state_name": "Tamil Nadu",
|
||||
"pincode": "600100",
|
||||
"pd_contact_person": "Ram",
|
||||
"pd_contact_mobileno": "32131233",
|
||||
"scheduled_on": "31\/12\/2018 12:59 PM",
|
||||
"completed_on": null,
|
||||
"remarks": null,
|
||||
"pd_applicant_details": [
|
||||
{
|
||||
"pd_co_applicant_id": "1",
|
||||
"fk_pd_id": "1",
|
||||
"applicant_name": "Karthi Raj",
|
||||
"applicant_type": "1",
|
||||
"mobile_no": "4234234155",
|
||||
"email": "sivak@gmail.com",
|
||||
"addressline1": null,
|
||||
"addressline2": null,
|
||||
"addressline3": null,
|
||||
"fk_city": null,
|
||||
"fk_state": null,
|
||||
"pincode": null,
|
||||
"relation": "brother",
|
||||
"relation_name": null,
|
||||
"landline": null
|
||||
},
|
||||
{
|
||||
"pd_co_applicant_id": "2",
|
||||
"fk_pd_id": "1",
|
||||
"applicant_name": "ramesh",
|
||||
"applicant_type": "0",
|
||||
"mobile_no": "3123123213",
|
||||
"email": "",
|
||||
"addressline1": null,
|
||||
"addressline2": null,
|
||||
"addressline3": null,
|
||||
"fk_city": null,
|
||||
"fk_state": null,
|
||||
"pincode": null,
|
||||
"relation": "brother",
|
||||
"relation_name": null,
|
||||
"landline": null
|
||||
}
|
||||
],
|
||||
"question_answers": {
|
||||
"form_details": [
|
||||
{
|
||||
"Name": "Supplied Details",
|
||||
"Details": [
|
||||
{
|
||||
"question": "What are the main raw materials?(MEG Only)",
|
||||
"answer": "check checkcheck"
|
||||
},
|
||||
{
|
||||
"question": "Supplier Name",
|
||||
"answer": "Resico"
|
||||
},
|
||||
{
|
||||
"question": "Contact Person Name",
|
||||
"answer": "Karthick"
|
||||
},
|
||||
{
|
||||
"question": "Contact Mobile Number",
|
||||
"answer": "9874115221"
|
||||
},
|
||||
{
|
||||
"question": "Payment Mode",
|
||||
"answer": "Immediate Or Advanced Payment"
|
||||
},
|
||||
{
|
||||
"question": "% of immediate \/ Advance Payment Purchase to Total Purchase?",
|
||||
"answer": "212"
|
||||
},
|
||||
{
|
||||
"question": "Credit Period",
|
||||
"answer": ""
|
||||
},
|
||||
{
|
||||
"question": "Frequency of Purchase",
|
||||
"answer": "Monthly"
|
||||
},
|
||||
{
|
||||
"question": "Others Details",
|
||||
"answer": ""
|
||||
}
|
||||
]},
|
||||
{
|
||||
"Name": "Client Details",
|
||||
"Details": [
|
||||
{
|
||||
"question": "Client Name",
|
||||
"answer": "Venba"
|
||||
},
|
||||
{
|
||||
"question": "Contact Person Name",
|
||||
"answer": "test"
|
||||
},
|
||||
{
|
||||
"question": "Contact Mobile Number",
|
||||
"answer": "9685471122"
|
||||
},
|
||||
{
|
||||
"question": "Payment Mode",
|
||||
"answer": "Combination of Both"
|
||||
},
|
||||
{
|
||||
"question": "% of immediate \/ Advance Payment Purchase to Total Purchase?",
|
||||
"answer": "12"
|
||||
},
|
||||
{
|
||||
"question": "Credit Period",
|
||||
"answer": "10"
|
||||
},
|
||||
{
|
||||
"question": "Frequency of Purchase",
|
||||
"answer": "Weekly"
|
||||
},
|
||||
{
|
||||
"question": "Others Details",
|
||||
"answer": ""
|
||||
}
|
||||
]},
|
||||
{ "Name": "Personal Details",
|
||||
"Details": [
|
||||
{
|
||||
"question": "Name",
|
||||
"answer": "Karthi Raj"
|
||||
},
|
||||
{
|
||||
"question": "Age",
|
||||
"answer": "50"
|
||||
},
|
||||
{
|
||||
"question": "Entity",
|
||||
"answer": "Individual"
|
||||
},
|
||||
{
|
||||
"question": "Name",
|
||||
"answer": "ramesh"
|
||||
},
|
||||
{
|
||||
"question": "Age",
|
||||
"answer": "45"
|
||||
},
|
||||
{
|
||||
"question": "Entity",
|
||||
"answer": "Individual"
|
||||
},
|
||||
{
|
||||
"question": "Relationship With Main Applicant",
|
||||
"answer": "Brother"
|
||||
},
|
||||
{
|
||||
"question": "Remarks",
|
||||
"answer": "good"
|
||||
}
|
||||
]}
|
||||
],
|
||||
"general_questions": [
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.pdReportRecords = Records.records;
|
||||
|
||||
this.pdReportRecords = data.records;
|
||||
// this.pdReportRecords = data.records.qu;
|
||||
}
|
||||
}, err=> {
|
||||
@ -264,3 +48,219 @@ export class PdReportComponent implements OnInit {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
// let Records = {
|
||||
// "dataStatus": true,
|
||||
// "status": 200,
|
||||
// "records": {
|
||||
// "pd_id": "1",
|
||||
// "fk_lender_id": "7",
|
||||
// "lender_full_name": "check",
|
||||
// "lender_short_name": "check",
|
||||
// "fk_entity_billing_id": "1",
|
||||
// "billing_name": "ICICI- CHENNAI",
|
||||
// "lender_applicant_id": "Le123",
|
||||
// "pd_date_of_initiation": "06\/10\/2018",
|
||||
// "fk_product_id": "8",
|
||||
// "product_name": "Land Loan",
|
||||
// "product_abbr": "LL",
|
||||
// "fk_subproduct_id": "1",
|
||||
// "subproduct_name": "Purchase (Resale) Loan. ",
|
||||
// "subproduct_abbr": "HL PUR-RESALE",
|
||||
// "fk_pd_type": "1",
|
||||
// "pd_type_name": "Full PD ",
|
||||
// "pd_status": "COMPLETED",
|
||||
// "pd_status_name": null,
|
||||
// "pd_specific_clarification": null,
|
||||
// "createdon": "06\/10\/2018 05:43:58",
|
||||
// "fk_createdby": "1",
|
||||
// "updatedon": "16\/11\/2018 11:11:00",
|
||||
// "fk_updatedby": "1",
|
||||
// "createdby": "Krishna kumar",
|
||||
// "updatedby": "Krishna kumar",
|
||||
// "fk_pd_allocation_type": "1",
|
||||
// "pd_allocation_type_name": "AUTO",
|
||||
// "fk_pd_allocated_to": "128",
|
||||
// "pd_allocated_to": "VinothKumar S",
|
||||
// "executive_id": null,
|
||||
// "executive_name": null,
|
||||
// "central_pd_officer_id": null,
|
||||
// "centralofficer": null,
|
||||
// "fk_pd_template_id": "11",
|
||||
// "template_name": "TMB",
|
||||
// "fk_customer_segment": "2",
|
||||
// "customer_segment_name": "Salary Cheque",
|
||||
// "customer_segment_abbr": "SAL-CHQ",
|
||||
// "pd_officier_final_judgement": null,
|
||||
// "pd_agency_id": null,
|
||||
// "agency_name": null,
|
||||
// "loan_amount": "60000",
|
||||
// "addressline1": "MGR Street,Vengaivasal Main Road",
|
||||
// "addressline2": "Santhoshpuram",
|
||||
// "addressline3": "chennai",
|
||||
// "fk_city": "2",
|
||||
// "city_name": "Chennai",
|
||||
// "fk_state": "2",
|
||||
// "state_name": "Tamil Nadu",
|
||||
// "pincode": "600100",
|
||||
// "pd_contact_person": "Ram",
|
||||
// "pd_contact_mobileno": "32131233",
|
||||
// "scheduled_on": "31\/12\/2018 12:59 PM",
|
||||
// "completed_on": null,
|
||||
// "remarks": null,
|
||||
// "pd_applicant_details": [
|
||||
// {
|
||||
// "pd_co_applicant_id": "1",
|
||||
// "fk_pd_id": "1",
|
||||
// "applicant_name": "Karthi Raj",
|
||||
// "applicant_type": "1",
|
||||
// "mobile_no": "4234234155",
|
||||
// "email": "sivak@gmail.com",
|
||||
// "addressline1": null,
|
||||
// "addressline2": null,
|
||||
// "addressline3": null,
|
||||
// "fk_city": null,
|
||||
// "fk_state": null,
|
||||
// "pincode": null,
|
||||
// "relation": "brother",
|
||||
// "relation_name": null,
|
||||
// "landline": null
|
||||
// },
|
||||
// {
|
||||
// "pd_co_applicant_id": "2",
|
||||
// "fk_pd_id": "1",
|
||||
// "applicant_name": "ramesh",
|
||||
// "applicant_type": "0",
|
||||
// "mobile_no": "3123123213",
|
||||
// "email": "",
|
||||
// "addressline1": null,
|
||||
// "addressline2": null,
|
||||
// "addressline3": null,
|
||||
// "fk_city": null,
|
||||
// "fk_state": null,
|
||||
// "pincode": null,
|
||||
// "relation": "brother",
|
||||
// "relation_name": null,
|
||||
// "landline": null
|
||||
// }
|
||||
// ],
|
||||
// "question_answers": {
|
||||
// "form_details": [
|
||||
// {
|
||||
// "Name": "Supplied Details",
|
||||
// "Details": [
|
||||
// {
|
||||
// "question": "What are the main raw materials?(MEG Only)",
|
||||
// "answer": "check checkcheck"
|
||||
// },
|
||||
// {
|
||||
// "question": "Supplier Name",
|
||||
// "answer": "Resico"
|
||||
// },
|
||||
// {
|
||||
// "question": "Contact Person Name",
|
||||
// "answer": "Karthick"
|
||||
// },
|
||||
// {
|
||||
// "question": "Contact Mobile Number",
|
||||
// "answer": "9874115221"
|
||||
// },
|
||||
// {
|
||||
// "question": "Payment Mode",
|
||||
// "answer": "Immediate Or Advanced Payment"
|
||||
// },
|
||||
// {
|
||||
// "question": "% of immediate \/ Advance Payment Purchase to Total Purchase?",
|
||||
// "answer": "212"
|
||||
// },
|
||||
// {
|
||||
// "question": "Credit Period",
|
||||
// "answer": ""
|
||||
// },
|
||||
// {
|
||||
// "question": "Frequency of Purchase",
|
||||
// "answer": "Monthly"
|
||||
// },
|
||||
// {
|
||||
// "question": "Others Details",
|
||||
// "answer": ""
|
||||
// }
|
||||
// ]},
|
||||
// {
|
||||
// "Name": "Client Details",
|
||||
// "Details": [
|
||||
// {
|
||||
// "question": "Client Name",
|
||||
// "answer": "Venba"
|
||||
// },
|
||||
// {
|
||||
// "question": "Contact Person Name",
|
||||
// "answer": "test"
|
||||
// },
|
||||
// {
|
||||
// "question": "Contact Mobile Number",
|
||||
// "answer": "9685471122"
|
||||
// },
|
||||
// {
|
||||
// "question": "Payment Mode",
|
||||
// "answer": "Combination of Both"
|
||||
// },
|
||||
// {
|
||||
// "question": "% of immediate \/ Advance Payment Purchase to Total Purchase?",
|
||||
// "answer": "12"
|
||||
// },
|
||||
// {
|
||||
// "question": "Credit Period",
|
||||
// "answer": "10"
|
||||
// },
|
||||
// {
|
||||
// "question": "Frequency of Purchase",
|
||||
// "answer": "Weekly"
|
||||
// },
|
||||
// {
|
||||
// "question": "Others Details",
|
||||
// "answer": ""
|
||||
// }
|
||||
// ]},
|
||||
// { "Name": "Personal Details",
|
||||
// "Details": [
|
||||
// {
|
||||
// "question": "Name",
|
||||
// "answer": "Karthi Raj"
|
||||
// },
|
||||
// {
|
||||
// "question": "Age",
|
||||
// "answer": "50"
|
||||
// },
|
||||
// {
|
||||
// "question": "Entity",
|
||||
// "answer": "Individual"
|
||||
// },
|
||||
// {
|
||||
// "question": "Name",
|
||||
// "answer": "ramesh"
|
||||
// },
|
||||
// {
|
||||
// "question": "Age",
|
||||
// "answer": "45"
|
||||
// },
|
||||
// {
|
||||
// "question": "Entity",
|
||||
// "answer": "Individual"
|
||||
// },
|
||||
// {
|
||||
// "question": "Relationship With Main Applicant",
|
||||
// "answer": "Brother"
|
||||
// },
|
||||
// {
|
||||
// "question": "Remarks",
|
||||
// "answer": "good"
|
||||
// }
|
||||
// ]}
|
||||
// ],
|
||||
// "general_questions": [
|
||||
// ]
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user