diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.ts
index 1b19f75b9..66d04a9d5 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.ts
@@ -31,6 +31,10 @@ import { PdTrigerService } from '../../../../../pd-service/pd-triger.service';
})
export class SupplierInfoComponent implements OnInit {
+ customer_segment_abbr: any;
+ subproduct_abbr: any;
+ lender_applicant_id: any;
+ main_applicant: any;
pageTitle: string = "Supplier Details";
@@ -55,6 +59,10 @@ export class SupplierInfoComponent implements OnInit {
this.company_id = this.pd_all_details.company_id
this.notifier = notifier;
this.pageTitle = this.pd_all_details.company_name + ' - ' +this.pageTitle ;
+ this.main_applicant = this.pd_all_details.pdmaster_details.main_applicant;
+ 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;
}
public viewerOptions: any = {
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.scss
index c97e840f3..f89b4ea23 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.scss
@@ -1,6 +1,9 @@
// .child_mat_card mat-card {
// margin: 2 0%;
// }
+::ng-deep .mat-dialog-container{
+ overflow: hidden !important;
+}
::ng-deep .mat-card-header-text{
margin:0px !important;
}
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.ts
index 7ceeb53af..669b8950e 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.ts
@@ -155,8 +155,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==1){
const dialogRef = this.dialog.open(SupplierInfoComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -168,8 +171,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==2){
const dialogRef = this.dialog.open(ClientInfoComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -181,8 +187,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==3){
const dialogRef = this.dialog.open(PersonalInfoComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -194,8 +203,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==4){
const dialogRef = this.dialog.open(AssetsInfoComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -207,8 +219,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==5){
const dialogRef = this.dialog.open(AddressComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -220,8 +235,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==6){
const dialogRef = this.dialog.open(FamilyDetailsComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -233,8 +251,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==7){
const dialogRef = this.dialog.open(BankingDetailsComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -247,8 +268,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==8){
const dialogRef = this.dialog.open(CurrentLoanComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -261,8 +285,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==9){
const dialogRef = this.dialog.open(OtherIncomeComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -274,8 +301,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==10){
const dialogRef = this.dialog.open(LoanDetailsComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -287,8 +317,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==11){
const dialogRef = this.dialog.open(StockComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -300,8 +333,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==12){
const dialogRef = this.dialog.open(EmploymentInfoComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -313,8 +349,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==13){
const dialogRef = this.dialog.open(BusinessInfoGroupComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -326,8 +365,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==14){
const dialogRef = this.dialog.open(FinancialInfoComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -339,8 +381,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==15){
const dialogRef = this.dialog.open(LenderRepresentativeComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -353,8 +398,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==16){
const dialogRef = this.dialog.open(AssessedIncomeComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -366,8 +414,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==17){
const dialogRef = this.dialog.open(RentalInfoComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
@@ -379,8 +430,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
else if(this.selectedFormsCategory.form_id==18){
const generaldialogRef = this.dialog.open(GeneralInfoComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
generaldialogRef.afterClosed()
@@ -392,8 +446,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
else if(this.selectedFormsCategory.form_id==19){
const generaldialogRef = this.dialog.open(NeighbourHoodComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
generaldialogRef.afterClosed()
@@ -404,8 +461,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
}else if(this.selectedFormsCategory.form_id==20){
const generaldialogRef = this.dialog.open(FinalRemarksComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
generaldialogRef.afterClosed()
@@ -417,8 +477,11 @@ export class StartPdComponent implements OnInit, OnDestroy {
if(this.selectedFormsCategory.form_id==22){
const dialogRef = this.dialog.open(BusinessAssetsInfoComponent, {
data: this.pdFullDetails,
- position: { right: '0'},
- width:'80%',
+ // position: { right: '0'},
+ maxWidth: '100vw',
+ maxHeight: '100vh',
+ height: '100%',
+ width: '100%',
disableClose: true
});
dialogRef.afterClosed()
diff --git a/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts b/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts
index fa1a819eb..7f2604156 100755
--- a/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts
+++ b/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts
@@ -510,6 +510,7 @@ export class PdTrigerService {
/** To get Family Member Name For
* 1) other income form - (income earned field)
+ * 2) bussiness form - (partner_name field)
*/
getAllPersonsName(pdid:any): Observable
{
return this._http.post(this.apiUrl + "getAllPersonsName", { "pd_id" : pdid})
diff --git a/ng6-seed/src/app/personal-discussion/personal-discussion.module.ts b/ng6-seed/src/app/personal-discussion/personal-discussion.module.ts
index 8149f4af5..0bc51ae8d 100755
--- a/ng6-seed/src/app/personal-discussion/personal-discussion.module.ts
+++ b/ng6-seed/src/app/personal-discussion/personal-discussion.module.ts
@@ -50,7 +50,6 @@ import { personalDiscussionRoutes } from './personal-discussion.routing';
TreeModule,
MatDialogModule,MatSortModule,
NgxMatSelectSearchModule,MatTooltipModule, MatExpansionModule,
- ],
- declarations: []
+ ]
})
export class PersonalDiscussionModule { }
diff --git a/ng6-seed/src/app/personal-discussion/snack-bar/snack-bar.component.html b/ng6-seed/src/app/personal-discussion/snack-bar/snack-bar.component.html
new file mode 100644
index 000000000..8fe9cab13
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/snack-bar/snack-bar.component.html
@@ -0,0 +1,3 @@
+
+ snack-bar works!
+
diff --git a/ng6-seed/src/app/personal-discussion/snack-bar/snack-bar.component.scss b/ng6-seed/src/app/personal-discussion/snack-bar/snack-bar.component.scss
new file mode 100644
index 000000000..e69de29bb
diff --git a/ng6-seed/src/app/personal-discussion/snack-bar/snack-bar.component.spec.ts b/ng6-seed/src/app/personal-discussion/snack-bar/snack-bar.component.spec.ts
new file mode 100644
index 000000000..05db7e794
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/snack-bar/snack-bar.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { SnackBarComponent } from './snack-bar.component';
+
+describe('SnackBarComponent', () => {
+ let component: SnackBarComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ SnackBarComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(SnackBarComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/ng6-seed/src/app/personal-discussion/snack-bar/snack-bar.component.ts b/ng6-seed/src/app/personal-discussion/snack-bar/snack-bar.component.ts
new file mode 100644
index 000000000..d7870a9e2
--- /dev/null
+++ b/ng6-seed/src/app/personal-discussion/snack-bar/snack-bar.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'app-snack-bar',
+ templateUrl: './snack-bar.component.html',
+ styleUrls: ['./snack-bar.component.scss']
+})
+export class SnackBarComponent implements OnInit {
+
+ constructor() { }
+
+ ngOnInit() {
+ }
+
+}