issues fixes : ps
This commit is contained in:
parent
7df6f39b2b
commit
0104afa10e
@ -617,7 +617,7 @@ export class AddPdComponent implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.disableAfterSubmit = false;
|
this.disableAfterSubmit = false;
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -104,6 +104,7 @@ export class AllPdComponent implements OnInit, OnChanges {
|
|||||||
// , error => {this.errorMessage = <any> error});
|
// , error => {this.errorMessage = <any> error});
|
||||||
,error => {
|
,error => {
|
||||||
this.errorMessage.push(error);
|
this.errorMessage.push(error);
|
||||||
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
alert(error.html_format);
|
alert(error.html_format);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -255,7 +255,7 @@ export class EditPdApplicantComponent implements OnInit {
|
|||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -81,7 +81,12 @@ export class EditPdMasterComponent implements OnInit {
|
|||||||
this.lenderBranchList = x[0]['branches'];
|
this.lenderBranchList = x[0]['branches'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, error => this.errorMessage = <any> error);
|
}
|
||||||
|
//, error => this.errorMessage = <any> error);
|
||||||
|
, error => {
|
||||||
|
// this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
|
});
|
||||||
}
|
}
|
||||||
selectedLender(lender){
|
selectedLender(lender){
|
||||||
// alert(JSON.stringify(lender['branches ']));
|
// alert(JSON.stringify(lender['branches ']));
|
||||||
@ -460,7 +465,8 @@ export class EditPdMasterComponent implements OnInit {
|
|||||||
this.notifier.notify('warning', 'Something Wents Wrong in Address Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong in Address Try Again.!');
|
||||||
}//else
|
}//else
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong in Address Try Again.!');
|
// this.notifier.notify('warning', 'Something Wents Wrong in Address Try Again.!');
|
||||||
|
this.notifier.notify('warning', 'Something Wents Wrong in Address Section Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
});
|
});
|
||||||
|
|
||||||
this._pd.editPdMasterDetails(lenderMasterArray, updateStatus).subscribe(result => {
|
this._pd.editPdMasterDetails(lenderMasterArray, updateStatus).subscribe(result => {
|
||||||
@ -472,7 +478,8 @@ export class EditPdMasterComponent implements OnInit {
|
|||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
}//else
|
}//else
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
// this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
});//error closed
|
});//error closed
|
||||||
}//else closed
|
}//else closed
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@ export class InitiateAdditionalPdComponent implements OnInit {
|
|||||||
this.notifier = notifier;
|
this.notifier = notifier;
|
||||||
this.pageTitle="Choose customer segment For this PD address"
|
this.pageTitle="Choose customer segment For this PD address"
|
||||||
this.applicantList = this.data.applicants_details;
|
this.applicantList = this.data.applicants_details;
|
||||||
this.applicantList = this.applicantList.filter(appt => appt.applicant_type != 2);
|
this.applicantList = this.applicantList.filter(appt => appt.applicant_type != 2 && appt.applicant_type != 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
@ -94,7 +94,8 @@ submitDetails(values: any) {
|
|||||||
this.dialogRef.close({update_status:true});
|
this.dialogRef.close({update_status:true});
|
||||||
},3000);
|
},3000);
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
// this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
// alert(error);
|
// alert(error);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -195,7 +195,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}" style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -510,7 +510,7 @@ export class AddressComponent implements OnInit {
|
|||||||
this.disableAfterSubmit = false;
|
this.disableAfterSubmit = false;
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
this.disableAfterSubmit = false;
|
this.disableAfterSubmit = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -436,7 +436,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}" style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -147,7 +147,7 @@ export class AssetsInfoComponent implements OnInit {
|
|||||||
this.getM_Vehicle_Type();
|
this.getM_Vehicle_Type();
|
||||||
this.getM_UOM_Type();
|
this.getM_UOM_Type();
|
||||||
|
|
||||||
this.pdTrigerService.retriveFile(this.pdid,'5',null).subscribe(data => {
|
this.pdTrigerService.retriveFile(this.pdid,'4',null).subscribe(data => {
|
||||||
if (data.status == 200) {
|
if (data.status == 200) {
|
||||||
if(data.records.length>0){
|
if(data.records.length>0){
|
||||||
data.records.forEach((val, index) => {
|
data.records.forEach((val, index) => {
|
||||||
@ -848,7 +848,8 @@ export class AssetsInfoComponent implements OnInit {
|
|||||||
this.disableAfterSubmit = false;
|
this.disableAfterSubmit = false;
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
// this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
this.disableAfterSubmit = false;
|
this.disableAfterSubmit = false;
|
||||||
// this.dialogRef.close();
|
// this.dialogRef.close();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -224,7 +224,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -320,7 +320,8 @@ export class BankingDetailsComponent implements OnInit {
|
|||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
// this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -390,7 +390,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -821,7 +821,8 @@ if(datas.business_name_of_the_owner !== null){
|
|||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
// this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -156,7 +156,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -315,7 +315,8 @@ export class BusinessBankingDetailsComponent implements OnInit {
|
|||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
// this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1615,7 +1615,7 @@
|
|||||||
<mat-card-content class="matcard">
|
<mat-card-content class="matcard">
|
||||||
<div fxLayout="row" fxLayoutAlign="space-between none" >
|
<div fxLayout="row" fxLayoutAlign="space-between none" >
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<mat-select placeholder="Shop and Est Act Cert" formControlName="shop_eat_act_cert" (change)="radioChange($event,1)"
|
<mat-select placeholder="Shop and Est Act Cert" formControlName="shop_eat_act_cert" (selectionChange)="radioChange($event,1)"
|
||||||
required>
|
required>
|
||||||
<mat-option value="yes">Yes</mat-option>
|
<mat-option value="yes">Yes</mat-option>
|
||||||
<mat-option value="no">No</mat-option>
|
<mat-option value="no">No</mat-option>
|
||||||
@ -1624,7 +1624,7 @@
|
|||||||
<mat-error *ngIf="businessForm.controls['shop_eat_act_cert'].hasError('required')">Shop and Est Act Cert Required</mat-error>
|
<mat-error *ngIf="businessForm.controls['shop_eat_act_cert'].hasError('required')">Shop and Est Act Cert Required</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<div right *ngIf="businessForm.controls['shop_eat_act_cert'].value == 'yes'">
|
<div right *ngIf="businessForm.controls['shop_eat_act_cert'].value == 'yes'">
|
||||||
<div *ngIf="businessForm.controls['shop_eat_act_cert_pic'].value !== ''" >
|
<div *ngIf="businessForm.controls['shop_eat_act_cert_pic'] && businessForm.controls['shop_eat_act_cert_pic'].value!= '' " >
|
||||||
<img src="{{businessForm.controls['shop_eat_act_cert_pic'].value}}" style ="width: 100px;height: 100px;" ngxViewer>
|
<img src="{{businessForm.controls['shop_eat_act_cert_pic'].value}}" style ="width: 100px;height: 100px;" ngxViewer>
|
||||||
<p style="text-align: center">Shop and Est Act Cert Image</p>
|
<p style="text-align: center">Shop and Est Act Cert Image</p>
|
||||||
<!-- <br> -->
|
<!-- <br> -->
|
||||||
@ -1633,7 +1633,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div fxLayout="row" fxLayoutAlign="space-between none" >
|
<div fxLayout="row" fxLayoutAlign="space-between none" >
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<mat-select placeholder="GST Regn Cert" formControlName="gst_Regn_cert" (change)="radioChange($event,2)"
|
<mat-select placeholder="GST Regn Cert" formControlName="gst_Regn_cert" (selectionChange)="radioChange($event,2)"
|
||||||
required>
|
required>
|
||||||
<mat-option value="yes">Yes</mat-option>
|
<mat-option value="yes">Yes</mat-option>
|
||||||
<mat-option value="no">No</mat-option>
|
<mat-option value="no">No</mat-option>
|
||||||
@ -1642,7 +1642,7 @@
|
|||||||
<mat-error *ngIf="businessForm.controls['gst_Regn_cert'].hasError('required')">GST Regn Cert Required</mat-error>
|
<mat-error *ngIf="businessForm.controls['gst_Regn_cert'].hasError('required')">GST Regn Cert Required</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<div fxLayoutAlign="none center" *ngIf="businessForm.controls['gst_Regn_cert'].value == 'yes'">
|
<div fxLayoutAlign="none center" *ngIf="businessForm.controls['gst_Regn_cert'].value == 'yes'">
|
||||||
<div *ngIf="businessForm.controls['gst_Regn_cert_pic'].value !== ''" >
|
<div *ngIf="businessForm.controls['gst_Regn_cert_pic'] && businessForm.controls['gst_Regn_cert_pic'].value != ''" >
|
||||||
<img src="{{businessForm.controls['gst_Regn_cert_pic'].value}}" style ="width: 100px;height: 100px;" ngxViewer>
|
<img src="{{businessForm.controls['gst_Regn_cert_pic'].value}}" style ="width: 100px;height: 100px;" ngxViewer>
|
||||||
<p style="text-align: center">GST Regn Cert Image </p>
|
<p style="text-align: center">GST Regn Cert Image </p>
|
||||||
</div>
|
</div>
|
||||||
@ -1650,7 +1650,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div fxLayout="row" fxLayoutAlign="space-between" >
|
<div fxLayout="row" fxLayoutAlign="space-between" >
|
||||||
<mat-form-field *ngIf="businessForm.controls['export_import_cert']">
|
<mat-form-field *ngIf="businessForm.controls['export_import_cert']">
|
||||||
<mat-select placeholder="Export / Import cert" formControlName="export_import_cert" (change)="radioChange($event,3)"
|
<mat-select placeholder="Export / Import cert" formControlName="export_import_cert" (selectionChange)="radioChange($event,3)"
|
||||||
required>
|
required>
|
||||||
<mat-option value="yes">Yes</mat-option>
|
<mat-option value="yes">Yes</mat-option>
|
||||||
<mat-option value="no">No</mat-option>
|
<mat-option value="no">No</mat-option>
|
||||||
@ -1659,7 +1659,7 @@
|
|||||||
<mat-error *ngIf="businessForm.controls['export_import_cert'].hasError('required')">Export / Import cert Required</mat-error>
|
<mat-error *ngIf="businessForm.controls['export_import_cert'].hasError('required')">Export / Import cert Required</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<div right fxLayoutAlign="none center" *ngIf="businessForm.controls['export_import_cert'] && businessForm.controls['export_import_cert'].value == 'yes'">
|
<div right fxLayoutAlign="none center" *ngIf="businessForm.controls['export_import_cert'] && businessForm.controls['export_import_cert'].value == 'yes'">
|
||||||
<div *ngIf="businessForm.controls['export_import_cert_pic'].value !== ''" >
|
<div *ngIf="businessForm.controls['export_import_cert_pic'] && businessForm.controls['export_import_cert_pic'].value != ''" >
|
||||||
<img src="{{businessForm.controls['export_import_cert_pic'].value}}" style ="width: 100px;height: 100px;" ngxViewer >
|
<img src="{{businessForm.controls['export_import_cert_pic'].value}}" style ="width: 100px;height: 100px;" ngxViewer >
|
||||||
<p style="text-align: center">Export / Import cert Image</p>
|
<p style="text-align: center">Export / Import cert Image</p>
|
||||||
</div>
|
</div>
|
||||||
@ -1667,7 +1667,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div fxLayout="row" fxLayoutAlign="space-between" >
|
<div fxLayout="row" fxLayoutAlign="space-between" >
|
||||||
<mat-form-field *ngIf="businessForm.controls['factory_cert']">
|
<mat-form-field *ngIf="businessForm.controls['factory_cert']">
|
||||||
<mat-select placeholder="Factory Cert" formControlName="factory_cert" required (change)="radioChange($event,4)">
|
<mat-select placeholder="Factory Cert" formControlName="factory_cert" required (selectionChange)="radioChange($event,4)">
|
||||||
<mat-option value="yes">Yes</mat-option>
|
<mat-option value="yes">Yes</mat-option>
|
||||||
<mat-option value="no">No</mat-option>
|
<mat-option value="no">No</mat-option>
|
||||||
<mat-option value="not applicable">Not Applicable</mat-option>
|
<mat-option value="not applicable">Not Applicable</mat-option>
|
||||||
@ -1675,7 +1675,7 @@
|
|||||||
<mat-error *ngIf="businessForm.controls['factory_cert'].hasError('required')">Factory Cert Required</mat-error>
|
<mat-error *ngIf="businessForm.controls['factory_cert'].hasError('required')">Factory Cert Required</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<div right fxLayoutAlign="none center" *ngIf="businessForm.controls['factory_cert'] && businessForm.controls['factory_cert'].value == 'yes'">
|
<div right fxLayoutAlign="none center" *ngIf="businessForm.controls['factory_cert'] && businessForm.controls['factory_cert'].value == 'yes'">
|
||||||
<div *ngIf="businessForm.controls['factory_cert_pic'].value !== ''" >
|
<div *ngIf="businessForm.controls['factory_cert_pic'] && businessForm.controls['factory_cert_pic'].value != ''" >
|
||||||
<img src="{{businessForm.controls['factory_cert_pic'].value}}" style ="width: 100px;height: 100px;" ngxViewer >
|
<img src="{{businessForm.controls['factory_cert_pic'].value}}" style ="width: 100px;height: 100px;" ngxViewer >
|
||||||
<p style="text-align: center">Factory cert Image</p>
|
<p style="text-align: center">Factory cert Image</p>
|
||||||
|
|
||||||
@ -1684,7 +1684,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div fxLayout="row" fxLayoutAlign="space-between" >
|
<div fxLayout="row" fxLayoutAlign="space-between" >
|
||||||
<mat-form-field *ngIf="businessForm.controls['practice_cert']">
|
<mat-form-field *ngIf="businessForm.controls['practice_cert']">
|
||||||
<mat-select placeholder="Cert of Practice" formControlName="practice_cert" (change)="radioChange($event,5)"
|
<mat-select placeholder="Cert of Practice" formControlName="practice_cert" (selectionChange)="radioChange($event,5)"
|
||||||
required>
|
required>
|
||||||
<mat-option value="yes">Yes</mat-option>
|
<mat-option value="yes">Yes</mat-option>
|
||||||
<mat-option value="no">No</mat-option>
|
<mat-option value="no">No</mat-option>
|
||||||
@ -1693,7 +1693,7 @@
|
|||||||
<mat-error *ngIf="businessForm.controls['practice_cert'].hasError('required')">Cert of Practice Required</mat-error>
|
<mat-error *ngIf="businessForm.controls['practice_cert'].hasError('required')">Cert of Practice Required</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<div right fxLayoutAlign="none center" *ngIf="businessForm.controls['practice_cert'] && businessForm.controls['practice_cert'].value == 'yes'">
|
<div right fxLayoutAlign="none center" *ngIf="businessForm.controls['practice_cert'] && businessForm.controls['practice_cert'].value == 'yes'">
|
||||||
<div *ngIf="businessForm.controls['practice_cert_pic'].value !== ''" >
|
<div *ngIf="businessForm.controls['practice_cert_pic'] && businessForm.controls['practice_cert_pic'].value != ''" >
|
||||||
<img src="{{businessForm.controls['practice_cert_pic'].value}}" style ="width: 100px;height: 100px;" ngxViewer >
|
<img src="{{businessForm.controls['practice_cert_pic'].value}}" style ="width: 100px;height: 100px;" ngxViewer >
|
||||||
<p style="text-align: center">Cert of Practice Image</p>
|
<p style="text-align: center">Cert of Practice Image</p>
|
||||||
|
|
||||||
@ -1702,7 +1702,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div fxLayout="row" fxLayoutAlign="space-between" >
|
<div fxLayout="row" fxLayoutAlign="space-between" >
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<mat-select placeholder="PF Regn" formControlName="pf_regn" required (change)="radioChange($event,6)">
|
<mat-select placeholder="PF Regn" formControlName="pf_regn" required (selectionChange)="radioChange($event,6)">
|
||||||
<mat-option value="yes">Yes</mat-option>
|
<mat-option value="yes">Yes</mat-option>
|
||||||
<mat-option value="no">No</mat-option>
|
<mat-option value="no">No</mat-option>
|
||||||
<mat-option value="not applicable">Not Applicable</mat-option>
|
<mat-option value="not applicable">Not Applicable</mat-option>
|
||||||
@ -1710,7 +1710,7 @@
|
|||||||
<mat-error *ngIf="businessForm.controls['pf_regn'].hasError('required')">PF Regn Required</mat-error>
|
<mat-error *ngIf="businessForm.controls['pf_regn'].hasError('required')">PF Regn Required</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<div right fxLayoutAlign="none center" *ngIf="businessForm.controls['pf_regn'].value == 'yes'">
|
<div right fxLayoutAlign="none center" *ngIf="businessForm.controls['pf_regn'].value == 'yes'">
|
||||||
<div *ngIf="businessForm.controls['pf_regn_pic'].value !== ''" >
|
<div *ngIf="businessForm.controls['pf_regn_pic'] && businessForm.controls['pf_regn_pic'].value != ''" >
|
||||||
<img src="{{businessForm.controls['pf_regn_pic'].value}}" style ="width: 100px;height: 100px;" ngxViewer >
|
<img src="{{businessForm.controls['pf_regn_pic'].value}}" style ="width: 100px;height: 100px;" ngxViewer >
|
||||||
<p style="text-align: center">PF Regn Image</p>
|
<p style="text-align: center">PF Regn Image</p>
|
||||||
|
|
||||||
@ -1719,7 +1719,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div fxLayout="row" fxLayoutAlign="space-between" >
|
<div fxLayout="row" fxLayoutAlign="space-between" >
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<mat-select placeholder="ESIC Regn" formControlName="esic_regn" (change)="radioChange($event,7)" required>
|
<mat-select placeholder="ESIC Regn" formControlName="esic_regn" (selectionChange)="radioChange($event,7)" required>
|
||||||
<mat-option value="yes">Yes</mat-option>
|
<mat-option value="yes">Yes</mat-option>
|
||||||
<mat-option value="no">No</mat-option>
|
<mat-option value="no">No</mat-option>
|
||||||
<mat-option value="not applicable">Not Applicable</mat-option>
|
<mat-option value="not applicable">Not Applicable</mat-option>
|
||||||
@ -1727,7 +1727,7 @@
|
|||||||
<mat-error *ngIf="businessForm.controls['esic_regn'].hasError('required')">ESIC Regn Required</mat-error>
|
<mat-error *ngIf="businessForm.controls['esic_regn'].hasError('required')">ESIC Regn Required</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<div right fxLayoutAlign="none center" *ngIf="businessForm.controls['esic_regn'].value == 'yes'">
|
<div right fxLayoutAlign="none center" *ngIf="businessForm.controls['esic_regn'].value == 'yes'">
|
||||||
<div *ngIf="businessForm.controls['esic_regn_pic'].value !== ''" >
|
<div *ngIf="businessForm.controls['esic_regn_pic'] && businessForm.controls['esic_regn_pic'].value != ''" >
|
||||||
<img src="{{businessForm.controls['esic_regn_pic'].value}}" style ="width: 100px;height: 100px;" ngxViewer >
|
<img src="{{businessForm.controls['esic_regn_pic'].value}}" style ="width: 100px;height: 100px;" ngxViewer >
|
||||||
<p style="text-align: center">ESIC Regn Image</p>
|
<p style="text-align: center">ESIC Regn Image</p>
|
||||||
</div>
|
</div>
|
||||||
@ -1782,8 +1782,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}" style="width: 100%;height: 100%;">
|
||||||
<label *ngIf="doc.document_name != ''"><strong>{{doc.document_name}}</strong></label>
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -592,11 +592,12 @@ export class BusinessInfoComponent implements OnInit {
|
|||||||
if(data.records.gst_Regn_cert =='yes'){ this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('')); }else{ this.businessForm.removeControl('gst_Regn_cert_pic');}
|
if(data.records.gst_Regn_cert =='yes'){ this.businessForm.addControl('gst_Regn_cert_pic', new FormControl('')); }else{ this.businessForm.removeControl('gst_Regn_cert_pic');}
|
||||||
if(data.records.factory_cert =='yes'){ this.businessForm.addControl('factory_cert_pic', new FormControl('')); }else{ this.businessForm.removeControl('factory_cert_pic');}
|
if(data.records.factory_cert =='yes'){ this.businessForm.addControl('factory_cert_pic', new FormControl('')); }else{ this.businessForm.removeControl('factory_cert_pic');}
|
||||||
if(data.records.practice_cert_cert =='yes'){ this.businessForm.addControl('practice_cert_pic', new FormControl('')); }else{ this.businessForm.removeControl('practice_cert_pic');}
|
if(data.records.practice_cert_cert =='yes'){ this.businessForm.addControl('practice_cert_pic', new FormControl('')); }else{ this.businessForm.removeControl('practice_cert_pic');}
|
||||||
if(data.records.shop_eat_act_cert =='yes'){ alert('if control'); this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('')); }else{ this.businessForm.removeControl('shop_eat_act_cert_pic');}
|
if(data.records.shop_eat_act_cert =='yes'){ this.businessForm.addControl('shop_eat_act_cert_pic', new FormControl('')); }else{ this.businessForm.removeControl('shop_eat_act_cert_pic');}
|
||||||
if(data.records.pf_regn =='yes'){ this.businessForm.addControl('pf_regn_pic', new FormControl('')); }else{ this.businessForm.removeControl('pf_regn_pic');}
|
if(data.records.pf_regn =='yes'){ this.businessForm.addControl('pf_regn_pic', new FormControl('')); }else{ this.businessForm.removeControl('pf_regn_pic');}
|
||||||
if(data.records.esic_regn =='yes'){ this.businessForm.addControl('esic_regn_pic', new FormControl('')); }else{ this.businessForm.removeControl('esic_regn_pic');}
|
if(data.records.esic_regn =='yes'){ this.businessForm.addControl('esic_regn_pic', new FormControl('')); }else{ this.businessForm.removeControl('esic_regn_pic');}
|
||||||
if(data.records.export_import_cert =='yes'){ this.businessForm.addControl('export_import_cert_pic', new FormControl('')); }else{ this.businessForm.removeControl('export_import_cert_pic');}
|
if(data.records.export_import_cert =='yes'){ this.businessForm.addControl('export_import_cert_pic', new FormControl('')); }else{ this.businessForm.removeControl('export_import_cert_pic');}
|
||||||
this.businessForm.patchValue(businessVal);
|
this.businessForm.patchValue(businessVal);
|
||||||
|
console.log('this.businessForm',this.businessForm);
|
||||||
} else {
|
} else {
|
||||||
//Desgn.push(this.createDesignation());
|
//Desgn.push(this.createDesignation());
|
||||||
Partnr.push(this.createPartners());
|
Partnr.push(this.createPartners());
|
||||||
@ -1647,7 +1648,8 @@ export class BusinessInfoComponent implements OnInit {
|
|||||||
this.dialogRef.close();
|
this.dialogRef.close();
|
||||||
}, 3000);
|
}, 3000);
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
// this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -439,7 +439,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -693,7 +693,7 @@ export class ClientInfoComponent implements OnInit {
|
|||||||
// this.errorMessage = "Some Thing Wents Wrong Try Again !";
|
// this.errorMessage = "Some Thing Wents Wrong Try Again !";
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
// this.errorMessage = "Something Wents Wrong Try Again !";
|
// this.errorMessage = "Something Wents Wrong Try Again !";
|
||||||
// this.dialogRef.close();
|
// this.dialogRef.close();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -201,7 +201,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -569,7 +569,8 @@ export class CurrentLoanComponent implements OnInit {
|
|||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
// this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
validateAllFormFields(formGroup: FormGroup) {
|
validateAllFormFields(formGroup: FormGroup) {
|
||||||
|
|||||||
@ -284,7 +284,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -517,7 +517,7 @@ export class EmploymentInfoComponent implements OnInit {
|
|||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
/** On Key Press Event For Numbers */
|
/** On Key Press Event For Numbers */
|
||||||
|
|||||||
@ -179,7 +179,7 @@
|
|||||||
<input matInput placeholder="Income Per Month"
|
<input matInput placeholder="Income Per Month"
|
||||||
formControlName="earning_gross_income_per_month"
|
formControlName="earning_gross_income_per_month"
|
||||||
OnlyNumber type="text">
|
OnlyNumber type="text">
|
||||||
<mat-hint align="start" style="font-size:90%" *ngIf="item.get('earning_gross_income_per_month').value != ''">{{"₹"}} {{item.get('earning_gross_income_per_month').value | numberToWords}} Only</mat-hint>
|
<mat-hint align="start" style="font-size:90%" *ngIf="item.get('earning_gross_income_per_month').value != ''">{{"₹"}} {{+item.get('earning_gross_income_per_month').value | numberToWords}} Only</mat-hint>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field style="width:45%;">
|
<mat-form-field style="width:45%;">
|
||||||
<input matInput [placeholder]="item.get('earning_segment').value != 5 ? 'Name of the Employer/Business' : 'Pension Received From'"
|
<input matInput [placeholder]="item.get('earning_segment').value != 5 ? 'Name of the Employer/Business' : 'Pension Received From'"
|
||||||
@ -277,7 +277,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -98,6 +98,7 @@ export class FamilyDetailsComponent implements OnInit {
|
|||||||
let datas = familyMembersGeneralForm.map(element => {
|
let datas = familyMembersGeneralForm.map(element => {
|
||||||
return {
|
return {
|
||||||
id: element.pd_co_applicant_id.toString(),
|
id: element.pd_co_applicant_id.toString(),
|
||||||
|
title: element.applicant_title_name ? element.applicant_title_name : '',
|
||||||
name: element.applicant_name,
|
name: element.applicant_name,
|
||||||
relationship: element.relationship,
|
relationship: element.relationship,
|
||||||
relation_to: element.relation_to,
|
relation_to: element.relation_to,
|
||||||
@ -117,6 +118,7 @@ export class FamilyDetailsComponent implements OnInit {
|
|||||||
let datas = familyMembersBusinessForm.map(element => {
|
let datas = familyMembersBusinessForm.map(element => {
|
||||||
return {
|
return {
|
||||||
id: element.other_family_relationship_id.toString(),
|
id: element.other_family_relationship_id.toString(),
|
||||||
|
title:element.family_member_salutation,
|
||||||
name: element.family_member_name,
|
name: element.family_member_name,
|
||||||
relationship: element.other_family_relationship_id,
|
relationship: element.other_family_relationship_id,
|
||||||
relation_to: element.relation_to_id,
|
relation_to: element.relation_to_id,
|
||||||
@ -426,7 +428,7 @@ export class FamilyDetailsComponent implements OnInit {
|
|||||||
// // this.isReadOnly[inx] = false;
|
// // this.isReadOnly[inx] = false;
|
||||||
// }
|
// }
|
||||||
arraydata = {
|
arraydata = {
|
||||||
'family_member_salutation':'',
|
'family_member_salutation':val.title,
|
||||||
'family_member_name': val.name,
|
'family_member_name': val.name,
|
||||||
'family_member_relationship': val.relationship,
|
'family_member_relationship': val.relationship,
|
||||||
'family_member_age': val.age,
|
'family_member_age': val.age,
|
||||||
@ -688,7 +690,7 @@ export class FamilyDetailsComponent implements OnInit {
|
|||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -10,6 +10,9 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</h2>
|
</h2>
|
||||||
|
<mat-tab-group>
|
||||||
|
<mat-tab label="Questions">
|
||||||
|
<ng-template matTabContent>
|
||||||
<div *ngIf="noRecordsFound" style="max-width: 100vw !important;width: 100% !important;height: 95% !important;">
|
<div *ngIf="noRecordsFound" style="max-width: 100vw !important;width: 100% !important;height: 95% !important;">
|
||||||
<form [formGroup]="_finalRemarkForm" (submit)="onSubmit()" novalidate>
|
<form [formGroup]="_finalRemarkForm" (submit)="onSubmit()" novalidate>
|
||||||
<mat-dialog-content style="border-bottom: 2px solid #e2412f8f;">
|
<mat-dialog-content style="border-bottom: 2px solid #e2412f8f;">
|
||||||
@ -170,4 +173,47 @@
|
|||||||
</mat-dialog-actions>
|
</mat-dialog-actions>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
</ng-template>
|
||||||
|
</mat-tab>
|
||||||
|
<mat-tab label="Docs">
|
||||||
|
<ng-template matTabContent>
|
||||||
|
<div ngxViewer *ngIf="documentsAndFilesList.length>0; else noFiles">
|
||||||
|
<div fxLayout="row wrap" style="padding:20px;">
|
||||||
|
<div fxFlex="100">
|
||||||
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
|
<div class="p-list">
|
||||||
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}" style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div fxFlex="row">
|
||||||
|
<div fxFlex="100" class="m-gap p-gap">
|
||||||
|
<div fxLayout="row" fxLayoutWrap="wrap">
|
||||||
|
<div *ngFor="let doc of documentsAndFilesList">
|
||||||
|
<div class="text-center mb-2 hover-icon" fxFlex.xs="50" fxFlex.sm="50" fxFlex.md="20"
|
||||||
|
fxFlex.lg="20" fxFlex.xl="20" *ngIf="doc.document_type == 'pdf';">
|
||||||
|
<!-- <a href="http://www.google.com" target="_blank"> -->
|
||||||
|
<mat-icon style="color: #e00201;font-size: 60px !important;width:inherit !important;" (click)="pdf(doc.document)">picture_as_pdf</mat-icon>
|
||||||
|
<span class="d-block">{{doc.document_title}}</span>
|
||||||
|
<!-- </a> -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<ng-template #noFiles>
|
||||||
|
<mat-card-content>
|
||||||
|
<p style="margin: 20px;">No Files</p>
|
||||||
|
</mat-card-content>
|
||||||
|
</ng-template>
|
||||||
|
</ng-template>
|
||||||
|
</mat-tab>
|
||||||
|
|
||||||
|
</mat-tab-group>
|
||||||
|
|
||||||
<notifier-container></notifier-container>
|
<notifier-container></notifier-container>
|
||||||
@ -47,6 +47,7 @@ export class FinalRemarksComponent implements OnInit {
|
|||||||
|
|
||||||
public m_remarkTypeCustomerBehaviour = [];
|
public m_remarkTypeCustomerBehaviour = [];
|
||||||
public m_recommendationList = [];
|
public m_recommendationList = [];
|
||||||
|
public documentsAndFilesList = [];
|
||||||
private notifier: NotifierService;
|
private notifier: NotifierService;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
@ -216,6 +217,26 @@ export class FinalRemarksComponent implements OnInit {
|
|||||||
}, err => {
|
}, err => {
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
this.pdTrigerService.retriveFile(this.pdid,params.pd_form_id,null).subscribe(data => {
|
||||||
|
if (data.status == 200) {
|
||||||
|
if(data.records.length>0){
|
||||||
|
data.records.forEach((val, index) => {
|
||||||
|
let splitted = val.pd_document_name.split(".");
|
||||||
|
let DocumentsAndFiles = {
|
||||||
|
'document_name': val.pd_document_name,
|
||||||
|
'document_title': val.pd_document_title,
|
||||||
|
'document': val.doc_url,
|
||||||
|
'document_type' : splitted[1] == 'pdf'?'pdf':'image'
|
||||||
|
}
|
||||||
|
this.documentsAndFilesList.push(DocumentsAndFiles);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
this.documentsAndFilesList = [];
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
getM_Recommendation() {
|
getM_Recommendation() {
|
||||||
@ -292,7 +313,7 @@ export class FinalRemarksComponent implements OnInit {
|
|||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
// this.errorMessage = "Something Wents Wrong Try Again !";
|
// this.errorMessage = "Something Wents Wrong Try Again !";
|
||||||
// this.dialogRef.close();
|
// this.dialogRef.close();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -557,7 +557,7 @@
|
|||||||
|
|
||||||
<mat-form-field style="width:42%;" *ngIf="financialForm.controls['forfaiting']">
|
<mat-form-field style="width:42%;" *ngIf="financialForm.controls['forfaiting']">
|
||||||
<input matInput autocomplete="off" placeholder="Details of Forfaiting"
|
<input matInput autocomplete="off" placeholder="Details of Forfaiting"
|
||||||
formControlName="factoring">
|
formControlName="forfaiting">
|
||||||
<mat-error *ngIf="financialForm.controls['forfaiting'].hasError('required')">forfaiting Required</mat-error>
|
<mat-error *ngIf="financialForm.controls['forfaiting'].hasError('required')">forfaiting Required</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
@ -583,7 +583,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -379,7 +379,7 @@ export class FinancialInfoComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
changeBusinessActivity(event: any) {
|
changeWorkingCapitalFacilities(event: any) {
|
||||||
console.log('event',event);
|
console.log('event',event);
|
||||||
if (event.value.exist_status == true && event.value.id == 2) {
|
if (event.value.exist_status == true && event.value.id == 2) {
|
||||||
console.log('event.value.exist_status == true && event.value.id == 2',event.value.exist_status,event.value.id)
|
console.log('event.value.exist_status == true && event.value.id == 2',event.value.exist_status,event.value.id)
|
||||||
@ -1924,7 +1924,7 @@ export class FinancialInfoComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
//this.dialogRef.close();
|
//this.dialogRef.close();
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -396,7 +396,6 @@
|
|||||||
</div> -->
|
</div> -->
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</mat-tab>
|
</mat-tab>
|
||||||
|
|
||||||
<mat-tab label="Docs">
|
<mat-tab label="Docs">
|
||||||
<ng-template matTabContent>
|
<ng-template matTabContent>
|
||||||
<div ngxViewer *ngIf="documentsAndFilesList.length>0; else noFiles">
|
<div ngxViewer *ngIf="documentsAndFilesList.length>0; else noFiles">
|
||||||
@ -405,8 +404,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}">
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}" style="width: 100%;height: 100%;">
|
||||||
<label *ngIf="doc.document_name != ''"><strong>{{doc.document_name}}</strong></label></div>
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -435,7 +434,6 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</mat-tab>
|
</mat-tab>
|
||||||
|
|
||||||
</mat-tab-group>
|
</mat-tab-group>
|
||||||
</mat-dialog-content>
|
</mat-dialog-content>
|
||||||
<mat-dialog-actions>
|
<mat-dialog-actions>
|
||||||
|
|||||||
@ -761,7 +761,7 @@ export class GeneralInfoComponent implements OnInit {
|
|||||||
// this.errorMessage = "Some Thing Wents Wrong Try Again !";
|
// this.errorMessage = "Some Thing Wents Wrong Try Again !";
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
this.disableAfterSubmit = false;
|
this.disableAfterSubmit = false;
|
||||||
// this.errorMessage = "Something Wents Wrong Try Again !";
|
// this.errorMessage = "Something Wents Wrong Try Again !";
|
||||||
});
|
});
|
||||||
|
|||||||
@ -70,7 +70,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -120,7 +120,7 @@ export class LenderRepresentativeComponent implements OnInit {
|
|||||||
// control.push(this.createLRDetail());
|
// control.push(this.createLRDetail());
|
||||||
// }
|
// }
|
||||||
})
|
})
|
||||||
this._pd.retriveFile(this.pdid,this.form_id,'null').subscribe(data => {
|
this._pd.retriveFile(this.pdid,this.form_id,null).subscribe(data => {
|
||||||
if (data.status == 200) {
|
if (data.status == 200) {
|
||||||
if(data.records.length>0){
|
if(data.records.length>0){
|
||||||
data.records.forEach((val, index) => {
|
data.records.forEach((val, index) => {
|
||||||
@ -195,7 +195,7 @@ export class LenderRepresentativeComponent implements OnInit {
|
|||||||
this.disableAfterSubmit = false;
|
this.disableAfterSubmit = false;
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
this.disableAfterSubmit = false;
|
this.disableAfterSubmit = false;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -238,7 +238,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -876,7 +876,7 @@ export class LoanDetailsComponent implements OnInit {
|
|||||||
this.disableAfterSubmit = false;
|
this.disableAfterSubmit = false;
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
this.disableAfterSubmit = false;
|
this.disableAfterSubmit = false;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -229,7 +229,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -219,21 +219,23 @@ pdf(fileURL){
|
|||||||
let stdcodesearch = elementValue.landline.search("-");
|
let stdcodesearch = elementValue.landline.search("-");
|
||||||
let stdcode = elementValue.landline.substr(0,stdcodesearch);
|
let stdcode = elementValue.landline.substr(0,stdcodesearch);
|
||||||
let landline = elementValue.landline.substr(+stdcodesearch + 1,8);
|
let landline = elementValue.landline.substr(+stdcodesearch + 1,8);
|
||||||
|
console.log('elementValue.landline',elementValue.landline);
|
||||||
|
console.log('stdcode',stdcode,'landline',landline);
|
||||||
return this._fb.group({
|
return this._fb.group({
|
||||||
reference_name: [elementValue.reference_name],
|
reference_name: [elementValue.reference_name != null ?elementValue.reference_name:''],
|
||||||
mobile: [elementValue.mobile,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],
|
mobile: [elementValue.mobile != null ?elementValue.mobile:'',Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],
|
||||||
std_code: [stdcode != null ? stdcode : '',Validators.compose([Validators.minLength(2),Validators.maxLength(4)])],
|
std_code: [stdcode != null ? stdcode != 'null' ? stdcode :'' : '',Validators.compose([Validators.minLength(2),Validators.maxLength(4)])],
|
||||||
landline: [landline != null ? landline : '',Validators.compose([Validators.minLength(6),Validators.maxLength(8)])],
|
landline: [landline != null ? landline != 'null' ? landline :'' : '',Validators.compose([Validators.minLength(6),Validators.maxLength(8)])],
|
||||||
location:[elementValue.location],
|
location:[elementValue.location!= null ?elementValue.location:''],
|
||||||
relationship_with:[elementValue.relationship_with],
|
relationship_with:[elementValue.relationship_with!= null ?elementValue.relationship_with:''],
|
||||||
others: [elementValue.others],
|
others: [elementValue.others!= null ?elementValue.others:''],
|
||||||
year_relation_applicant:[elementValue.year_relation_applicant],
|
year_relation_applicant:[elementValue.year_relation_applicant!= null ?elementValue.year_relation_applicant:''],
|
||||||
months_relation_applicant:[elementValue.months_relation_applicant],
|
months_relation_applicant:[elementValue.months_relation_applicant!= null ?elementValue.months_relation_applicant:''],
|
||||||
business_volume_amount:[elementValue.business_volume_amount],
|
business_volume_amount:[elementValue.business_volume_amount!= null ?elementValue.business_volume_amount:''],
|
||||||
business_volume_unit:[elementValue.business_volume_unit],
|
business_volume_unit:[elementValue.business_volume_unit!= null ?elementValue.business_volume_unit:''],
|
||||||
others_unit : [elementValue.others_unit],
|
others_unit : [elementValue.others_unit!= null ?elementValue.others_unit:''],
|
||||||
reference_final_remarks:[elementValue.reference_final_remarks],
|
reference_final_remarks:[elementValue.reference_final_remarks!= null ?elementValue.reference_final_remarks:''],
|
||||||
specify_final_remark : [elementValue.specify_final_remark],
|
specify_final_remark : [elementValue.specify_final_remark!= null ?elementValue.specify_final_remark:''],
|
||||||
// positive_remark:[elementValue.positive_remark],
|
// positive_remark:[elementValue.positive_remark],
|
||||||
// negative_remark:[elementValue.negative_remark],
|
// negative_remark:[elementValue.negative_remark],
|
||||||
// insufficient_info_remark:[elementValue.insufficient_info_remark]
|
// insufficient_info_remark:[elementValue.insufficient_info_remark]
|
||||||
@ -433,7 +435,7 @@ pdf(fileURL){
|
|||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -161,7 +161,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -322,7 +322,7 @@ export class OtherIncomeComponent implements OnInit {
|
|||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -18,6 +18,10 @@
|
|||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<mat-dialog-content style="border-bottom: 2px solid #e2412f8f;">
|
<mat-dialog-content style="border-bottom: 2px solid #e2412f8f;">
|
||||||
|
<mat-tab-group>
|
||||||
|
<mat-tab label="Questions">
|
||||||
|
<ng-template matTabContent>
|
||||||
|
|
||||||
<mat-card>
|
<mat-card>
|
||||||
<mat-card-header>
|
<mat-card-header>
|
||||||
<mat-card-title>Property Details</mat-card-title>
|
<mat-card-title>Property Details</mat-card-title>
|
||||||
@ -689,7 +693,49 @@
|
|||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
|
||||||
|
</ng-template>
|
||||||
|
</mat-tab>
|
||||||
|
|
||||||
|
<mat-tab label="Docs">
|
||||||
|
<ng-template matTabContent>
|
||||||
|
<div ngxViewer *ngIf="documentsAndFilesList.length>0; else noFiles">
|
||||||
|
<div fxLayout="row wrap" style="padding:20px;">
|
||||||
|
<div fxFlex="100">
|
||||||
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
|
<div class="p-list">
|
||||||
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}" style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div fxFlex="row">
|
||||||
|
<div fxFlex="100" class="m-gap p-gap">
|
||||||
|
<div fxLayout="row" fxLayoutWrap="wrap">
|
||||||
|
<div *ngFor="let doc of documentsAndFilesList">
|
||||||
|
<div class="text-center mb-2 hover-icon" fxFlex.xs="50" fxFlex.sm="50" fxFlex.md="20"
|
||||||
|
fxFlex.lg="20" fxFlex.xl="20" *ngIf="doc.document_type == 'pdf';">
|
||||||
|
<!-- <a href="http://www.google.com" target="_blank"> -->
|
||||||
|
<mat-icon style="color: #e00201;font-size: 60px !important;width:inherit !important;" (click)="pdf(doc.document)">picture_as_pdf</mat-icon>
|
||||||
|
<span class="d-block">{{doc.document_title}}</span>
|
||||||
|
<!-- </a> -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<ng-template #noFiles>
|
||||||
|
<mat-card-content>
|
||||||
|
<p style="margin: 20px;">No Files</p>
|
||||||
|
</mat-card-content>
|
||||||
|
</ng-template>
|
||||||
|
</ng-template>
|
||||||
|
</mat-tab>
|
||||||
|
|
||||||
|
</mat-tab-group>
|
||||||
</mat-dialog-content>
|
</mat-dialog-content>
|
||||||
|
|
||||||
<mat-dialog-actions>
|
<mat-dialog-actions>
|
||||||
|
|||||||
@ -14,7 +14,26 @@ import Swal from 'sweetalert2';
|
|||||||
styleUrls: ['./manage-rental-verification.component.scss']
|
styleUrls: ['./manage-rental-verification.component.scss']
|
||||||
})
|
})
|
||||||
export class ManageRentalVerificationComponent implements OnInit {
|
export class ManageRentalVerificationComponent implements OnInit {
|
||||||
|
/** For DOCS Tab */
|
||||||
|
public viewerOptions: any = {
|
||||||
|
navbar: false,
|
||||||
|
toolbar: {
|
||||||
|
zoomIn: 4,
|
||||||
|
zoomOut: 4,
|
||||||
|
oneToOne: 4,
|
||||||
|
reset: 4,
|
||||||
|
prev: 4,
|
||||||
|
play: {
|
||||||
|
show: 4,
|
||||||
|
size: 'large',
|
||||||
|
},
|
||||||
|
next: 4,
|
||||||
|
rotateLeft: 4,
|
||||||
|
rotateRight: 4,
|
||||||
|
flipHorizontal: 4,
|
||||||
|
flipVertical: 4,
|
||||||
|
}
|
||||||
|
};
|
||||||
pipe = new DatePipe('en-US');
|
pipe = new DatePipe('en-US');
|
||||||
// customer_segment_abbr: any;
|
// customer_segment_abbr: any;
|
||||||
// subproduct_abbr: any;
|
// subproduct_abbr: any;
|
||||||
@ -45,6 +64,7 @@ export class ManageRentalVerificationComponent implements OnInit {
|
|||||||
//floorList: any=[{id:1,name:"Ground Floor"},{id:1,name:"First Floor"},{id:1,name:"Second Floor"},{id:1,name:"Third Floor"}]
|
//floorList: any=[{id:1,name:"Ground Floor"},{id:1,name:"First Floor"},{id:1,name:"Second Floor"},{id:1,name:"Third Floor"}]
|
||||||
//unitMeasurementList: any=[{id:2,name:"Square Feet"},{id:3,name:"Square Yards"},{id:4,name:"Square Meters"},{id:5,name:"Acres"},{id:6,name:"Hectares"},{id:1,name:"Others (Please Specify)"}];
|
//unitMeasurementList: any=[{id:2,name:"Square Feet"},{id:3,name:"Square Yards"},{id:4,name:"Square Meters"},{id:5,name:"Acres"},{id:6,name:"Hectares"},{id:1,name:"Others (Please Specify)"}];
|
||||||
unitMeasurementList: any=[];
|
unitMeasurementList: any=[];
|
||||||
|
documentsAndFilesList: any = [];
|
||||||
SwalButtonText: string;
|
SwalButtonText: string;
|
||||||
SwalMessage: string;
|
SwalMessage: string;
|
||||||
|
|
||||||
@ -162,6 +182,27 @@ export class ManageRentalVerificationComponent implements OnInit {
|
|||||||
val=="0" ? this._rentalForm.addControl('why_third_party_check_not_done', new FormControl('', Validators.required)) : this._rentalForm.removeControl('why_third_party_check_not_done');
|
val=="0" ? this._rentalForm.addControl('why_third_party_check_not_done', new FormControl('', Validators.required)) : this._rentalForm.removeControl('why_third_party_check_not_done');
|
||||||
});
|
});
|
||||||
this.loadFormData(this.data.editData);
|
this.loadFormData(this.data.editData);
|
||||||
|
|
||||||
|
this._pd.retriveFile(this.pdid,'17',null).subscribe(data => {
|
||||||
|
if (data.status == 200) {
|
||||||
|
if(data.records.length>0){
|
||||||
|
data.records.forEach((val, index) => {
|
||||||
|
let splitted = val.pd_document_name.split(".");
|
||||||
|
let DocumentsAndFiles = {
|
||||||
|
'document_name': val.pd_document_name,
|
||||||
|
'document_title': val.pd_document_title,
|
||||||
|
'document': val.doc_url,
|
||||||
|
'document_type' : splitted[1] == 'pdf'?'pdf':'image'
|
||||||
|
}
|
||||||
|
this.documentsAndFilesList.push(DocumentsAndFiles);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
this.documentsAndFilesList = [];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
initRentalForm() {
|
initRentalForm() {
|
||||||
@ -999,7 +1040,7 @@ export class ManageRentalVerificationComponent implements OnInit {
|
|||||||
// this.errorMessage = "Some Thing Wents Wrong Try Again !";
|
// this.errorMessage = "Some Thing Wents Wrong Try Again !";
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
return;
|
return;
|
||||||
// this.errorMessage = "Something Wents Wrong Try Again !";
|
// this.errorMessage = "Something Wents Wrong Try Again !";
|
||||||
});
|
});
|
||||||
|
|||||||
@ -395,7 +395,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -732,7 +732,7 @@ export class StockComponent implements OnInit {
|
|||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -300,7 +300,8 @@
|
|||||||
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
<div fxFlex="20" class="m-gap p-gap" *ngFor="let doc of documentsAndFilesList">
|
||||||
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
<div class="p-list-main mb-2" style="width: 60%;height: auto;" *ngIf="doc.document_type != 'pdf'">
|
||||||
<div class="p-list">
|
<div class="p-list">
|
||||||
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"></div>
|
<div class="top"> <img src="{{doc.document}}" alt="{{doc.document_name}}"style="width: 100%;height: 100%;">
|
||||||
|
<label *ngIf="doc.document_title != ''" style="font-size: 0.85rem">{{doc.document_title}}</label></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -519,7 +519,7 @@ export class SupplierInfoComponent implements OnInit {
|
|||||||
// this.errorMessage = "Some Thing Wents Wrong Try Again !";
|
// this.errorMessage = "Some Thing Wents Wrong Try Again !";
|
||||||
}
|
}
|
||||||
}, error => {
|
}, error => {
|
||||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');
|
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||||
// this.errorMessage = "Something Wents Wrong Try Again !";
|
// this.errorMessage = "Something Wents Wrong Try Again !";
|
||||||
// this.dialogRef.close();
|
// this.dialogRef.close();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -69,8 +69,8 @@
|
|||||||
</mat-list-item>
|
</mat-list-item>
|
||||||
|
|
||||||
<mat-list-item role="listitem" *ngIf="master.loan_amount">
|
<mat-list-item role="listitem" *ngIf="master.loan_amount">
|
||||||
<div fxFlex="100" align="right">
|
<div fxFlex="70" fxFlexOffset="30">
|
||||||
<div style="font-size:0.9rem !important; height: -webkit-fill-available;">{{master.loan_amount | numberToWords}} Only</div>
|
<div style="font-size:0.9rem !important;">{{master.loan_amount | numberToWords}} Only</div>
|
||||||
<!-- <div style="font-size:0.9rem !important;">{{ 9999999999 | numberToWords}} Only</div> -->
|
<!-- <div style="font-size:0.9rem !important;">{{ 9999999999 | numberToWords}} Only</div> -->
|
||||||
</div>
|
</div>
|
||||||
</mat-list-item>
|
</mat-list-item>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user