0; else noFiles">
+
+
+
@@ -325,13 +326,13 @@
+ *ngIf="doc.document_type == 'pdf';">-->
- picture_as_pdf
{{doc.document_title}}
-
+
@@ -343,7 +344,7 @@
No Files
-
+ -->
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.ts
index fcda7e0c2..04f746001 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.ts
@@ -84,6 +84,7 @@ export class LoanDetailsComponent implements OnInit {
generalFormApplicantList:any = [];
Owner_placeholder:string;
address_placeholder: string;
+ image_doc_params: { pdid: number; form_id: number; company_id: string; };
/** Constructor Of the Class */
constructor(notifier: NotifierService,
private fb: FormBuilder,
@@ -124,7 +125,7 @@ export class LoanDetailsComponent implements OnInit {
this.Owner_placeholder='Name of Owner'
this.address_placeholder="Address of Property"
}
-
+ this.image_doc_params={pdid:this.pdid,form_id:this.form_id,company_id:''}
}
documentsAndFilesList: any = [];
/** init Fns */
@@ -343,7 +344,7 @@ export class LoanDetailsComponent implements OnInit {
this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();
}
- this.retriveFile();
+ //this.retriveFile();
}
getM_EndUseofLoad() {
@@ -965,7 +966,7 @@ export class LoanDetailsComponent implements OnInit {
}
};
- imageCrop(pic) {
+ /*imageCrop(pic) {
// let arr = { 'pic_name':pic_name,'pic':pic,'from_id':this.form_id}
pic.pdid = this.pdid;
const imageRef = this.dialog.open(ImageCropComponent, {
@@ -1005,5 +1006,5 @@ export class LoanDetailsComponent implements OnInit {
this.documentsAndFilesList = [];
}
});
- }
+ }*/
}
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/neighbour-hood/neighbour-hood.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/neighbour-hood/neighbour-hood.component.html
index cc6ef4316..ce35db2e3 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/neighbour-hood/neighbour-hood.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/neighbour-hood/neighbour-hood.component.html
@@ -227,14 +227,15 @@
- 0; else noFiles">
+
+
+
@@ -256,12 +257,12 @@
-
+
picture_as_pdf
{{doc.document_title}}
-
+
@@ -273,7 +274,7 @@
No Files
-
+ -->
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/neighbour-hood/neighbour-hood.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/neighbour-hood/neighbour-hood.component.ts
index 44cc98431..1324ad306 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/neighbour-hood/neighbour-hood.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/neighbour-hood/neighbour-hood.component.ts
@@ -40,6 +40,7 @@ export class NeighbourHoodComponent implements OnInit {
existCompanyList: any =[];
mergeCompanyApplicant: any=[];
isOrganisationOwner: any=[];
+ image_doc_params: { pdid: string; form_id: number; company_id: string; };
// amtInwords : any = [];
// isOtherApplicant: any = [];
@@ -54,7 +55,8 @@ export class NeighbourHoodComponent implements OnInit {
this.customer_segment_abbr = this.data.pdmaster_details.customer_segment_abbr;
this.applicants = this.data.pdapplicants_detials;
this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2);
- this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': "Others"})
+ this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': "Others"})
+ this.image_doc_params={pdid:this.pdid,form_id:this.form_id,company_id:''}
}
documentsAndFilesList: any = [];
ngOnInit() {
@@ -106,7 +108,7 @@ export class NeighbourHoodComponent implements OnInit {
// }
// });
- this.retriveFile();
+ //this.retriveFile();
}
pdf(fileURL){
window.open(fileURL);
@@ -542,7 +544,7 @@ getOtherOrganisationOwner(value,i) {
ChdCtrls.controls.other_organisation_owner.updateValueAndValidity();
}
- imageCrop(pic) {
+ /*imageCrop(pic) {
// let arr = { 'pic_name':pic_name,'pic':pic,'from_id':this.form_id}
pic.pdid = this.pdid;
const imageRef = this.dialog.open(ImageCropComponent, {
@@ -582,5 +584,5 @@ retriveFile(){
this.documentsAndFilesList = [];
}
});
-}
+}*/
}
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 c2250da9f..c72bb18c7 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
@@ -155,14 +155,15 @@
- 0; else noFiles">
+
+
+
@@ -184,12 +185,12 @@
-
+
picture_as_pdf
{{doc.document_title}}
-
+
@@ -201,7 +202,7 @@
No Files
-
+ -->
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.ts
index ac36e4b46..1f3e2d47c 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.ts
@@ -61,6 +61,7 @@ export class OtherIncomeComponent implements OnInit {
existCompanyList: any = [];
mergeCompanyApplicant: any = [];
isIncomeEarnedBy: any = [];
+ image_doc_params: { pdid: string; form_id: number; company_id: string; };
// stringArr = [];
constructor(notifier: NotifierService,
private fb: FormBuilder,
@@ -82,6 +83,7 @@ export class OtherIncomeComponent implements OnInit {
this.applicants = this.pd_all_details.pdapplicants_detials;
this.applicants = this.applicants.filter(val => val.applicant_type == 0 || val.applicant_type == 1);
// this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' });
+ this.image_doc_params={pdid:this.pdid,form_id:this.form_id,company_id:''}
}
pdf(fileURL){
window.open(fileURL);
@@ -174,7 +176,7 @@ export class OtherIncomeComponent implements OnInit {
//control.push(this.createDetail());
}
})
- this.retriveFile();
+ //this.retriveFile();
}
public initOtherincomeForm(): void {
this.otherIncomeForm = this.fb.group({
@@ -447,7 +449,7 @@ export class OtherIncomeComponent implements OnInit {
ChdCtrls.controls.others_income_earned_by.updateValueAndValidity();
}
- imageCrop(pic) {
+ /* imageCrop(pic) {
// let arr = { 'pic_name':pic_name,'pic':pic,'from_id':this.form_id}
pic.pdid = this.pdid;
const imageRef = this.dialog.open(ImageCropComponent, {
@@ -487,6 +489,6 @@ export class OtherIncomeComponent implements OnInit {
this.documentsAndFilesList = [];
}
});
- }
+ }*/
}
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.html
index a660918d4..7b025ec4b 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.html
@@ -211,7 +211,8 @@
-
+
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.ts
index ab4293422..a06b36531 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.ts
@@ -63,6 +63,7 @@ export class PersonalInfoComponent implements OnInit {
public mainApplicantDetails :any=[];
public coApplicantDetails :any=[];
errorMessage:any;
+ image_doc_params: { pdid: string; form_id: number; company_id: string; };
constructor(notifier: NotifierService,private _fb: FormBuilder,private _pd: PdTrigerService , @Inject(MAT_DIALOG_DATA) public pd_all_details: any,private dialogRef: MatDialogRef
) {
@@ -73,6 +74,7 @@ export class PersonalInfoComponent implements OnInit {
this.lender_applicant_id = this.pd_all_details.pdmaster_details.lender_applicant_id;
this.subproduct_abbr = this.pd_all_details.pdmaster_details.subproduct_abbr;
this.customer_segment_abbr = this.pd_all_details.pdmaster_details.customer_segment_abbr;
+ this.image_doc_params={pdid:this.pdid,form_id:this.form_id,company_id:''}
}
public viewerOptions: any = {
navbar: false,
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/manage-rental-verification/manage-rental-verification.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/manage-rental-verification/manage-rental-verification.component.html
index 03c6fc08f..cb0a2441e 100644
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/manage-rental-verification/manage-rental-verification.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/manage-rental-verification/manage-rental-verification.component.html
@@ -698,14 +698,15 @@
- 0; else noFiles">
+
+
+
@@ -727,12 +728,12 @@
-
+
picture_as_pdf
{{doc.document_title}}
-
+
@@ -744,7 +745,7 @@
No Files
-
+ -->
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/manage-rental-verification/manage-rental-verification.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/manage-rental-verification/manage-rental-verification.component.ts
index ea8ff7b7e..3afd97c79 100644
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/manage-rental-verification/manage-rental-verification.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-verification/manage-rental-verification/manage-rental-verification.component.ts
@@ -68,6 +68,7 @@ export class ManageRentalVerificationComponent implements OnInit {
documentsAndFilesList: any = [];
SwalButtonText: string;
SwalMessage: string;
+ image_doc_params: { pdid: string; form_id: number; company_id: string; };
constructor(notifier: NotifierService, private _pd: PdTrigerService ,private _fb: FormBuilder, @Inject(MAT_DIALOG_DATA) public data: any,private dialogRef: MatDialogRef,private dialog: MatDialog) {
@@ -83,6 +84,7 @@ export class ManageRentalVerificationComponent implements OnInit {
this.unitMeasurementList = this.data.masterData.unitMeasurementList;
// console.log(this.mergeCompanyApplicant);
// console.log(this.data.masterData.mergeCompanyApplicant);
+ this.image_doc_params={pdid:this.pdid,form_id:this.form_id,company_id:''}
}
@@ -184,7 +186,7 @@ export class ManageRentalVerificationComponent implements OnInit {
});
this.loadFormData(this.data.editData);
- this.retriveFile();
+ // this.retriveFile();
}
@@ -1050,7 +1052,7 @@ export class ManageRentalVerificationComponent implements OnInit {
}
}
- imageCrop(pic) {
+ /*imageCrop(pic) {
// let arr = { 'pic_name':pic_name,'pic':pic,'from_id':this.form_id}
pic.pdid = this.pdid;
const imageRef = this.dialog.open(ImageCropComponent, {
@@ -1090,7 +1092,7 @@ retriveFile(){
this.documentsAndFilesList = [];
}
});
-}
+}*/
// validate all form group and form array fields
validateAllFormFields(formGroup: any) {
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.html
index 69478f379..4682378f2 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.html
@@ -524,14 +524,15 @@
- 0; else noFiles">
+
+
+
@@ -553,12 +554,12 @@
-
+
picture_as_pdf
{{doc.document_title}}
-
+
@@ -570,7 +571,7 @@
No Files
-
+ -->
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.ts
index 914516c12..084d44818 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.ts
@@ -58,6 +58,7 @@ export class StockComponent implements OnInit {
public TGsufficientList: any = [{value:"yes",isdisplayvalue:"Yes",isdisabled:false},{value:"no",isdisplayvalue:"No",isdisabled:false},{value:"not applicable",isdisplayvalue:"Stock not required to be maintained",isdisabled:false}];
public SPsufficientList: any = [{value:"yes",isdisplayvalue:"Yes",isdisabled:false},{value:"no",isdisplayvalue:"No",isdisabled:false},{value:"not applicable",isdisplayvalue:"Stock not required to be maintained",isdisabled:false}];
lender_short_name: any;
+ image_doc_params: { pdid: number; form_id: number; company_id: string; };
/** Constructor */
constructor(notifier: NotifierService,
@@ -81,6 +82,7 @@ export class StockComponent implements OnInit {
this.lender_applicant_id = this.pd_all_details.pdmaster_details.lender_applicant_id;
this.subproduct_abbr = this.pd_all_details.pdmaster_details.subproduct_abbr;
this.customer_segment_abbr = this.pd_all_details.pdmaster_details.customer_segment_abbr;
+ this.image_doc_params={pdid:this.pdid,form_id:this.form_id,company_id:this.company_id}
}
pdf(fileURL){
window.open(fileURL);
@@ -133,7 +135,7 @@ export class StockComponent implements OnInit {
this.getUOM();
- this.retriveFile();
+ //this.retriveFile();
}
public initstockForms(record) {
@@ -1048,7 +1050,7 @@ export class StockComponent implements OnInit {
// }
// }
- imageCrop(pic) {
+ /* imageCrop(pic) {
// let arr = { 'pic_name':pic_name,'pic':pic,'from_id':this.form_id}
pic.pdid = this.pdid;
const imageRef = this.dialog.open(ImageCropComponent, {
@@ -1088,6 +1090,6 @@ retriveFile(){
this.documentsAndFilesList = [];
}
});
-}
+}*/
}
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.html
index 35c63155e..c563edfef 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.html
@@ -561,14 +561,15 @@
- 0; else noFiles">
+
+
+
-
+
picture_as_pdf
{{doc.document_title}}
-
+
@@ -610,7 +611,7 @@
No Files
-
+ -->
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.ts
index 7fb26889b..b3165e6f1 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.ts
@@ -43,6 +43,7 @@ export class SupplierInfoComponent implements OnInit {
titleList: any = [];
companyRelationShipList: any = [];
lender_short_name: any;
+ image_doc_params: { pdid: string; form_id: number; company_id: string; };
constructor(
notifier: NotifierService,
@@ -61,7 +62,7 @@ export class SupplierInfoComponent implements OnInit {
this.lender_applicant_id = this.pd_all_details.pdmaster_details.lender_applicant_id;
this.subproduct_abbr = this.pd_all_details.pdmaster_details.subproduct_abbr;
this.customer_segment_abbr = this.pd_all_details.pdmaster_details.customer_segment_abbr;
-
+ this.image_doc_params={pdid:this.pdid,form_id:this.form_id,company_id:this.company_id}
}
pdf(fileURL) {
window.open(fileURL);
@@ -158,7 +159,7 @@ export class SupplierInfoComponent implements OnInit {
// this.getPdSupplierFormDetails();
this.getMasterDetails('COMPANYRELATIONSHIPS', 1);
this.getMasterDetails('TITLES', 2);
- this.retriveFile();
+ // this.retriveFile();
}
initFormLoadDetails(record) {
@@ -749,7 +750,7 @@ export class SupplierInfoComponent implements OnInit {
// }
// ]
// }
- imageCrop(pic) {
+ /*imageCrop(pic) {
// let arr = { 'pic_name':pic_name,'pic':pic,'from_id':this.form_id}
pic.pdid = this.pdid;
const imageRef = this.dialog.open(ImageCropComponent, {
@@ -789,5 +790,5 @@ export class SupplierInfoComponent implements OnInit {
this.documentsAndFilesList = [];
}
});
- }
+ }*/
}
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html
index 74fc7d33f..303e963cf 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html
@@ -79,14 +79,44 @@
Lender Contact Details
-
+
+
{{master.pd_contact_person}}
{{master.pd_contact_mobileno}}
-
+
+
+
+
Credit Person
+
+
+
+
+ {{master.lender_credit_person_name}}
+
+
+ {{master.lender_credit_person_contact_mobileno}}
+
+
+
+
+
+
Sales Person
+
+
+
+ {{master.lender_sales_person_name}}
+
+
+ {{master.lender_sales_contact_mobileno}}
+
+
+
+
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts b/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts
index c8e2d83c8..606977d4e 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts
@@ -125,7 +125,8 @@ import { FuturePlansAndBusinessEnvironmentComponent } from './list-pd/start-pd/f
import { ImageCropComponent } from './list-pd/start-pd/forms/dialogue/image-crop/image-crop.component';
import {PurchaseCalculationComponent} from './list-pd/start-pd/forms/assessed-income/purchase-calculation/purchase-calculation.component'
import { QueriesDocsComponent } from './list-pd/start-pd/forms/queries-docs/queries-docs.component';
-import {AngularSplitModule} from 'angular-split'
+import {AngularSplitModule} from 'angular-split';
+import { ImageDocsComponent } from './list-pd/start-pd/forms/image-docs/image-docs.component'
/**
* Custom angular notifier options
@@ -172,7 +173,7 @@ const pdCustomNotifierOptions: NotifierOptions = {
};
@NgModule({
- declarations: [TelePdAllocationComponent, FinancialInfoComponent, BusinessInfoComponent, EmploymentInfoComponent, StockComponent, BankingDetailsComponent, ListPdComponent, FamilyDetailsComponent, AddressComponent, ManagePdComponent, MapPdViewComponent, AddPdComponent, ViewPdComponent, PdAllocationComponent, SmartPdAllocationComponent, SchedulePdComponent, EditPdApplicantComponent, EditPdMasterComponent, StartPdComponent, InprogressPdComponent, AllPdComponent, ScheduledPdComponent, CompletedPdComponent, QcCompletedPdComponent, ClientInfoComponent, CurrentLoanComponent, AssetsInfoComponent, LoanDetailsComponent, OtherIncomeComponent, SupplierInfoComponent, PersonalInfoComponent, LenderRepresentativeComponent, PdReportComponent, AssessedIncomeComponent, AllocationViewMoreComponent, PdRequirementComponent,PdCollectedDocsComponent, GeneralInfoComponent, ModelEditPdReportComponent, OtherApplicantDetailsComponent, NeighbourHoodComponent, DialogChangeCurrentVenrsion, FinalRemarksComponent, BusinessOtherFamilyMemberComponent, QcReviewComponent, BusinessInfoGroupComponent, SearchRelationPipe, RupeeCurrencyFormatPipe, NumberToWordsPipe, DeleteRecordsCountPipe, BusinessAssetsInfoComponent, BusinessBankingDetailsComponent, SalesDetailsComponent, DailySalesDetailsComponent, SalesCalculationComponent, ManageSalesComponent, PurchaseDetailsComponent, BusinessExpenseDetailsComponent, HouseHoldDetailsComponent, OtherBusinessIncomeDetailsComponent, ManagePurchaseComponent, ManageBusinesExpenseComponent, ManageHouseHoldComponent, ManageOtherBusinessIncomeComponent, GrossProfitCalculationComponent, ManageDailySalesComponent, PdStatusChangeDialogueComponent, PdLocatedMapViewDirective, ViewLocationComponent, GetAnswerableFormsPipe, ConfirmAiDetailsComponent, RentalVerificationComponent, InitiateAdditionalPdComponent ,ManageDailyPurchaseComponent, DailyPurchaseDetailsComponent, ManageRentalVerificationComponent, FuturePlansAndBusinessEnvironmentComponent, ImageCropComponent,PurchaseCalculationComponent,QueriesDocsComponent],
+ declarations: [TelePdAllocationComponent, FinancialInfoComponent, BusinessInfoComponent, EmploymentInfoComponent, StockComponent, BankingDetailsComponent, ListPdComponent, FamilyDetailsComponent, AddressComponent, ManagePdComponent, MapPdViewComponent, AddPdComponent, ViewPdComponent, PdAllocationComponent, SmartPdAllocationComponent, SchedulePdComponent, EditPdApplicantComponent, EditPdMasterComponent, StartPdComponent, InprogressPdComponent, AllPdComponent, ScheduledPdComponent, CompletedPdComponent, QcCompletedPdComponent, ClientInfoComponent, CurrentLoanComponent, AssetsInfoComponent, LoanDetailsComponent, OtherIncomeComponent, SupplierInfoComponent, PersonalInfoComponent, LenderRepresentativeComponent, PdReportComponent, AssessedIncomeComponent, AllocationViewMoreComponent, PdRequirementComponent,PdCollectedDocsComponent, GeneralInfoComponent, ModelEditPdReportComponent, OtherApplicantDetailsComponent, NeighbourHoodComponent, DialogChangeCurrentVenrsion, FinalRemarksComponent, BusinessOtherFamilyMemberComponent, QcReviewComponent, BusinessInfoGroupComponent, SearchRelationPipe, RupeeCurrencyFormatPipe, NumberToWordsPipe, DeleteRecordsCountPipe, BusinessAssetsInfoComponent, BusinessBankingDetailsComponent, SalesDetailsComponent, DailySalesDetailsComponent, SalesCalculationComponent, ManageSalesComponent, PurchaseDetailsComponent, BusinessExpenseDetailsComponent, HouseHoldDetailsComponent, OtherBusinessIncomeDetailsComponent, ManagePurchaseComponent, ManageBusinesExpenseComponent, ManageHouseHoldComponent, ManageOtherBusinessIncomeComponent, GrossProfitCalculationComponent, ManageDailySalesComponent, PdStatusChangeDialogueComponent, PdLocatedMapViewDirective, ViewLocationComponent, GetAnswerableFormsPipe, ConfirmAiDetailsComponent, RentalVerificationComponent, InitiateAdditionalPdComponent ,ManageDailyPurchaseComponent, DailyPurchaseDetailsComponent, ManageRentalVerificationComponent, FuturePlansAndBusinessEnvironmentComponent, ImageCropComponent,PurchaseCalculationComponent,QueriesDocsComponent, ImageDocsComponent],
imports: [
CommonModule,
ManagePdRoutingModule,
diff --git a/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.html b/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.html
index edbe6e8de..6d068eae4 100644
--- a/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.html
+++ b/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.html
@@ -64,12 +64,13 @@
-
+
+
-
+
@@ -78,16 +79,18 @@
-
-
remove_red_eye
+
diff --git a/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.ts b/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.ts
index 94abc14c9..3dee29773 100644
--- a/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.ts
+++ b/ng6-seed/src/app/quality-check/qc-list/qc-pd-report/qc-pd-report.component.ts
@@ -21,6 +21,7 @@ import { environment } from 'environments/environment';
import { QcNewComponent } from './qc-new/qc-new.component';
+
@Component({
selector: 'app-qc-pd-report',
templateUrl: './qc-pd-report.component.html',
@@ -63,7 +64,9 @@ export class QcPdReportComponent implements OnInit {
apiUrl:string = environment.apiEndpoint;
reportRandomString : string;
arra:any;
- pdf_src:any='';
+ pdf_src:any='assets/pdf.pdf';
+ pdf_viewer_split_size:String='70'
+ html_viewer_split_size:String='30'
private notifier: NotifierService;
constructor(notifier: NotifierService, private fb: FormBuilder, private route: ActivatedRoute,
@@ -286,6 +289,7 @@ export class QcPdReportComponent implements OnInit {
this.reGenerateBtn = data.records.is_original_report_created == 1 ? true : false;
if(this.reGenerateBtn){
this.getHTMLPDReport()
+ this.getPDreportPDF()
}
// console.log(this.reGenerateBtn);
}
@@ -470,13 +474,34 @@ export class QcPdReportComponent implements OnInit {
this.listPDComponent.showListView(true);
}
getPDreportPDF(){
- let modifiedHtml=this.dataContainer.nativeElement.outerHTML;
- // console.log(this.dataContainer.nativeElement.outerHTML);
+ this.pdf_src=''
+ this.pdf_viewer_split_size='70'
+ this.html_viewer_split_size='30'
+ console.log("data datacontainer",this.dataContainer)
+ let modifiedHtml=''
+ if(this.dataContainer != undefined){
+ modifiedHtml =this.dataContainer.nativeElement.outerHTML;
+ }
+
+ console.log(this.dataContainer);
let encryptReportRandomString = atob(this.route.snapshot.params['string']);
this.pdTrigerService.getPDReportPDFpreview(encryptReportRandomString,this.startPD,modifiedHtml).subscribe(response=>{
- if(response['dataStatus']){
+ // if(response['dataStatus']){
+ // 'https://cors-anywhere.herokuapp.com/'
this.pdf_src=response['link']
- }
+ // window.open(this.pdf_src);
+ console.log("pdf source",this.pdf_src)
+ //}
+ // setTimeout(()=>{
+ // this.pdf_src='https://len24.s3.ap-south-1.amazonaws.com/pd1290/pd_reports/%20Vinoth%20Kumar.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJ3QDSPT3LDSWRYUQ%2F20190921%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20190921T105502Z&X-Amz-SignedHeaders=host&X-Amz-Expires=1800&X-Amz-Signature=a31a8370400e95aeab91ea7fc266d02763539e277e801a69b91ea4d2bbd65bce'
+
+ // },5000)
+ setTimeout(()=>{
+ // this.pdf_src='assets/Vinoth.pdf'
+ this.pdf_viewer_split_size='55'
+ this.html_viewer_split_size='45'
+ },9000)
+
})
}
changePDStatus(){
diff --git a/ng6-seed/src/app/quality-check/qc-service/qc.service.ts b/ng6-seed/src/app/quality-check/qc-service/qc.service.ts
index e213f132c..0a2bb6cf2 100755
--- a/ng6-seed/src/app/quality-check/qc-service/qc.service.ts
+++ b/ng6-seed/src/app/quality-check/qc-service/qc.service.ts
@@ -629,6 +629,6 @@ export class QcService {
return this._http.get(this.apiUrl+'getPDReportHTML/'+random_string+'/'+pd_id,{responseType: 'text'})
}
getPDReportPDFpreview(random_string,pd_id,htmlData){
- return this._http.post(this.apiUrl+'getPDReportPDFpreview/'+random_string+'/'+pd_id,{records:{"pdid":pd_id,"myData":htmlData}},{responseType:'json'})
+ return this._http.post(this.apiUrl+'getPDReportPDFpreview/'+random_string+'/'+pd_id,{"myData":htmlData,responseType:'json'})
}
}
diff --git a/ng6-seed/src/app/reports/pd-mis/pd-mis.component.html b/ng6-seed/src/app/reports/pd-mis/pd-mis.component.html
index cb22f72bb..8f9cbc901 100644
--- a/ng6-seed/src/app/reports/pd-mis/pd-mis.component.html
+++ b/ng6-seed/src/app/reports/pd-mis/pd-mis.component.html
@@ -255,6 +255,11 @@
{{row.application_id}}
+
+ Lender Sr No.
+
+ {{row.pd_sno}}
+
Sineedge Ref No
diff --git a/ng6-seed/src/app/reports/pd-mis/pd-mis.component.ts b/ng6-seed/src/app/reports/pd-mis/pd-mis.component.ts
index 88e682c38..9c20976ad 100644
--- a/ng6-seed/src/app/reports/pd-mis/pd-mis.component.ts
+++ b/ng6-seed/src/app/reports/pd-mis/pd-mis.component.ts
@@ -35,6 +35,7 @@ export class PdMisComponent implements OnInit {
displayedColumns = ['serialno',
'applicant',
'application_id',
+ 'pd_sno',
'sineedge_ref_no',
'created_on',
'name_of_underwriter',