diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/all-pd/all-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/all-pd/all-pd.component.html index 0cccfc9eb..a8ab988db 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/all-pd/all-pd.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/all-pd/all-pd.component.html @@ -142,17 +142,17 @@ - + --> - + --> + --> - + --> diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/completed-pd/completed-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/completed-pd/completed-pd.component.ts index af3cae33d..7374fd052 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/completed-pd/completed-pd.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/completed-pd/completed-pd.component.ts @@ -246,25 +246,25 @@ export class CompletedPdComponent implements OnInit, OnChanges { this.dataSourceTab4.paginator = this.paginator; this.dataSourceTab4.sort = this.sort; } - copyCusURL(randomStr) { - // console.log(window.location); - let cus_link = window.location.origin+'/customer/#/pd-images/'+randomStr; - console.log(randomStr) - this._pd.copyToClipBoard(cus_link); - this.notifier.notify('info','Customer link copied'); - } - onClickSmsLink(details){ - let param={ - pd_id: details.pd_id, - mobile_no: details.applicat_details[0].mobile_no, - random_string: details.random_string, - } - this._pd.smsLink(param).subscribe(res=>{ - if(res['dataStatus']){ - this.notifier.notify("info","SMS Sent Successfully") - } - }) - } + // copyCusURL(randomStr) { + // // console.log(window.location); + // let cus_link = window.location.origin+'/customer/#/pd-images/'+randomStr; + // console.log(randomStr) + // this._pd.copyToClipBoard(cus_link); + // this.notifier.notify('info','Customer link copied'); + // } + // onClickSmsLink(details){ + // let param={ + // pd_id: details.pd_id, + // mobile_no: details.applicat_details[0].mobile_no, + // random_string: details.random_string, + // } + // this._pd.smsLink(param).subscribe(res=>{ + // if(res['dataStatus']){ + // this.notifier.notify("info","SMS Sent Successfully") + // } + // }) + // } } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.html index befb54907..886760bc7 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.html @@ -115,16 +115,16 @@ - - diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.ts index 6bc1b6e11..249f7ae32 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.ts @@ -238,24 +238,24 @@ export class InprogressPdComponent implements OnInit, OnChanges { this.dataSourceTab2.paginator = this.paginator; this.dataSourceTab2.sort = this.sort; } - copyCusURL(randomStr) { - // console.log(window.location); - let cus_link = window.location.origin+'/customer/#/pd-images/'+randomStr; - console.log(randomStr) - this._pd.copyToClipBoard(cus_link); - this.notifier.notify('info','Customer link copied'); - } - onClickSmsLink(details){ - let param={ - pd_id: details.pd_id, - mobile_no: details.applicat_details[0].mobile_no, - random_string: details.random_string, - } - this._pd.smsLink(param).subscribe(res=>{ - if(res['dataStatus']){ - this.notifier.notify("info","SMS Sent Successfully") - } - }) - } + // copyCusURL(randomStr) { + // // console.log(window.location); + // let cus_link = window.location.origin+'/customer/#/pd-images/'+randomStr; + // console.log(randomStr) + // this._pd.copyToClipBoard(cus_link); + // this.notifier.notify('info','Customer link copied'); + // } + // onClickSmsLink(details){ + // let param={ + // pd_id: details.pd_id, + // mobile_no: details.applicat_details[0].mobile_no, + // random_string: details.random_string, + // } + // this._pd.smsLink(param).subscribe(res=>{ + // if(res['dataStatus']){ + // this.notifier.notify("info","SMS Sent Successfully") + // } + // }) + // } } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.html index 117a4e381..9b76581d7 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.html @@ -118,17 +118,17 @@ - + --> - + --> diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.ts index e39d7363a..673458b6a 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.ts @@ -220,23 +220,23 @@ export class QcCompletedPdComponent implements OnInit, OnChanges { this.loadPDDetails(); this.xpandStatus = false; } - copyCusURL(randomStr) { - // console.log(window.location); - let cus_link = window.location.origin+'/customer/#/pd-images/'+randomStr; - console.log(randomStr) - this._pd.copyToClipBoard(cus_link); - this.notifier.notify('info','Customer link copied'); - } - onClickSmsLink(details){ - let param={ - pd_id: details.pd_id, - mobile_no: details.applicat_details[0].mobile_no, - random_string: details.random_string, - } - this._pd.smsLink(param).subscribe(res=>{ - if(res['dataStatus']){ - this.notifier.notify("info","SMS Sent Successfully") - } - }) - } + // copyCusURL(randomStr) { + // // console.log(window.location); + // let cus_link = window.location.origin+'/customer/#/pd-images/'+randomStr; + // console.log(randomStr) + // this._pd.copyToClipBoard(cus_link); + // this.notifier.notify('info','Customer link copied'); + // } + // onClickSmsLink(details){ + // let param={ + // pd_id: details.pd_id, + // mobile_no: details.applicat_details[0].mobile_no, + // random_string: details.random_string, + // } + // this._pd.smsLink(param).subscribe(res=>{ + // if(res['dataStatus']){ + // this.notifier.notify("info","SMS Sent Successfully") + // } + // }) + // } } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.html index c7e4211a9..35c5c88e1 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.html @@ -118,17 +118,17 @@ - + --> - + --> diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.ts index 4122fb835..d08b97e21 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.ts @@ -234,25 +234,25 @@ export class ScheduledPdComponent implements OnInit, OnChanges { this.loadPDDetails(); this.xpandStatus = false; } - copyCusURL(randomStr) { - // console.log(window.location); - let cus_link = window.location.origin+'/customer/#/pd-images/'+randomStr; - console.log(randomStr) - this._pd.copyToClipBoard(cus_link); - this.notifier.notify('info','Customer link copied'); - } - onClickSmsLink(details){ - let param={ - pd_id: details.pd_id, - mobile_no: details.applicat_details[0].mobile_no, - random_string: details.random_string, - } - this._pd.smsLink(param).subscribe(res=>{ - if(res['dataStatus']){ - this.notifier.notify("info","SMS Sent Successfully") - } - }) - } + // copyCusURL(randomStr) { + // // console.log(window.location); + // let cus_link = window.location.origin+'/customer/#/pd-images/'+randomStr; + // console.log(randomStr) + // this._pd.copyToClipBoard(cus_link); + // this.notifier.notify('info','Customer link copied'); + // } + // onClickSmsLink(details){ + // let param={ + // pd_id: details.pd_id, + // mobile_no: details.applicat_details[0].mobile_no, + // random_string: details.random_string, + // } + // this._pd.smsLink(param).subscribe(res=>{ + // if(res['dataStatus']){ + // this.notifier.notify("info","SMS Sent Successfully") + // } + // }) + // } } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.html index 0be683fc7..571d3d219 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.html @@ -196,7 +196,7 @@
- + Select @@ -290,7 +290,7 @@ Approach to PD Location Required - + Select diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.ts index 714ea98d7..1b85e5ad3 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/address/address.component.ts @@ -74,6 +74,7 @@ export class AddressComponent implements OnInit { product_abbr: any; split_customer_abbr: any; prod_catagory: any; + fk_pd_type: any; /**Constructor of the class */ constructor(private el: ElementRef, notifier: NotifierService, @@ -97,6 +98,8 @@ export class AddressComponent implements OnInit { this.subproduct_abbr = this.pd_all_details.pdmaster_details.subproduct_abbr; this.product_abbr = this.pd_all_details.pdmaster_details.product_abbr; this.prod_catagory = this.pd_all_details.pdmaster_details.prod_catagory; + this.fk_pd_type = this.pd_all_details.pdmaster_details.fk_pd_type; + console.log('fk pd type',this.fk_pd_type); console.log('prod catagory',this.prod_catagory); this.customer_segment_abbr = this.pd_all_details.pdmaster_details.customer_segment_abbr; this.split_customer_abbr = this.customer_segment_abbr.split('-') @@ -239,6 +242,13 @@ export class AddressComponent implements OnInit { // was_the_company_name_board_sighted:['', Validators.compose([Validators.required])], address_form_remark: [''] }); + if(this.fk_pd_type == '3'){ + this.addressForm.controls['pd_location'].clearValidators(); + this.addressForm.controls['pd_location'].updateValueAndValidity(); + + this.addressForm.controls['comment_locality'].clearValidators(); + this.addressForm.controls['comment_locality'].updateValueAndValidity(); + } if(this.lender_short_name == 'CLIX' || this.prod_catagory == 'BL'){ this.addressForm.removeControl('estimated_area'); this.addressForm.removeControl('uom'); diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-assets-info/business-assets-info.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-assets-info/business-assets-info.component.html index d7d4febdc..b4f884196 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-assets-info/business-assets-info.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-assets-info/business-assets-info.component.html @@ -71,7 +71,7 @@
- + @@ -84,7 +84,7 @@ - + Remarks diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-assets-info/business-assets-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-assets-info/business-assets-info.component.ts index cd396d9f6..34241ac0c 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-assets-info/business-assets-info.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-assets-info/business-assets-info.component.ts @@ -72,6 +72,7 @@ export class BusinessAssetsInfoComponent implements OnInit { form_id: string; product_abbr: any; prod_catagory: any; + fk_pd_type: any; /**Constructor of the class */ constructor( notifier: NotifierService, @@ -86,6 +87,7 @@ export class BusinessAssetsInfoComponent implements OnInit { this.lender_short_name=this.pd_all_details.pdmaster_details.lender_short_name this.product_abbr = this.pd_all_details.pdmaster_details.product_abbr; this.prod_catagory = this.pd_all_details.pdmaster_details.prod_catagory; + this.fk_pd_type = this.pd_all_details.pdmaster_details.fk_pd_type; this.applicants = this.pd_all_details.pdapplicants_detials; this.applicants = this.applicants.filter(appt => appt.applicant_type != 2) diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.html index cd17ba64a..2d7052e00 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.html @@ -1605,11 +1605,11 @@ - No of Employees Sighted By PD Officer During His Visit - + No of Employees Sighted By PD Officer During His Visit + Company Name Board - + Total Required @@ -1622,7 +1622,7 @@ formControlName="officer_temporary" required> --> - Yes No @@ -1634,7 +1634,8 @@ - Documents Sighted + Documents Sighted + Documents Images Shared diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.ts index de775335d..009e805c3 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.ts @@ -104,6 +104,7 @@ export class BusinessInfoComponent implements OnInit { image_doc_params: { pdid: number; form_id: number; company_id: String; }; @ViewChild('business_activity_type') business_activity_type_scroll : ElementRef prod_catagory: any; + fk_pd_type: any; constructor(notifier: NotifierService, @@ -121,6 +122,7 @@ export class BusinessInfoComponent implements OnInit { this.applicants = this.pd_all_details.pdapplicants_detials; this.form_id = 13; this.notifier = notifier; + this.fk_pd_type = this.pd_all_details.pdmaster_details.fk_pd_type; this.generalExistEntityType = this.pd_all_details.business_entity_type; this.generalExistEntityType_other = this.pd_all_details.business_entity_type_other; this.generalExistBusinessYear = this.pd_all_details.business_years; @@ -727,6 +729,15 @@ export class BusinessInfoComponent implements OnInit { service_provider_activity_details: this.fb.array([]), // others_activity_details: this.fb.array([]), }); + + if(this.fk_pd_type == '3'){ + this.businessForm.controls['officer_total'].clearValidators(); + this.businessForm.controls['officer_total'].updateValueAndValidity(); + + this.businessForm.controls['was_the_company_name_board_sighted'].clearValidators(); + this.businessForm.controls['was_the_company_name_board_sighted'].updateValueAndValidity(); + } + if(this.lender_short_name == 'CLIX'){ this.businessForm.removeControl('persons_with_relationships'); } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.html index 337dd5a9f..6cd7b0cb3 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.html @@ -31,7 +31,7 @@ Location - + Select @@ -136,11 +136,11 @@ -
+
Any additional visit (Godown /multiple rental properties)  
- + Select @@ -160,7 +160,7 @@ CLIX MWISE - + Select @@ -176,13 +176,15 @@ Is there Competition to the applicant’s business in the location ( {{ _finalRemarkForm.value.is_competition ===true ? 'Yes' : 'No'}} )
--> +
Select Yes No - + +
Any sealing activity observed in the locality by PD office ( {{ _finalRemarkForm.value.sealing_activity ===true ? 'Yes' : 'No'}} ) --> +
Select @@ -227,6 +230,7 @@ No +
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.ts index d49cc2676..70e310680 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/final-remarks/final-remarks.component.ts @@ -57,6 +57,7 @@ export class FinalRemarksComponent implements OnInit { private notifier: NotifierService; image_doc_params: { pdid: string; form_id: number; company_id: string; }; prod_catagory: any; + fk_pd_type: any; constructor( notifier: NotifierService, @@ -77,6 +78,7 @@ export class FinalRemarksComponent implements OnInit { this.lender_short_name = this.pd_all_details.pdmaster_details.lender_short_name; this.product_abbr = this.pd_all_details.pdmaster_details.product_abbr; this.prod_catagory = this.pd_all_details.pdmaster_details.prod_catagory; + this.fk_pd_type = this.pd_all_details.pdmaster_details.fk_pd_type; this._finalRemarkForm = this._formBuilder.group({ parent_pdid: [this.parent_pdid], @@ -106,7 +108,15 @@ export class FinalRemarksComponent implements OnInit { final_form_remarks: [''] }); - if(this.lender_short_name == 'CLIX' || this.lender_short_name == 'MWISE' || this.prod_catagory == 'LAEP'){ + if(this.fk_pd_type == '3'){ + this._finalRemarkForm.controls['is_service_provided'].clearValidators(); + this._finalRemarkForm.controls['is_service_provided'].updateValueAndValidity(); + + this._finalRemarkForm.controls['mode_of_transport_during_visit'].clearValidators(); + this._finalRemarkForm.controls['mode_of_transport_during_visit'].updateValueAndValidity(); + } + + if(this.fk_pd_type != '3' && (this.lender_short_name == 'CLIX' || this.lender_short_name == 'MWISE' || this.prod_catagory == 'LAEP')){ this.prod_catagory == 'LAEP' ? this._finalRemarkForm.addControl('outlet_location', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('outlet_location'); this._finalRemarkForm.addControl('is_competition', new FormControl('')); this._finalRemarkForm.addControl('sealing_activity', new FormControl('')); diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.html index fb7efd380..b1f6d4669 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.html @@ -17,7 +17,7 @@
- +

Data as Per Financial Statements

@@ -499,21 +499,22 @@

- Photograph of Kuchha bills allowed
+ Photograph of Kuchha bills allowed
+ Photographs of kuccha bills uploded
Yes    No

-
+
Does the Number of Kuccha Bills and Values therein, justify the customer declared turnover?
Yes    No -
+

diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.ts index 38b13f46e..c3635ae29 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.ts @@ -100,6 +100,7 @@ export class FinancialInfoComponent implements OnInit { name:'Others' }, ] + fk_pd_type: any; constructor(notifier: NotifierService, private fb: FormBuilder, @@ -121,6 +122,7 @@ export class FinancialInfoComponent implements OnInit { this.product_abbr = this.pd_all_details.pdmaster_details.product_abbr; this.prod_catagory = this.pd_all_details.pdmaster_details.prod_catagory; this.subproduct_abbr = this.pd_all_details.pdmaster_details.subproduct_abbr; + this.fk_pd_type = this.pd_all_details.pdmaster_details.fk_pd_type; this.customer_segment_abbr = this.pd_all_details.pdmaster_details.customer_segment_abbr; let x = this.customer_segment_abbr.split("-"); this.CustSegAbbr = x[1]; 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 b3d72e65c..821c1fe54 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 @@ -29,12 +29,12 @@ - + - + @@ -44,8 +44,8 @@ -
-
+
+
Year @@ -58,7 +58,7 @@ OnlyNumber type="text" (change)="ConvertMonthintoYear(neighbourhood,$event.target.value,1)">
-
+
-
+
-
Documents to be collected
+
Documents to be collected
+
Docuements to be uploaded
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/queries-docs/queries-docs.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/queries-docs/queries-docs.component.ts index d6f98e002..3995ab28a 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/queries-docs/queries-docs.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/queries-docs/queries-docs.component.ts @@ -30,6 +30,7 @@ export class QueriesDocsComponent implements OnInit { docsCollectedForm:FormGroup loadComponent:boolean=false disableAfterSubmit: boolean; + fk_pd_type: any; constructor(notifier: NotifierService, private _ngZone: NgZone, @@ -52,6 +53,7 @@ export class QueriesDocsComponent implements OnInit { 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.lenderShortName = this.pd_all_details.pdmaster_details.lender_short_name; + this.fk_pd_type = this.pd_all_details.pdmaster_details.fk_pd_type; } @ViewChild('autosize') autosize: CdkTextareaAutosize; 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 f48d11150..ffecfb299 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 @@ -40,7 +40,8 @@ (selectionChange)="checkComments($event.value,1,a);" required> Select Add Stock Details - No Stock Observed + No Stock Observed + No Stock Available
Stock Required @@ -136,7 +137,8 @@ (selectionChange)="checkComments($event.value,2,b);" required> Select Add Stock Details - No Stock Observed + No Stock Observed + No Stock Available
@@ -222,7 +224,8 @@ (selectionChange)="checkComments($event.value,3,e)" required> Select Add Stock Details - No Stock Observed + No Stock Observed + No Stock Available @@ -311,7 +314,8 @@ (selectionChange)="checkComments($event.value,4,g)" required> Select Add Stock Details - No stock observed + No Stock Observed + No Stock Available @@ -425,7 +429,8 @@ (selectionChange)="checkComments($event.value,5,g)" required> Select Add Stock Details - No stock observed + No Stock Observed + No Stock Available 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 b3cd4b5f4..d0585f518 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 @@ -61,6 +61,7 @@ export class StockComponent implements OnInit { image_doc_params: { pdid: number; form_id: number; company_id: string; }; product_abbr: any; prod_catagory: any; + fk_pd_type: any; /** Constructor */ constructor(notifier: NotifierService, @@ -86,6 +87,10 @@ 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.fk_pd_type = this.pd_all_details.pdmaster_details.fk_pd_type; + if(this.fk_pd_type == '3'){ + this.SPsufficientList.push({value:"not able to assess",isdisplayvalue:"Not able to assess",isdisabled:false}) + } this.image_doc_params={pdid:this.pdid,form_id:this.form_id,company_id:this.company_id} } pdf(fileURL){ 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 4a04072af..64c1ed28c 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 @@ -127,9 +127,20 @@
- + + + + diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts index 119183645..fa4b152d9 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts @@ -559,5 +559,26 @@ export class ViewPdComponent implements OnInit, OnDestroy { }) } + copyCusURL(randomStr) { + // console.log(window.location); + let cus_link = window.location.origin+'/customer/#/pd-images/'+randomStr; + console.log(randomStr) + this._pd.copyToClipBoard(cus_link); + this.notifier.notify('info','Customer link copied'); + } + + onClickSmsLink(master){ + console.log('SMS',master); + let param={ + pd_id: master.pd_id, + mobile_no: this.pdApplicantData[0].mobile_no, + random_string: master.random_string, + } + this._pd.smsLink(param).subscribe(res=>{ + if(res['dataStatus']){ + this.notifier.notify("info","SMS Sent Successfully") + } + }) + } } \ No newline at end of file