+
+
-
-
-
- Started by Applicants
- Family Business
- Others
-
-
-
-
-
-
-
-
- {{owner.applicant_name}}
- Relative of an applicant
- Others
-
-
-
-
-
-
-
- {{member.name}}
-
-
-
-
-
- Yes
- No
-
-
-
-
-
-
-
-
-
-
- Partners / Directors / Shareholders
-
-
-
-
-
-
-
- Employees As per applicant
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- No of Employees sighted by PD officer during his visit
-
-
-
-
-
-
-
-
-
-
-
-
- Investment in business by Applicants
-
-
-
-
-
-
-
-
-
-
-
- Location
-
-
-
-
-
- Well Suited.
- Fairly Suited
- Not Suited
-
-
-
-
-
-
-
- Documents Sighted
-
-
-
-
-
- Yes
- No
-
-
-
-
- Yes
- No
-
-
-
-
- Yes
- No
-
-
-
-
- Yes
- No
-
-
-
-
- Yes
- No
-
-
-
-
- Yes
- No
-
-
-
-
- Yes
- No
-
-
-
-
- Yes
- No
- Not Applicable
-
-
-
-
-
-
-
-
- add
-
- 0">
- delete
-
-
-
-
-
-
-
- save
-
-
-
-
\ No newline at end of file
+
+
+ save
+
+
+
+
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.scss
index c1a248bc2..34bdc26e8 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.scss
@@ -27,4 +27,91 @@
width: 10px;
background: #62B013;
color: white;
-}
\ No newline at end of file
+}
+
+
+
+
+.paragraph_change {
+ color: #e00201 !important;
+}
+.mat-card-content {
+ background-color: white;
+ }
+ .mat-card-actions {
+ background-color: white;
+ }
+
+ mat-form-field {
+ margin: 0 2%;
+ }
+ $base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+$product-bg-color-hover: rgba(103, 58, 183, 0.7);
+.p-list-main {
+ background: white;
+ margin: auto;
+ position: relative;
+ overflow: hidden !important;
+ border-radius: 10px 10px 10px 10px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ &:hover {
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+ .p-list {
+ position: relative;
+ .top {
+ height: 100%;
+ width: 100%;
+ // background: url(https://s-media-cache-ak0.pinimg.com/736x/49/80/6f/49806f3f1c7483093855ebca1b8ae2c4.jpg) no-repeat center center;
+ -webkit-background-size: 100%;
+ -moz-background-size: 100%;
+ -o-background-size: 100%;
+ background-size: 100%;
+ }
+ .bottom {
+ width: 200%;
+ height: 15%;
+ transition: transform 0.5s;
+ h1 {
+ margin: 0;
+ padding: 0;
+ }
+ p {
+ margin: 0;
+ padding: 0;
+ }
+ .left {
+ height: 100%;
+ width: 50%;
+ background: #f4f4f4;
+ position: relative;
+ float: left;
+ .details {
+ padding: 5px;
+ float: left;
+ // width: calc(70% - 40px);
+ }
+
+ }
+ .right {
+ width: 50%;
+ background: #A6CDDE;
+ color: white;
+ float: right;
+ height: 200%;
+ overflow: hidden;
+ .details {
+ padding: 20px;
+ float: right;
+ width: calc(70% - 40px);
+ }
+
+
+ }
+ }
+ }
+
+}
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 e5ae10d50..cfd137a6b 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
@@ -29,9 +29,9 @@ import {ActivatedRoute, Router} from "@angular/router";
styleUrls: ['./business-info.component.scss']
})
export class BusinessInfoComponent implements OnInit {
- @Input() pdid: number;
- @Input() form_id: number;
- @Input() applicant_details: any;
+ pdid: number;
+ form_id: number;
+ pageTitle: string ="Business Details";
relationData: any = [];
industryData: any = [];
activityData: any = [];
@@ -40,13 +40,20 @@ export class BusinessInfoComponent implements OnInit {
public businessForm: FormGroup;
private notifier: NotifierService;
- constructor(notifier: NotifierService, private fb: FormBuilder, private route: ActivatedRoute,
- private router: Router,
- private _pd: PdTrigerService) {
- this.notifier = notifier;
- }
+ constructor(notifier: NotifierService,
+ private fb: FormBuilder,
+ private route: ActivatedRoute,
+ private router: Router,
+ private _pd: PdTrigerService,
+ @Inject(MAT_DIALOG_DATA) public pd_all_details: any) {
+ this.pdid = this.pd_all_details.pdmaster_details.pd_id;
+ this.applicants = this.pd_all_details.pdapplicants_detials;
+ this.form_id = 13;
+ this.notifier = notifier;
+ }
+
ngOnInit() {
- this.applicants = this.applicant_details.pdapplicants_detials;
+
this.getRelation();
this.getIndustry();
this.getActivity();
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.html
index d27fe4526..77ee86f38 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.html
@@ -1,4 +1,245 @@
-
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.scss
index e69de29bb..6dbbafcf7 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.scss
@@ -0,0 +1,83 @@
+.paragraph_change {
+ color: #e00201 !important;
+ }
+ .mat-card-content {
+ background-color: white;
+ }
+ .mat-card-actions {
+ background-color: white;
+ }
+
+ mat-form-field {
+ margin: 0 2%;
+ }
+ $base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+ $product-bg-color-hover: rgba(103, 58, 183, 0.7);
+ .p-list-main {
+ background: white;
+ margin: auto;
+ position: relative;
+ overflow: hidden !important;
+ border-radius: 10px 10px 10px 10px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ &:hover {
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+ .p-list {
+ position: relative;
+ .top {
+ height: 100%;
+ width: 100%;
+ // background: url(https://s-media-cache-ak0.pinimg.com/736x/49/80/6f/49806f3f1c7483093855ebca1b8ae2c4.jpg) no-repeat center center;
+ -webkit-background-size: 100%;
+ -moz-background-size: 100%;
+ -o-background-size: 100%;
+ background-size: 100%;
+ }
+ .bottom {
+ width: 200%;
+ height: 15%;
+ transition: transform 0.5s;
+ h1 {
+ margin: 0;
+ padding: 0;
+ }
+ p {
+ margin: 0;
+ padding: 0;
+ }
+ .left {
+ height: 100%;
+ width: 50%;
+ background: #f4f4f4;
+ position: relative;
+ float: left;
+ .details {
+ padding: 5px;
+ float: left;
+ // width: calc(70% - 40px);
+ }
+
+ }
+ .right {
+ width: 50%;
+ background: #A6CDDE;
+ color: white;
+ float: right;
+ height: 200%;
+ overflow: hidden;
+ .details {
+ padding: 20px;
+ float: right;
+ width: calc(70% - 40px);
+ }
+
+
+ }
+ }
+ }
+
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.ts
index 683297014..dc3036915 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/client-info/client-info.component.ts
@@ -30,7 +30,14 @@ import { PdTrigerService } from '../../../../../pd-service/pd-triger.service';
})
export class ClientInfoComponent implements OnInit {
- @Input() pdid: number;
+ pageTitle: string ="Client Details";
+
+ //@Input() pdid: number;
+ pdid : number;
+ form_id: number;
+
+ loadDataStatus: boolean=true;
+
public _clientQuesFrom: FormGroup;
public submitted = false;
@@ -88,10 +95,14 @@ export class ClientInfoComponent implements OnInit {
private notifier: NotifierService;
constructor(
-notifier: NotifierService,
+ notifier: NotifierService,
private _formBuilder: FormBuilder,
- private pdTrigerService: PdTrigerService) {
-this.notifier = notifier;}
+ private pdTrigerService: PdTrigerService,
+ @Inject(MAT_DIALOG_DATA) public pd_all_details: any) {
+ this.pdid = this.pd_all_details.pdmaster_details.pd_id;
+ this.form_id = 2;
+ this.notifier = notifier;
+}
ngOnInit() {
this.getM_FreqOfPurchase();
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.html
index 0c4442a89..cc87f6dc9 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.html
@@ -1,29 +1,272 @@
-
+
+
+
+
+
-
+
-
+
-
+
-
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.scss
index 345378a3b..cd0448ed0 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.scss
@@ -1,19 +1,103 @@
-.address {
- display: flex;
- padding: 0 2%;
- flex-direction: column;
-}
+// .address {
+// display: flex;
+// padding: 0 2%;
+// flex-direction: column;
+// }
-.address > * {
- width: 100%;
+// .address > * {
+// width: 100%;
+// }
+// .matcard mat-form-field {
+// margin: 0 2%;
+// width:26%;
+// }
+// .address .button {
+// float: right;
+// width: 10px;
+// background: #62B013;
+// color: white;
+// }
+
+.paragraph_change {
+ color: #e00201 !important;
}
-.matcard mat-form-field {
- margin: 0 2%;
- width:26%;
-}
-.address .button {
- float: right;
- width: 10px;
- background: #62B013;
- color: white;
+.mat-card-content {
+ background-color: white;
+ }
+ .mat-card-actions {
+ background-color: white;
+ }
+
+ mat-form-field {
+ margin: 0 2%;
+ }
+ $base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+$product-bg-color-hover: rgba(103, 58, 183, 0.7);
+.p-list-main {
+ background: white;
+ margin: auto;
+ position: relative;
+ overflow: hidden !important;
+ border-radius: 10px 10px 10px 10px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ &:hover {
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+ .p-list {
+ position: relative;
+ .top {
+ height: 100%;
+ width: 100%;
+ // background: url(https://s-media-cache-ak0.pinimg.com/736x/49/80/6f/49806f3f1c7483093855ebca1b8ae2c4.jpg) no-repeat center center;
+ -webkit-background-size: 100%;
+ -moz-background-size: 100%;
+ -o-background-size: 100%;
+ background-size: 100%;
+ }
+ .bottom {
+ width: 200%;
+ height: 15%;
+ transition: transform 0.5s;
+ h1 {
+ margin: 0;
+ padding: 0;
+ }
+ p {
+ margin: 0;
+ padding: 0;
+ }
+ .left {
+ height: 100%;
+ width: 50%;
+ background: #f4f4f4;
+ position: relative;
+ float: left;
+ .details {
+ padding: 5px;
+ float: left;
+ // width: calc(70% - 40px);
+ }
+
+ }
+ .right {
+ width: 50%;
+ background: #A6CDDE;
+ color: white;
+ float: right;
+ height: 200%;
+ overflow: hidden;
+ .details {
+ padding: 20px;
+ float: right;
+ width: calc(70% - 40px);
+ }
+
+
+ }
+ }
+ }
+
}
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.ts
index d4cffafc9..8051e3cd6 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/current-loan/current-loan.component.ts
@@ -31,21 +31,27 @@ import { ActivatedRoute, Router } from "@angular/router";
export class CurrentLoanComponent implements OnInit {
public currentLoanForm: FormGroup;
private notifier: NotifierService;
- @Input() pdid: number;
- @Input() form_id: number;
- @Input() applicant_details: any;
+ pageTitle: string ="Existing Loan Obligations";
+ pdid : number;
+ form_id: number;
+ applicant_details: any;
+ // @Input() pdid: number;
+ // @Input() form_id: number;
+ //@Input() applicant_details: any;
lenderData: any = [];
frequencyData: any = [];
applicants: any;
placeholderName : any = [];
- holder: any = 'amount';
IDXval : any;
constructor(notifier: NotifierService, private fb: FormBuilder, private route: ActivatedRoute,
private router: Router,
- private _pd: PdTrigerService) {
- this.notifier = notifier;
-
+ private _pd: PdTrigerService,
+ @Inject(MAT_DIALOG_DATA) public pd_all_details: any) {
+ this.pdid = this.pd_all_details.pdmaster_details.pd_id;
+ this.form_id = 8;
+ this.notifier = notifier;
+ this.applicants = this.pd_all_details.pdapplicants_detials;
}
ngOnInit() {
this.getMasterDetails('BTLENDERLIST',1);
@@ -54,7 +60,7 @@ export class CurrentLoanComponent implements OnInit {
let params: any = {};
params.pd_id = this.pdid;
params.pd_form_id = this.form_id;
- this.applicants = this.applicant_details.pdapplicants_detials;
+
this._pd.retriveForm(params).subscribe(value => {
console.log('value', value);
const control = this.currentLoanForm.controls['loan_details'];
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.html
index afb0576b1..985d7b252 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.html
@@ -1,122 +1,257 @@
-
- Employement Information
-
-
-
-
-
-
- Yes
- No
-
-
-
-
-
-
-
-
-
-
-
-
- Yes
- No
-
-
-
-
-
-
-
- Yes
- No
-
-
-
-
- Yes
- No
-
-
-
-
- Salary Details
-
-
-
-
-
-
-
-
+
+
+ {{pageTitle}}
+
+
+ close
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remarks
+
+
+
+
+
+
+ save
+
+
+
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.scss
index 8c61eec1d..9e5a3eaf8 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.scss
@@ -18,4 +18,87 @@
width: 10px;
background: #62B013;
color: white;
-}
\ No newline at end of file
+}
+
+.paragraph_change {
+ color: #e00201 !important;
+}
+.mat-card-content {
+ background-color: white;
+ }
+ .mat-card-actions {
+ background-color: white;
+ }
+ mat-form-field {
+ margin: 0 2%;
+ }
+ $base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+$product-bg-color-hover: rgba(103, 58, 183, 0.7);
+.p-list-main {
+ background: white;
+ margin: auto;
+ position: relative;
+ overflow: hidden !important;
+ border-radius: 10px 10px 10px 10px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ &:hover {
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+ .p-list {
+ position: relative;
+ .top {
+ height: 100%;
+ width: 100%;
+ // background: url(https://s-media-cache-ak0.pinimg.com/736x/49/80/6f/49806f3f1c7483093855ebca1b8ae2c4.jpg) no-repeat center center;
+ -webkit-background-size: 100%;
+ -moz-background-size: 100%;
+ -o-background-size: 100%;
+ background-size: 100%;
+ }
+ .bottom {
+ width: 200%;
+ height: 15%;
+ transition: transform 0.5s;
+ h1 {
+ margin: 0;
+ padding: 0;
+ }
+ p {
+ margin: 0;
+ padding: 0;
+ }
+ .left {
+ height: 100%;
+ width: 50%;
+ background: #f4f4f4;
+ position: relative;
+ float: left;
+ .details {
+ padding: 5px;
+ float: left;
+ // width: calc(70% - 40px);
+ }
+
+ }
+ .right {
+ width: 50%;
+ background: #A6CDDE;
+ color: white;
+ float: right;
+ height: 200%;
+ overflow: hidden;
+ .details {
+ padding: 20px;
+ float: right;
+ width: calc(70% - 40px);
+ }
+
+
+ }
+ }
+ }
+
+}
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.ts
index 860bad2e9..71724ff1f 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.ts
@@ -29,9 +29,11 @@ import {ActivatedRoute, Router} from '@angular/router';
styleUrls: ['./employment-info.component.scss']
})
export class EmploymentInfoComponent implements OnInit {
- @Input() pdid: number;
- @Input() form_id: number;
- @Input() pd_all_details:any;
+
+ pageTitle: string ="Employement Information";
+ pdid: number;
+ form_id: number;
+ //pd_all_details:any;
public employmentForm: FormGroup;
private notifier: NotifierService;
@@ -40,11 +42,14 @@ export class EmploymentInfoComponent implements OnInit {
constructor(notifier: NotifierService, private fb: FormBuilder, private route: ActivatedRoute,
private router: Router,
- private _pd: PdTrigerService) {
- this.notifier = notifier;
- //getAllMasterDatas();
+ private _pd: PdTrigerService,
+ @Inject(MAT_DIALOG_DATA) public pd_all_details: any) {
+ this.pdid = this.pd_all_details.pdmaster_details.pd_id;
+ this.form_id = 12;
+ this.notifier = notifier;
+
+ }
- }
ngOnInit() {
this.pd_cus_segment=this.pd_all_details.pdmaster_details.customer_segment_abbr.toUpperCase();
this.initemploymentForm();
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.html
index 2142bd66d..bcbbef8eb 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.html
@@ -1,8 +1,316 @@
+
+
+
+ {{pageTitle}}
+
+
+ close
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remarks
+
+
+
+
+
+ save
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.scss
index c97e4d992..197f8353a 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.scss
@@ -1,23 +1,108 @@
-.address {
- display: flex;
- padding: 0 2%;
- flex-direction: column;
-}
+// .address {
+// display: flex;
+// padding: 0 2%;
+// flex-direction: column;
+// }
-.address > * {
- width: 100%;
+// .address > * {
+// width: 100%;
+// }
+// .matcard mat-form-field {
+// margin: 0 2%;
+// width:27%;
+// }
+// .matcards mat-form-field {
+// margin: 0 2%;
+// width:40%;
+// }
+// .address .button {
+// float: right;
+// width: 10px;
+// background: #62B013;
+// color: white;
+// }
+
+
+.paragraph_change {
+ color: #e00201 !important;
}
-.matcard mat-form-field {
- margin: 0 2%;
- width:27%;
-}
-.matcards mat-form-field {
- margin: 0 2%;
- width:40%;
-}
-.address .button {
- float: right;
- width: 10px;
- background: #62B013;
- color: white;
+.mat-card-content {
+ background-color: white;
+ }
+ .mat-card-actions {
+ background-color: white;
+ }
+
+ mat-form-field {
+ margin: 0 2%;
+ }
+ $base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+$product-bg-color-hover: rgba(103, 58, 183, 0.7);
+.p-list-main {
+ background: white;
+ margin: auto;
+ position: relative;
+ overflow: hidden !important;
+ border-radius: 10px 10px 10px 10px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ &:hover {
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+ .p-list {
+ position: relative;
+ .top {
+ height: 100%;
+ width: 100%;
+ // background: url(https://s-media-cache-ak0.pinimg.com/736x/49/80/6f/49806f3f1c7483093855ebca1b8ae2c4.jpg) no-repeat center center;
+ -webkit-background-size: 100%;
+ -moz-background-size: 100%;
+ -o-background-size: 100%;
+ background-size: 100%;
+ }
+ .bottom {
+ width: 200%;
+ height: 15%;
+ transition: transform 0.5s;
+ h1 {
+ margin: 0;
+ padding: 0;
+ }
+ p {
+ margin: 0;
+ padding: 0;
+ }
+ .left {
+ height: 100%;
+ width: 50%;
+ background: #f4f4f4;
+ position: relative;
+ float: left;
+ .details {
+ padding: 5px;
+ float: left;
+ // width: calc(70% - 40px);
+ }
+
+ }
+ .right {
+ width: 50%;
+ background: #A6CDDE;
+ color: white;
+ float: right;
+ height: 200%;
+ overflow: hidden;
+ .details {
+ padding: 20px;
+ float: right;
+ width: calc(70% - 40px);
+ }
+
+
+ }
+ }
+ }
+
}
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.ts
index a4697dd3b..510290b23 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/family-details/family-details.component.ts
@@ -2,7 +2,7 @@ import {
Component,
OnInit,
Inject,
- Input
+ Input, Output
} from '@angular/core';
import {
@@ -29,7 +29,10 @@ import {ActivatedRoute, Router} from "@angular/router";
styleUrls: ['./family-details.component.scss']
})
export class FamilyDetailsComponent implements OnInit {
- @Input() pdid: number;
+ //@Input() pdid: number;
+ pageTitle: string ="Family Details";
+ pdid : string;
+ form_id : number;
public currentLoanForm: FormGroup;
private notifier: NotifierService;
@@ -54,8 +57,11 @@ export class FamilyDetailsComponent implements OnInit {
count : number;
constructor(notifier: NotifierService, private fb: FormBuilder, private route: ActivatedRoute,
private router: Router,
- private _pd: PdTrigerService) {
- this.notifier = notifier;
+ private _pd: PdTrigerService,
+ @Inject(MAT_DIALOG_DATA) public pd_all_details: any) {
+ this.pdid = this.pd_all_details.pdmaster_details.pd_id;
+ this.form_id = 6;
+ this.notifier = notifier;
}
ngOnInit() {
this.getMasterDetails('RELATIONSHIPS',1);
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 98c3e5155..b5f22eecf 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
@@ -1,4 +1,245 @@
-
+
+
+
+
+
+ {{pageTitle}}
+
+
+ close
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Data as Per Financial Statements
+
+
+
+
+
+
+
+
+
+
+ Actual Values as per Customer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remarks
+
+
+
+
+ save
+
+
+
+
+
+
+
+
+
+
-
add
@@ -90,5 +331,5 @@
save
-
-
\ No newline at end of file
+
+ -->
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.scss
index 833488467..41f2bb3ed 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/financial-info/financial-info.component.scss
@@ -1,22 +1,108 @@
-.address {
- display: flex;
- padding: 0 2%;
- flex-direction: column;
-}
+// .address {
+// display: flex;
+// padding: 0 2%;
+// flex-direction: column;
+// }
-.address > * {
- width: 100%;
+// .address > * {
+// width: 100%;
+// }
+// .matcard mat-form-field {
+// margin: 0 2%;
+// width:26%
+// }
+// .address .button {
+// float: right;
+// width: 10px;
+// background: #62B013;
+// color: white;
+// }
+// .highlight {
+// color: red;
+// }
+
+
+.paragraph_change {
+ color: #e00201 !important;
}
-.matcard mat-form-field {
- margin: 0 2%;
- width:26%
+.mat-card-content {
+ background-color: white;
+ }
+ .mat-card-actions {
+ background-color: white;
+ }
+
+ mat-form-field {
+ margin: 0 2%;
+ }
+ $base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+$product-bg-color-hover: rgba(103, 58, 183, 0.7);
+.p-list-main {
+ background: white;
+ margin: auto;
+ position: relative;
+ overflow: hidden !important;
+ border-radius: 10px 10px 10px 10px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ &:hover {
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+ .p-list {
+ position: relative;
+ .top {
+ height: 100%;
+ width: 100%;
+ // background: url(https://s-media-cache-ak0.pinimg.com/736x/49/80/6f/49806f3f1c7483093855ebca1b8ae2c4.jpg) no-repeat center center;
+ -webkit-background-size: 100%;
+ -moz-background-size: 100%;
+ -o-background-size: 100%;
+ background-size: 100%;
+ }
+ .bottom {
+ width: 200%;
+ height: 15%;
+ transition: transform 0.5s;
+ h1 {
+ margin: 0;
+ padding: 0;
+ }
+ p {
+ margin: 0;
+ padding: 0;
+ }
+ .left {
+ height: 100%;
+ width: 50%;
+ background: #f4f4f4;
+ position: relative;
+ float: left;
+ .details {
+ padding: 5px;
+ float: left;
+ // width: calc(70% - 40px);
+ }
+
+ }
+ .right {
+ width: 50%;
+ background: #A6CDDE;
+ color: white;
+ float: right;
+ height: 200%;
+ overflow: hidden;
+ .details {
+ padding: 20px;
+ float: right;
+ width: calc(70% - 40px);
+ }
+
+
+ }
+ }
+ }
+
}
-.address .button {
- float: right;
- width: 10px;
- background: #62B013;
- color: white;
-}
-.highlight {
- color: red;
-}
\ No newline at end of file
+
\ No newline at end of file
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 65290ff7d..07628db74 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
@@ -29,18 +29,25 @@ import {ActivatedRoute, Router} from '@angular/router';
styleUrls: ['./financial-info.component.scss']
})
export class FinancialInfoComponent implements OnInit {
- @Input() pdid: number;
- @Input() form_id: number;
+ pageTitle: string ="Financial Information";
+ pdid: string;
+ form_id: number;
public financialForm: FormGroup;
private notifier: NotifierService;
marginVal: any = [] ;
setmargin: AbstractControl;
- constructor(notifier: NotifierService, private fb: FormBuilder, private route: ActivatedRoute,
+ constructor(notifier: NotifierService,
+ private fb: FormBuilder,
+ private route: ActivatedRoute,
private router: Router,
- private _pd: PdTrigerService) {
- this.notifier = notifier;
+ private _pd: PdTrigerService,
+ @Inject(MAT_DIALOG_DATA) public pd_all_details: any) {
+ this.pdid = this.pd_all_details.pdmaster_details.pd_id;
+ this.form_id = 14;
+ this.notifier = notifier;
}
ngOnInit() {
+
this.initstockForm();
let params: any = {};
params.pd_id = this.pdid;
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.html
index 3c07f06f8..58085ce20 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.html
@@ -1,43 +1,181 @@
-
-
- Lender Representative Details
-
-
-
- Yes
- No
-
-
-
-
-
-
- save
-
-
-
-
-
-
+
+
+
+ {{pageTitle}}
+
+
+ close
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Yes
+ No
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remarks
+
+
+
+
+
+
+ save
+
+
+
+
+
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.scss
index c6a0fa9d7..d422798d3 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.scss
@@ -1,5 +1,5 @@
.mat-form-field {
- width: 100%;
+ width: 97%;
}
// .address > * {
@@ -8,4 +8,88 @@
// .matcard mat-form-field {
// margin: 0 2%;
// width:100%;
-// }
\ No newline at end of file
+// }
+
+.paragraph_change {
+ color: #e00201 !important;
+}
+.mat-card-content {
+ background-color: white;
+ }
+ .mat-card-actions {
+ background-color: white;
+ }
+
+ mat-form-field {
+ margin: 0 2%;
+ }
+ $base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+$product-bg-color-hover: rgba(103, 58, 183, 0.7);
+.p-list-main {
+ background: white;
+ margin: auto;
+ position: relative;
+ overflow: hidden !important;
+ border-radius: 10px 10px 10px 10px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ &:hover {
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+ .p-list {
+ position: relative;
+ .top {
+ height: 100%;
+ width: 100%;
+ // background: url(https://s-media-cache-ak0.pinimg.com/736x/49/80/6f/49806f3f1c7483093855ebca1b8ae2c4.jpg) no-repeat center center;
+ -webkit-background-size: 100%;
+ -moz-background-size: 100%;
+ -o-background-size: 100%;
+ background-size: 100%;
+ }
+ .bottom {
+ width: 200%;
+ height: 15%;
+ transition: transform 0.5s;
+ h1 {
+ margin: 0;
+ padding: 0;
+ }
+ p {
+ margin: 0;
+ padding: 0;
+ }
+ .left {
+ height: 100%;
+ width: 50%;
+ background: #f4f4f4;
+ position: relative;
+ float: left;
+ .details {
+ padding: 5px;
+ float: left;
+ // width: calc(70% - 40px);
+ }
+
+ }
+ .right {
+ width: 50%;
+ background: #A6CDDE;
+ color: white;
+ float: right;
+ height: 200%;
+ overflow: hidden;
+ .details {
+ padding: 20px;
+ float: right;
+ width: calc(70% - 40px);
+ }
+
+
+ }
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.ts
index bd095dc38..47d33a058 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/lender-representative/lender-representative.component.ts
@@ -1,6 +1,11 @@
import {Component,OnInit,Inject,Input } from '@angular/core';
import {FormBuilder,FormGroup,Validators,FormArray, FormControl,} from '@angular/forms';
import { NotifierService } from 'angular-notifier';
+import {
+ MatDialog,
+ MatDialogRef,
+ MAT_DIALOG_DATA
+} from '@angular/material';
/** Service */
import { PdTrigerService } from '../../../../../pd-service/pd-triger.service';
import { ActivatedRoute, Router } from "@angular/router";
@@ -13,15 +18,21 @@ import { ActivatedRoute, Router } from "@angular/router";
export class LenderRepresentativeComponent implements OnInit {
public representativeForm: FormGroup;
private notifier: NotifierService;
- @Input() pdid: number;
- @Input() form_id: number;
+ pageTitle: string ="Lender Representative Details";
+ pdid: number;
+ form_id: number;
- constructor(notifier: NotifierService, private fb: FormBuilder, private route: ActivatedRoute,
- private router: Router,
- private _pd: PdTrigerService) {
+ constructor(notifier: NotifierService,
+ private fb: FormBuilder,
+ private route: ActivatedRoute,
+ private router: Router,
+ private _pd: PdTrigerService,
+ @Inject(MAT_DIALOG_DATA) public pd_all_details: any) {
+ this.pdid = this.pd_all_details.pdmaster_details.pd_id;
+ this.form_id = 15;
this.notifier = notifier;
-
}
+
ngOnInit() {
this.initRepresentative();
let params: any = {};
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.html
index bbef40e0a..7d9d47cbd 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.html
@@ -1,71 +1,87 @@
-
- Loan Details
-
-
- {{"₹"}} {{loanAmtInWords}} Only
-
-
-
- {{ enduse.name }}
-
-
-
-
-
-
-
-
- Yes
- No
-
-
-
-
-
- {{"₹"}} {{balTxrfAmtInWords}} Only
-
-
-
- Yes
- No
-
-
-
-
- {{ btLen.lender_name }}
-
-
-
-
-
-
-
-
- {{"₹"}} {{topUpAmtInWords}} Only
-
-
-
- {{"₹"}} {{ownContributionInWords}} Only
-
+
+
+ {{pageTitle}}
+
+
+ close
+
+
+
-
-
- {{ sour.name }}
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
save
-
-
-
\ No newline at end of file
+
+
+
+
+
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.scss
index fce74bbc3..aade5c39e 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.scss
@@ -19,4 +19,89 @@
width: 10px;
background: #62B013;
color: white;
+}
+
+
+.paragraph_change {
+ color: #e00201 !important;
+}
+.mat-card-content {
+ background-color: white;
+ }
+ .mat-card-actions {
+ background-color: white;
+ }
+
+ mat-form-field {
+ margin: 0 2%;
+ }
+ $base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+$product-bg-color-hover: rgba(103, 58, 183, 0.7);
+.p-list-main {
+ background: white;
+ margin: auto;
+ position: relative;
+ overflow: hidden !important;
+ border-radius: 10px 10px 10px 10px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ &:hover {
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+ .p-list {
+ position: relative;
+ .top {
+ height: 100%;
+ width: 100%;
+ // background: url(https://s-media-cache-ak0.pinimg.com/736x/49/80/6f/49806f3f1c7483093855ebca1b8ae2c4.jpg) no-repeat center center;
+ -webkit-background-size: 100%;
+ -moz-background-size: 100%;
+ -o-background-size: 100%;
+ background-size: 100%;
+ }
+ .bottom {
+ width: 200%;
+ height: 15%;
+ transition: transform 0.5s;
+ h1 {
+ margin: 0;
+ padding: 0;
+ }
+ p {
+ margin: 0;
+ padding: 0;
+ }
+ .left {
+ height: 100%;
+ width: 50%;
+ background: #f4f4f4;
+ position: relative;
+ float: left;
+ .details {
+ padding: 5px;
+ float: left;
+ // width: calc(70% - 40px);
+ }
+
+ }
+ .right {
+ width: 50%;
+ background: #A6CDDE;
+ color: white;
+ float: right;
+ height: 200%;
+ overflow: hidden;
+ .details {
+ padding: 20px;
+ float: right;
+ width: calc(70% - 40px);
+ }
+
+
+ }
+ }
+ }
+
}
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.ts
index 77d16fe25..a0776c18b 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/loan-details/loan-details.component.ts
@@ -31,9 +31,10 @@ import {ActivatedRoute, Router} from '@angular/router';
export class LoanDetailsComponent implements OnInit {
public loanDetailsForm: FormGroup;
private notifier: NotifierService;
- @Input() pdid: number;
- @Input() form_id: number;
- @Input() applicant_details: any;
+ pdid: number;
+ form_id: number;
+ exist_loan_amt: any;
+
applicants: any;
productAbbr: any;
isOtherPurpose: boolean = false;
@@ -52,19 +53,24 @@ export class LoanDetailsComponent implements OnInit {
valAsPerAgmtInWords : any;
ownContributionInWords : any;
topUpAmtInWords: any;
+ pageTitle: string ="Loan Details";
- constructor(notifier: NotifierService, private fb: FormBuilder, private route: ActivatedRoute,
- private router: Router,
- private _pd: PdTrigerService) {
-
- this.notifier = notifier;
+ constructor(notifier: NotifierService,
+ private fb: FormBuilder,
+ private route: ActivatedRoute,
+ private router: Router,
+ private _pd: PdTrigerService,
+ @Inject(MAT_DIALOG_DATA) public pd_all_details: any) {
+ this.applicants = this.pd_all_details.pdapplicants_detials;
+ this.productAbbr = this.pd_all_details.pdmaster_details.product_abbr;
+ this.exist_loan_amt = this.pd_all_details.pdmaster_details.loan_amount != '' ? this.pd_all_details.pdmaster_details.loan_amount :'';
+ this.loanAmtInWords = this._pd.convertNumberToWords(this.exist_loan_amt);
+ this.form_id = 10;
+ this.pdid= this.pd_all_details.pdmaster_details.pd_id;
+ this.notifier = notifier;
}
- ngOnInit() {
-
- console.log(this.applicant_details.pdapplicants_detials);
- console.log(this.applicant_details);
- this.applicants = this.applicant_details.pdapplicants_detials;
- this.productAbbr = this.applicant_details.pdmaster_details.product_abbr;
+
+ ngOnInit() {
this.initloanDetailsForm();
this.getM_EndUseofLoad();
@@ -176,10 +182,9 @@ getM_sourceofamount() {
// this._pd.getAllMasterDatas('MORTAGEPROPERTYTYPE').subscribe(
this._pd.getAllMasterDatas('MORTAGEPROPERTIES').subscribe(
data => {
- console.log('sadfdfads',this.productAbbr);
+ // console.log('sadfdfads',this.productAbbr);
this.m_mortageTypeProperty = data.records.filter(data => data.isactive == 1);
- this.m_mortageTypeProperty = data.records.filter(data => data.group == this.productAbbr);
-
+ this.m_mortageTypeProperty = data.records.filter(data => data.group_name == this.productAbbr);
},
error => {
// this.notifier.notify('warning', 'No Category Records Found.!');
@@ -211,7 +216,8 @@ getM_sourceofamount() {
// ==================
public initloanDetailsForm(): void {
this.loanDetailsForm = this.fb.group({
- loan_amount: [this.applicant_details.loan_amount, Validators.compose([Validators.required])],
+
+ loan_amount: [this.exist_loan_amt, Validators.compose([Validators.required])],
end_use: ['', Validators.compose([Validators.required])],
end_use_other: [''],
is_transfer: ['', Validators.compose([Validators.required])],
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.html
index e0f533de5..71651f88f 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.html
@@ -1,3 +1,225 @@
+
+
+
+
+ {{pageTitle}}
+
+
+ close
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Yes
+ No
+
+
+
+
+
+
+ Income Details
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remarks
+
+
+
+
+ save
+
+
+
+
+
+
+
+
+
@@ -16,7 +238,7 @@
-
+
@@ -55,7 +277,7 @@
-
+
-
+
-
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.scss
index db319b869..b4ffad50d 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.scss
@@ -1,18 +1,103 @@
-.address {
- display: flex;
- padding: 0 2%;
- flex-direction: column;
-}
+// .address {
+// display: flex;
+// padding: 0 2%;
+// flex-direction: column;
+// }
-.address > * {
- width: 100%;
+// .address > * {
+// width: 100%;
+// }
+// .matcard mat-form-field {
+// margin: 0 2%;
+// }
+// .address .button {
+// float: right;
+// width: 10px;
+// background: #62B013;
+// color: white;
+// }
+
+.paragraph_change {
+ color: #e00201 !important;
}
-.matcard mat-form-field {
- margin: 0 2%;
+.mat-card-content {
+ background-color: white;
+ }
+ .mat-card-actions {
+ background-color: white;
+ }
+
+ mat-form-field {
+ margin: 0 2%;
+ }
+ $base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+$product-bg-color-hover: rgba(103, 58, 183, 0.7);
+.p-list-main {
+ background: white;
+ margin: auto;
+ position: relative;
+ overflow: hidden !important;
+ border-radius: 10px 10px 10px 10px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ &:hover {
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+ .p-list {
+ position: relative;
+ .top {
+ height: 100%;
+ width: 100%;
+ // background: url(https://s-media-cache-ak0.pinimg.com/736x/49/80/6f/49806f3f1c7483093855ebca1b8ae2c4.jpg) no-repeat center center;
+ -webkit-background-size: 100%;
+ -moz-background-size: 100%;
+ -o-background-size: 100%;
+ background-size: 100%;
+ }
+ .bottom {
+ width: 200%;
+ height: 15%;
+ transition: transform 0.5s;
+ h1 {
+ margin: 0;
+ padding: 0;
+ }
+ p {
+ margin: 0;
+ padding: 0;
+ }
+ .left {
+ height: 100%;
+ width: 50%;
+ background: #f4f4f4;
+ position: relative;
+ float: left;
+ .details {
+ padding: 5px;
+ float: left;
+ // width: calc(70% - 40px);
+ }
+
+ }
+ .right {
+ width: 50%;
+ background: #A6CDDE;
+ color: white;
+ float: right;
+ height: 200%;
+ overflow: hidden;
+ .details {
+ padding: 20px;
+ float: right;
+ width: calc(70% - 40px);
+ }
+
+
+ }
+ }
+ }
+
}
-.address .button {
- float: right;
- width: 10px;
- background: #62B013;
- color: white;
-}
\ No newline at end of file
+
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.ts
index edce1547b..53760597b 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/other-income/other-income.component.ts
@@ -2,7 +2,7 @@ import {
Component,
OnInit,
Inject,
- Input
+ Input, Output
} from '@angular/core';
import {
@@ -19,6 +19,7 @@ import {
MatDialogRef,
MAT_DIALOG_DATA
} from '@angular/material';
+
/** Service */
import { PdTrigerService } from '../../../../../pd-service/pd-triger.service';
import {ActivatedRoute, Router} from '@angular/router';
@@ -28,20 +29,35 @@ import {ActivatedRoute, Router} from '@angular/router';
templateUrl: './other-income.component.html',
styleUrls: ['./other-income.component.scss']
})
+
export class OtherIncomeComponent implements OnInit {
- @Input() pdid: number;
- @Input() form_id: number;
+ pageTitle: string ="Other Income Details";
+ loadDataStatus: boolean=true;
+
+ // @Input() pdid: number;
+ // @Input() form_id: number;
+ pdid : string;
+ form_id:number;
+
public otherIncomeForm: FormGroup;
private notifier: NotifierService;
frequencyData: any = [];
sourceData : any = [];
- constructor(notifier: NotifierService, private fb: FormBuilder, private route: ActivatedRoute,
+ constructor(notifier: NotifierService,
+ private fb: FormBuilder,
+ private route: ActivatedRoute,
private router: Router,
- private _pd: PdTrigerService) {
- this.notifier = notifier;
+ private _pd: PdTrigerService,
+ @Inject(MAT_DIALOG_DATA) public pd_all_details: any)
+ {
+ this.pdid = this.pd_all_details.pdmaster_details.pd_id;
+ this.form_id = 9;
+ this.notifier = notifier;
}
+
ngOnInit() {
+ console.clear();
this.getFrequency();
this.getSourceOtherIncome();
this.initOtherincomeForm();
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.html
index 62e80b5f4..a71ce6ed1 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.html
@@ -1,145 +1,267 @@
-
- Personal Details
-
-
-
- Main Applicant
-
-
+
-
-
-
-
-
-
-
- Enter Valid Age.
-
-
-
-
-
-
-
-
-
- {{earning.earning_member_status}}
-
-
-
-
-
-
-
- {{education.qualification_name}}
-
-
-
-
-
-
+
+
+ {{pageTitle}}
-
-
-
-
+
+ close
+
+
+
-
-
- Co Applicant
-
-
-
-
-
-
-
-
-
-
-
- Enter Valid Age.
+
-
-
-
-
-
-
-
-
-
-
- {{earning.earning_member_status}}
-
-
-
-
-
-
-
-
- {{education.qualification_name}}
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
- Remarks
-
-
-
-
- save
-
-
-
-
-
\ No newline at end of file
+
+
+
+
+ Remarks
+
+
+
+
+ save
+
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.scss
index 5ebd7c76e..b7f235278 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.scss
@@ -1,3 +1,6 @@
+.paragraph_change {
+ color: #e00201 !important;
+}
.mat-card-content {
background-color: white;
}
@@ -8,4 +11,75 @@
mat-form-field {
margin: 0 2%;
}
+
+ $base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+$product-bg-color-hover: rgba(103, 58, 183, 0.7);
+.p-list-main {
+ background: white;
+ margin: auto;
+ position: relative;
+ overflow: hidden !important;
+ border-radius: 10px 10px 10px 10px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ &:hover {
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+ .p-list {
+ position: relative;
+ .top {
+ height: 100%;
+ width: 100%;
+ // background: url(https://s-media-cache-ak0.pinimg.com/736x/49/80/6f/49806f3f1c7483093855ebca1b8ae2c4.jpg) no-repeat center center;
+ -webkit-background-size: 100%;
+ -moz-background-size: 100%;
+ -o-background-size: 100%;
+ background-size: 100%;
+ }
+ .bottom {
+ width: 200%;
+ height: 15%;
+ transition: transform 0.5s;
+ h1 {
+ margin: 0;
+ padding: 0;
+ }
+ p {
+ margin: 0;
+ padding: 0;
+ }
+ .left {
+ height: 100%;
+ width: 50%;
+ background: #f4f4f4;
+ position: relative;
+ float: left;
+ .details {
+ padding: 5px;
+ float: left;
+ // width: calc(70% - 40px);
+ }
+
+ }
+ .right {
+ width: 50%;
+ background: #A6CDDE;
+ color: white;
+ float: right;
+ height: 200%;
+ overflow: hidden;
+ .details {
+ padding: 20px;
+ float: right;
+ width: calc(70% - 40px);
+ }
+
+
+ }
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.ts
index a6618c718..ca6d166ea 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/personal-info/personal-info.component.ts
@@ -1,5 +1,6 @@
-import { Component, OnInit , Input, Output } from '@angular/core';
+import { Component, OnInit, Input, Output, Inject } from '@angular/core';
import { FormBuilder, FormGroup, Validators, FormControl, FormArray } from '@angular/forms';
+import { MatDialog, MatDialogRef, MAT_DIALOG_DATA , DialogPosition} from '@angular/material';
import { NotifierService } from 'angular-notifier';
import { PdTrigerService } from './../../../../../pd-service/pd-triger.service';
import { Key } from 'protractor';
@@ -9,8 +10,10 @@ import { Key } from 'protractor';
templateUrl: './personal-info.component.html',
styleUrls: ['./personal-info.component.scss']
})
+
export class PersonalInfoComponent implements OnInit {
+ pageTitle: string ="Personal Details";
//qualifications:any=["Graduate","Under Graduate","Post Graduate","Professional"];
//earningStatus:any=["Earning Member","House Wife","Student","Retired","Pensioner","Other Non earning member"];
loadDataStatus: boolean=true;
@@ -18,8 +21,9 @@ export class PersonalInfoComponent implements OnInit {
qualifications:any=[];
relationShipList:any=[];
- @Input() pdid : string;
- @Input() pd_all_details:any;
+ // @Input() pdid : string;
+ // @Input() pd_all_details:any;
+ pdid : string;
form_id:number;
private notifier: NotifierService;
public _personalForm: FormGroup;
@@ -47,7 +51,9 @@ export class PersonalInfoComponent implements OnInit {
public coApplicantDetails :any=[];
errorMessage:any;
- constructor(notifier: NotifierService,private _fb: FormBuilder,private _pd: PdTrigerService) {
+
+ constructor(notifier: NotifierService,private _fb: FormBuilder,private _pd: PdTrigerService , @Inject(MAT_DIALOG_DATA) public pd_all_details: any) {
+ this.pdid = this.pd_all_details.pdmaster_details.pd_id;
this.notifier = notifier;
this.form_id = 3;
}
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-info/rental-info.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-info/rental-info.component.html
index 7b1483da8..9ac753a5a 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-info/rental-info.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-info/rental-info.component.html
@@ -1,190 +1,330 @@
-
-
- Rental Information Form
-
-
-
-
+
-
-
- Applicant
- co-applicant
- Parental
-
-
-
-
- Residential/commercial
- other
-
-
-
-
-
-
-
-
-
- {{i+1}} Rental Home Details
-
-
- add
-
- 0"
- style="float: right;" (click)="deleteProperty(i)">
- delete
-
-
-
-
- Complete address of the property
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Yes
- No
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Yes
- No
-
-
+
+
+ {{pageTitle}}
-
-
- How is rent received? (Is it in bank or cash, how much in which mode)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ close
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- Details of the tenants (eg Name and Mobile No and other details)
-
-
-
-
-
-
- Yes
- No
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
- save
-
-
-
-
-
+
+
+
+
+
+
+ save
+
+
+
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-info/rental-info.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-info/rental-info.component.scss
index 79de302fd..f731f4f4f 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-info/rental-info.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-info/rental-info.component.scss
@@ -1,27 +1,112 @@
-.address {
- display: flex;
- padding: 0 2%;
- flex-direction: column;
-}
+// .address {
+// display: flex;
+// padding: 0 2%;
+// flex-direction: column;
+// }
-.address > * {
- width: 100%;
+// .address > * {
+// width: 100%;
+// }
+// .matcard mat-form-field {
+// margin: 0 2%;
+// width:40%;
+// }
+// .address .button {
+// float: right;
+// width: 10px;
+// background: #62B013;
+// color: white;
+// }
+// mat-form-field {
+// width: 27%;
+// margin: 0 2%;
+// }
+// .fields mat-form-field {
+// width: 45%;
+// margin: 0 2%;
+// }
+
+.paragraph_change {
+ color: #e00201 !important;
}
-.matcard mat-form-field {
- margin: 0 2%;
- width:40%;
+.mat-card-content {
+ background-color: white;
+ }
+ .mat-card-actions {
+ background-color: white;
+ }
+
+ mat-form-field {
+ margin: 0 2%;
+ }
+ $base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+$product-bg-color-hover: rgba(103, 58, 183, 0.7);
+.p-list-main {
+ background: white;
+ margin: auto;
+ position: relative;
+ overflow: hidden !important;
+ border-radius: 10px 10px 10px 10px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ &:hover {
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+ .p-list {
+ position: relative;
+ .top {
+ height: 100%;
+ width: 100%;
+ // background: url(https://s-media-cache-ak0.pinimg.com/736x/49/80/6f/49806f3f1c7483093855ebca1b8ae2c4.jpg) no-repeat center center;
+ -webkit-background-size: 100%;
+ -moz-background-size: 100%;
+ -o-background-size: 100%;
+ background-size: 100%;
+ }
+ .bottom {
+ width: 200%;
+ height: 15%;
+ transition: transform 0.5s;
+ h1 {
+ margin: 0;
+ padding: 0;
+ }
+ p {
+ margin: 0;
+ padding: 0;
+ }
+ .left {
+ height: 100%;
+ width: 50%;
+ background: #f4f4f4;
+ position: relative;
+ float: left;
+ .details {
+ padding: 5px;
+ float: left;
+ // width: calc(70% - 40px);
+ }
+
+ }
+ .right {
+ width: 50%;
+ background: #A6CDDE;
+ color: white;
+ float: right;
+ height: 200%;
+ overflow: hidden;
+ .details {
+ padding: 20px;
+ float: right;
+ width: calc(70% - 40px);
+ }
+
+
+ }
+ }
+ }
+
}
-.address .button {
- float: right;
- width: 10px;
- background: #62B013;
- color: white;
-}
-mat-form-field {
- width: 27%;
- margin: 0 2%;
-}
-.fields mat-form-field {
- width: 45%;
- margin: 0 2%;
-}
\ No newline at end of file
+
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-info/rental-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-info/rental-info.component.ts
index 3b5741e70..4de812beb 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-info/rental-info.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/rental-info/rental-info.component.ts
@@ -1,7 +1,9 @@
-import {Component, OnInit, Input, Output} from '@angular/core';
+import {Component, OnInit, Input, Output, Inject} from '@angular/core';
import {FormBuilder, FormGroup, Validators, FormControl, FormArray} from '@angular/forms';
+import { MatDialog, MatDialogRef, MAT_DIALOG_DATA , DialogPosition} from '@angular/material';
import {NotifierService} from 'angular-notifier';
import {PdTrigerService} from './../../../../../pd-service/pd-triger.service';
+import {AwsService} from '../../../../../../AwsService/aws.service';
import {Key} from 'protractor';
@Component({
@@ -14,8 +16,9 @@ export class RentalInfoComponent implements OnInit {
// @Input() pdid: string;
// @Input() pd_all_details: any;
// form_id: number;
- @Input() pdid: number;
- @Input() form_id: number;
+ pageTitle: string ="Rental Information";
+ pdid: number;
+ form_id: number;
step: number;
public rentalForm: FormGroup;
@@ -23,11 +26,17 @@ export class RentalInfoComponent implements OnInit {
propertyList: FormGroup;
private notifier: NotifierService;
- constructor(notifier: NotifierService, private _fb: FormBuilder, private _pd: PdTrigerService) {
- this.notifier = notifier;
- // this.form_id = 3;
- }
-
+ constructor(
+ notifier: NotifierService,
+ private _fb: FormBuilder,
+ private _pd: PdTrigerService,
+ private _aws:AwsService,
+ @Inject(MAT_DIALOG_DATA) public pd_all_details: any) {
+ this.pdid = this.pd_all_details.pdmaster_details.pd_id;
+ this.notifier = notifier;
+ this.form_id = 17;
+ }
+
ngOnInit() {
this.step = 0;
this.inintRentalForm();
@@ -68,7 +77,7 @@ export class RentalInfoComponent implements OnInit {
rentalinfo.rental_home = result;
rentalinfo.pdid = this.pdid;
rentalinfo.formid = this.form_id;
- rentalinfo.fk_createdby = this.pdid;
+ rentalinfo.fk_createdby = this._aws.getlocale();
this.rentalForm.setValue(rentalinfo);
} else {
control.push(this.createpropertyArray());
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 2dfac9422..6c81c0054 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
@@ -1,109 +1,267 @@
-
-Stock Details
+
+
+ {{pageTitle}}
+
+
+ close
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Raw Materials
+
+
+
+
+
+
+
+
+
+
+
+
+ Finished Goods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Please comment on the stock level observed?
+
+
+
+
+ save
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- Raw Materials
-
-
-
-
-
- Finished Goods
-
-
-
-
-
-
- Please comment on the stock level observed?
-
-
-
-
-
- save
-
-
-
-
-
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.scss
index db319b869..b4ffad50d 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/stock/stock.component.scss
@@ -1,18 +1,103 @@
-.address {
- display: flex;
- padding: 0 2%;
- flex-direction: column;
-}
+// .address {
+// display: flex;
+// padding: 0 2%;
+// flex-direction: column;
+// }
-.address > * {
- width: 100%;
+// .address > * {
+// width: 100%;
+// }
+// .matcard mat-form-field {
+// margin: 0 2%;
+// }
+// .address .button {
+// float: right;
+// width: 10px;
+// background: #62B013;
+// color: white;
+// }
+
+.paragraph_change {
+ color: #e00201 !important;
}
-.matcard mat-form-field {
- margin: 0 2%;
+.mat-card-content {
+ background-color: white;
+ }
+ .mat-card-actions {
+ background-color: white;
+ }
+
+ mat-form-field {
+ margin: 0 2%;
+ }
+ $base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+$product-bg-color-hover: rgba(103, 58, 183, 0.7);
+.p-list-main {
+ background: white;
+ margin: auto;
+ position: relative;
+ overflow: hidden !important;
+ border-radius: 10px 10px 10px 10px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ &:hover {
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+ .p-list {
+ position: relative;
+ .top {
+ height: 100%;
+ width: 100%;
+ // background: url(https://s-media-cache-ak0.pinimg.com/736x/49/80/6f/49806f3f1c7483093855ebca1b8ae2c4.jpg) no-repeat center center;
+ -webkit-background-size: 100%;
+ -moz-background-size: 100%;
+ -o-background-size: 100%;
+ background-size: 100%;
+ }
+ .bottom {
+ width: 200%;
+ height: 15%;
+ transition: transform 0.5s;
+ h1 {
+ margin: 0;
+ padding: 0;
+ }
+ p {
+ margin: 0;
+ padding: 0;
+ }
+ .left {
+ height: 100%;
+ width: 50%;
+ background: #f4f4f4;
+ position: relative;
+ float: left;
+ .details {
+ padding: 5px;
+ float: left;
+ // width: calc(70% - 40px);
+ }
+
+ }
+ .right {
+ width: 50%;
+ background: #A6CDDE;
+ color: white;
+ float: right;
+ height: 200%;
+ overflow: hidden;
+ .details {
+ padding: 20px;
+ float: right;
+ width: calc(70% - 40px);
+ }
+
+
+ }
+ }
+ }
+
}
-.address .button {
- float: right;
- width: 10px;
- background: #62B013;
- color: white;
-}
\ No newline at end of file
+
\ No newline at end of file
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 eaf84db3b..852581817 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
@@ -30,8 +30,11 @@ import { analyzeAndValidateNgModules } from '@angular/compiler';
styleUrls: ['./stock.component.scss']
})
export class StockComponent implements OnInit {
- @Input() pdid: number;
- @Input() form_id: number;
+ // @Input() pdid: number;
+ // @Input() form_id: number;
+ pageTitle: string ="Stock Details";
+ pdid: number;
+ form_id: number;
public stockForm: FormGroup;
private notifier: NotifierService;
public uomData : any = [];
@@ -39,8 +42,10 @@ export class StockComponent implements OnInit {
constructor(notifier: NotifierService, private fb: FormBuilder, private route: ActivatedRoute,
private router: Router,
- private _pd: PdTrigerService) {
- this.notifier = notifier;
+ private _pd: PdTrigerService,@Inject(MAT_DIALOG_DATA) public pd_all_details: any) {
+ this.pdid = this.pd_all_details.pdmaster_details.pd_id;
+ this.form_id = 11;
+ this.notifier = notifier;
}
ngOnInit() {
this.initstockForm();
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.html
index 1dfe625a5..772274f88 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.html
@@ -1,96 +1,252 @@
-
-
- Supplier Details
-
-
-
-
-
- You must Include Raw Material Details.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ pm.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1" (click)="removeLanguage(i)">
- delete
-
-
-
+
+
+
+ {{pageTitle}}
+
+ close
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ You must Include Raw Material Details.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ pm.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1" (click)="removeLanguage(i)">
+ delete
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
- add
-
- save
-
-
-
\ No newline at end of file
+
+
+ add
+ save
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.scss b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.scss
index 890847551..4e655f1ef 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.scss
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.scss
@@ -1,3 +1,87 @@
-.example-full-width{
- width : 100%;
-}
\ No newline at end of file
+// .example-full-width{
+// width : 100%;
+// }
+
+.paragraph_change {
+ color: #e00201 !important;
+ }
+ .mat-card-content {
+ background-color: white;
+ }
+ .mat-card-actions {
+ background-color: white;
+ }
+
+ mat-form-field {
+ margin: 0 2%;
+ }
+ $base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
+ $product-bg-color-hover: rgba(103, 58, 183, 0.7);
+ .p-list-main {
+ background: white;
+ margin: auto;
+ position: relative;
+ overflow: hidden !important;
+ border-radius: 10px 10px 10px 10px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
+ &:hover {
+ transform: scale(1);
+ box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
+ }
+ .p-list {
+ position: relative;
+ .top {
+ height: 100%;
+ width: 100%;
+ // background: url(https://s-media-cache-ak0.pinimg.com/736x/49/80/6f/49806f3f1c7483093855ebca1b8ae2c4.jpg) no-repeat center center;
+ -webkit-background-size: 100%;
+ -moz-background-size: 100%;
+ -o-background-size: 100%;
+ background-size: 100%;
+ }
+ .bottom {
+ width: 200%;
+ height: 15%;
+ transition: transform 0.5s;
+ h1 {
+ margin: 0;
+ padding: 0;
+ }
+ p {
+ margin: 0;
+ padding: 0;
+ }
+ .left {
+ height: 100%;
+ width: 50%;
+ background: #f4f4f4;
+ position: relative;
+ float: left;
+ .details {
+ padding: 5px;
+ float: left;
+ // width: calc(70% - 40px);
+ }
+
+ }
+ .right {
+ width: 50%;
+ background: #A6CDDE;
+ color: white;
+ float: right;
+ height: 200%;
+ overflow: hidden;
+ .details {
+ padding: 20px;
+ float: right;
+ width: calc(70% - 40px);
+ }
+
+
+ }
+ }
+ }
+
+ }
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/supplier-info/supplier-info.component.ts
index 4f3f7963f..6fe83ad3f 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
@@ -3,7 +3,7 @@ import {
Component,
OnInit,
Inject,
- Input
+ Output,Input
} from '@angular/core';
import {
@@ -20,79 +20,39 @@ import {
MatDialogRef,
MAT_DIALOG_DATA
} from '@angular/material';
+
/** Service */
import { PdTrigerService } from '../../../../../pd-service/pd-triger.service';
+
@Component({
selector: 'app-supplier-info',
templateUrl: './supplier-info.component.html',
styleUrls: ['./supplier-info.component.scss']
})
+
export class SupplierInfoComponent implements OnInit {
- @Input() pdid: number;
+ pageTitle: string ="Supplier Details";
+
+ //@Input() pdid: number;
+ pdid : string;
+ form_id:number;
public _supplierQuesFrom: FormGroup;
public submitted = false;
-public m_paymentModeType= [];
-
- // public m_paymentModeType= [
- // {
- // 'id': "1",
- // 'name': 'Immediate Or Advanced Payment'
- // },
- // {
- // 'id': "2",
- // 'name': 'Credit'
- // },
- // {
- // 'id': "3",
- // 'name': 'Combination of Both'
- // },
- // ];
-//public m_freqOfPurchase= [];
- // public m_freqOfPurchase= [
- // {
- // 'id': "1",
- // 'name': 'Daily'
- // },
- // {
- // 'id': "2",
- // 'name': 'Weekly'
- // },
- // {
- // 'id': "3",
- // 'name': 'Monthly'
- // },
- // {
- // 'id': "4",
- // 'name': 'Every 3 months'
- // },
- // {
- // 'id': "5",
- // 'name': 'Half yearly'
- // },
- // {
- // 'id': "6",
- // 'name': 'Yearly'
- // },
- // {
- // 'id': "7",
- // 'name': 'As and when required'
- // },
- // {
- // 'id': "8",
- // 'name': 'Others'
- // }
- // ]
-
+ public m_paymentModeType= [];
private notifier: NotifierService;
+
constructor(
- notifier: NotifierService,
- private _formBuilder: FormBuilder,
- private pdTrigerService: PdTrigerService) {
- this.notifier = notifier;
- }
+ notifier: NotifierService,
+ private _formBuilder: FormBuilder,
+ private pdTrigerService: PdTrigerService,
+ @Inject(MAT_DIALOG_DATA) public pd_all_details: any) {
+ this.pdid = this.pd_all_details.pdmaster_details.pd_id;
+ this.form_id = 1;
+ this.notifier = notifier;
+ }
ngOnInit() {
// this.getM_FreqOfPurchase();
@@ -305,4 +265,4 @@ apiLoadFinish: boolean = false;
// ]
// }
-}
+}
\ No newline at end of file
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.html
index dcd59d6a9..1be646df3 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/start-pd.component.html
@@ -1,495 +1,30 @@
-
-
-
-
-
-
-
{{mainApplicantName}}
- {{pdMasterList.customer_segment_name}}
-
-
-
{{pdMasterList.product_name}}/{{pdMasterList.subproduct_name}}
- {{pdMasterList.lender_full_name}}/{{pdMasterList.lender_applicant_id}}
-
-
-
- close
-
-
-
-
-
-
-
+
+
+
+
+
{{mainApplicantName}}
+ {{pdMasterList.customer_segment_name}}
+
+
+
{{pdMasterList.product_name}}/{{pdMasterList.subproduct_name}}
+ close
+
+ {{pdMasterList.lender_full_name}}/{{pdMasterList.lender_applicant_id}}
+
+
+
-
- short_text
-
-
-
-
-
-
-
-
-
-
-
- No Records Found..
-
-
-
-
-
-
-
-
-
-
- 0 ; else noanswers;" style="min-height: 450px;">
-
-
- {{optionsForm.controls.pd_question.value}}
-
-
-
-
-
-
-
-
- {{option.pd_answer}}
-
-
-
-
-
-
-
-
-
0">
-
-
-
-
-
-
-
-
-
-
-
-
- {{docs.pd_document_title}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Remarks
-
-
-
-
-
-
-
- skip_previous
- chevron_left
- chevron_right
- skip_next
-
-
-
-
-
-
-
-
-
-
-
- {{selectedCategory.question}}
-
-
-
-
-
-
-
- chevron_left
- chevron_right
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0 ; else noanswers;">
-
- {{textBoxForm.controls.pd_question.value}}
-
-
-
-
-
-
-
- Answers
-
-
-
-
-
-
-
-
0">
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{docs.pd_document_title}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Remarks
-
-
-
-
-
-
-
- skip_previous
- chevron_left
- chevron_right
- skip_next
-
-
-
-
-
-
-
-
-
-
- {{selectedCategory.question}}
-
-
-
-
-
-
-
- chevron_left
- chevron_right
-
-
-
-
-
-
-
-
-
-
-
-
- 0 ; else noanswers;">
-
- {{checkBoxForm.controls.pd_question.value}}
-
-
-
-
-
-
- {{ control.controls.pd_answer.value }}
-
-
-
-
-
-
0">
-
-
-
-
-
-
-
-
-
-
-
-
- {{docs.pd_document_title}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0">
-
-
-
- Remarks
-
-
-
-
-
-
-
- skip_previous
- chevron_left
- chevron_right
- skip_next
-
-
-
-
-
-
-
-
-
-
- {{selectedCategory.question}}
-
-
-
-
-
-
-
- chevron_left
- chevron_right
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ {{ (formButton.form_name.length>17)? (formButton.form_name | slice:0:17)+'..':(formButton.form_name) }}
+
+
+
+
+
-
-
-
-
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 0d116af22..1c43c6bb5 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,137 +1,58 @@
-@import "./../../../../../assets/styles/scss/components/messages";
-:host {
- margin-left: -5px;
- margin-right: -5px;
- margin-top: -5px;
- display: block;
-}
-:host /deep/ {
- mat-sidenav {
- width: 250px;
- }
- .mat-sidenav-content {
- padding: 0;
-
- }
- @media (min-width: 959px) {
- .mat-sidenav-side {
- background-color: transparent;
- box-shadow: none!important;
- }
-
+// .child_mat_card mat-card {
+// margin: 2 0%;
+// }
+mat-card.parent_mat_card > {
+ mat-card-header {
+ display: flex;
+ flex-direction: column;
+ }
+ mat-card-content {
+ min-height:auto;
+ max-height:52vh;
+ overflow:auto;
}
+ // @media only screen and (max-width:319px) {
+ // mat-card-content {
+ // max-height: 350px;
+ // overflow: auto;
+ // }
+ // }
+ // @media only screen and (min-width:320px) and (max-width:767px) {
+ // mat-card-content {
+ // max-height: 350px;
+ // overflow: auto;
+ // }
+ // }
+ // @media only screen and (min-width:768px) and (max-width:1023px) {
+ // mat-card-content {
+ // max-height: 350px;
+ // overflow: auto;
+ // }
+ // }
+ // @media only screen and (min-width:1024px) and (max-width:1899px) {
+ // mat-card-content {
+ // max-height: 400px;
+ // overflow: auto;
+ // }
+ // }
+ // @media only screen and (min-width:1900px) {
+ // mat-card-content {
+ // max-height: 500px;
+ // overflow: auto;
+ // }
+ // }
}
-
-.mat-expansion-panel-header-description {
- color: rgba(0, 0, 0, 87);
-}
-.mat-card-content {
- background-color: white;
-}
-.mat-card-actions {
- background-color: white;
-}
-
-.text-ellipsis {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-.custm-list-item {
- cursor: pointer;
-}
-
-
$base-card-box-shadow:1.5px 2.6px 24px 0 rgba(0, 35, 136, 0.08) !important;
-$product-bg-color-hover: rgba(103, 58, 183, 0.7);
-.p-list-main {
- background: white;
- margin: auto;
- position: relative;
- overflow: hidden !important;
- border-radius: 10px 10px 10px 10px;
- box-shadow: $base-card-box-shadow;
- transform: scale(0.95);
- transition: box-shadow 0.5s, transform 0.5s;
+mat-card .child_mat_card > mat-card {
+ border-radius: 0px 0px 0px 15px;
+ box-shadow: $base-card-box-shadow;
+ transform: scale(0.95);
+ transition: box-shadow 0.5s, transform 0.5s;
&:hover {
+ cursor: pointer;
+ background-color: #e00201 !important;
transform: scale(1);
box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
}
- .p-list {
- position: relative;
- .top {
- height: 100%;
- width: 100%;
- // background: url(https://s-media-cache-ak0.pinimg.com/736x/49/80/6f/49806f3f1c7483093855ebca1b8ae2c4.jpg) no-repeat center center;
- -webkit-background-size: 100%;
- -moz-background-size: 100%;
- -o-background-size: 100%;
- background-size: 100%;
- }
- .bottom {
- width: 200%;
- height: 15%;
- transition: transform 0.5s;
- h1 {
- margin: 0;
- padding: 0;
- }
- p {
- margin: 0;
- padding: 0;
- }
- .left {
- height: 100%;
- width: 50%;
- background: #f4f4f4;
- position: relative;
- float: left;
- .details {
- padding: 5px;
- float: left;
- // width: calc(70% - 40px);
- }
-
- }
- .right {
- width: 50%;
- background: #A6CDDE;
- color: white;
- float: right;
- height: 200%;
- overflow: hidden;
- .details {
- padding: 20px;
- float: right;
- width: calc(70% - 40px);
- }
-
-
- }
- }
+
}
-
-}
-mat-icon{
- color: #ff3636;
-}
-.address {
- display: flex;
- padding: 0 2%;
- flex-direction: column;
-}
-
-.address > * {
- width: 100%;
-}
-.matcard mat-form-field {
- margin: 0 2%;
-}
-.address .button {
- float: right;
- width: 10px;
- background: #62B013;
- color: white;
-}
-
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 4e186d96a..65b8f1588 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
@@ -1,10 +1,29 @@
import {Component, ViewChild, OnInit, ViewEncapsulation, OnDestroy} from '@angular/core';
import {FormBuilder, FormGroup, Validators, FormControl, FormArray, AbstractControl} from '@angular/forms';
import {ActivatedRoute, Router} from '@angular/router';
+import {MatDialog } from '@angular/material';
import {NotifierService} from 'angular-notifier';
import {ListPdComponent} from './../list-pd.component';
import {PdTrigerService} from '../../../pd-service/pd-triger.service';
+import {PersonalInfoComponent} from './forms/personal-info/personal-info.component';
+import {AddressComponent } from './forms/address/address.component';
+import {OtherIncomeComponent} from './forms/other-income/other-income.component';
+import {SupplierInfoComponent} from './forms/supplier-info/supplier-info.component';
+import {ClientInfoComponent} from './forms/client-info/client-info.component';
+import {FamilyDetailsComponent} from './forms/family-details/family-details.component';
+import {EmploymentInfoComponent} from './forms/employment-info/employment-info.component';
+import {StockComponent} from './forms/stock/stock.component';
+import {CurrentLoanComponent} from './forms/current-loan/current-loan.component';
+import {FinancialInfoComponent} from './forms/financial-info/financial-info.component';
+import {AssetsInfoComponent} from './forms/assets-info/assets-info.component';
+import {RentalInfoComponent} from './forms/rental-info/rental-info.component';
+import {AssessedIncomeComponent} from './forms/assessed-income/assessed-income.component';
+import {BankingDetailsComponent} from './forms/banking-details/banking-details.component';
+import {BusinessInfoComponent} from './forms/business-info/business-info.component';
+import {LenderRepresentativeComponent} from './forms/lender-representative/lender-representative.component';
+import {LoanDetailsComponent} from './forms/loan-details/loan-details.component';
+
@Component({
selector: 'app-start-pd',
templateUrl: './start-pd.component.html',
@@ -177,7 +196,7 @@ pdFullDetails:any=[];
private notifier: NotifierService;
- constructor(notifier: NotifierService, private fb: FormBuilder, private route: ActivatedRoute,
+ constructor(notifier: NotifierService, private dialog: MatDialog, private fb: FormBuilder, private route: ActivatedRoute,
private router: Router,
private listPDComponent: ListPdComponent, private _pd: PdTrigerService,) {
this.startPD = this.route.snapshot.params['pdid'];
@@ -295,9 +314,7 @@ pdFullDetails:any=[];
this.pdMasterList=data.records.pdmaster_details;
this.categoryList=data.records.question_answers;
this.categoryFormButtons = data.records.template_forms;
- console.log('formButtons', this.categoryFormButtons);
let filterApplicantName= data.records.pdapplicants_detials.filter(item => item.applicant_type == 1);
- console.log(filterApplicantName);
this.mainApplicantName = filterApplicantName[0].applicant_name;
this.currentPDStatus = data.records.pdmaster_details.pd_status;
@@ -626,10 +643,235 @@ pdFullDetails:any=[];
// start
// direct form based questions
OnSelectDirectForms(details: any) {
- this.formsCategoryEnable = true;
- this.selectedFormsCategory = details;
- console.log('select..', this.selectedFormsCategory);
-
+ // this.formsCategoryEnable = true;
+ this.selectedFormsCategory = details;
+
+ if(this.selectedFormsCategory.form_id==1){
+ const dialogRef = this.dialog.open(SupplierInfoComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }else
+ if(this.selectedFormsCategory.form_id==2){
+ const dialogRef = this.dialog.open(ClientInfoComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }else
+ if(this.selectedFormsCategory.form_id==3){
+ const dialogRef = this.dialog.open(PersonalInfoComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }else
+ if(this.selectedFormsCategory.form_id==4){
+ const dialogRef = this.dialog.open(AssetsInfoComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }else
+ if(this.selectedFormsCategory.form_id==5){
+ const dialogRef = this.dialog.open(AddressComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }else
+ if(this.selectedFormsCategory.form_id==6){
+ const dialogRef = this.dialog.open(FamilyDetailsComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }else
+ if(this.selectedFormsCategory.form_id==7){
+ const dialogRef = this.dialog.open(BankingDetailsComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }
+ else
+ if(this.selectedFormsCategory.form_id==8){
+ const dialogRef = this.dialog.open(CurrentLoanComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }
+ else
+ if(this.selectedFormsCategory.form_id==9){
+ const dialogRef = this.dialog.open(OtherIncomeComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }else
+ if(this.selectedFormsCategory.form_id==10){
+ const dialogRef = this.dialog.open(LoanDetailsComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }else
+ if(this.selectedFormsCategory.form_id==11){
+ const dialogRef = this.dialog.open(StockComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }else
+ if(this.selectedFormsCategory.form_id==12){
+ const dialogRef = this.dialog.open(EmploymentInfoComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }else
+ if(this.selectedFormsCategory.form_id==13){
+ const dialogRef = this.dialog.open(BusinessInfoComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }else
+ if(this.selectedFormsCategory.form_id==14){
+ const dialogRef = this.dialog.open(FinancialInfoComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }else
+ if(this.selectedFormsCategory.form_id==15){
+ const dialogRef = this.dialog.open(LenderRepresentativeComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }
+ else
+ if(this.selectedFormsCategory.form_id==16){
+ const dialogRef = this.dialog.open(AssessedIncomeComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }else
+ if(this.selectedFormsCategory.form_id==17){
+ const dialogRef = this.dialog.open(RentalInfoComponent, {
+ data: this.pdFullDetails,
+ position: { right: '0'},
+ width:'80%',
+ disableClose: true
+ });
+ dialogRef.afterClosed()
+ .subscribe(dataresult => {
+ // this.notifier.notify('success', 'Successfully allocated.!');
+ this.loadTemplates(this.startPD);
+ });
+ }
+
+
}
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts b/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts
index 432694b66..7d45fdff0 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/manage-pd.module.ts
@@ -175,7 +175,8 @@ const pdCustomNotifierOptions: NotifierOptions = {
// declarations: [ListPdComponent, ManagePdComponent, MapPdViewComponent, AddPdComponent, ViewPdComponent, PdAllocationComponent, SmartPdAllocationComponent, SchedulePdComponent, EditPdApplicantComponent, EditPdMasterComponent, StartPdComponent, InprogressPdComponent, AllPdComponent, ScheduledPdComponent, CompletedPdComponent, QcCompletedPdComponent, ClientInfoComponent, SupplierInfoComponent, PersonalInfoComponent, AssetsInfoComponent],
exports: [PdAllocationComponent, SmartPdAllocationComponent, TelePdAllocationComponent, SchedulePdComponent, EditPdApplicantComponent, EditPdMasterComponent, StartPdComponent, CompletedPdComponent, QcCompletedPdComponent, ClientInfoComponent, SupplierInfoComponent, PersonalInfoComponent, CurrentLoanComponent, LoanDetailsComponent, OtherIncomeComponent, AssetsInfoComponent, AddressComponent, FamilyDetailsComponent, BankingDetailsComponent, StockComponent, EmploymentInfoComponent, BusinessInfoComponent, FinancialInfoComponent, LenderRepresentativeComponent,RentalInfoComponent, AssessedIncomeComponent, AllocationViewMoreComponent],
providers: [PdTrigerService, GetGeometricLocationService],
- entryComponents: [PdAllocationComponent, SmartPdAllocationComponent, SchedulePdComponent, EditPdApplicantComponent, EditPdMasterComponent, TelePdAllocationComponent, AllocationViewMoreComponent]
+ entryComponents: [PdAllocationComponent, SmartPdAllocationComponent, SchedulePdComponent, EditPdApplicantComponent, EditPdMasterComponent, TelePdAllocationComponent, AllocationViewMoreComponent, PersonalInfoComponent,
+ ClientInfoComponent, SupplierInfoComponent, CurrentLoanComponent, LoanDetailsComponent, OtherIncomeComponent, AssetsInfoComponent, AddressComponent, FamilyDetailsComponent, BankingDetailsComponent, StockComponent, EmploymentInfoComponent, BusinessInfoComponent, FinancialInfoComponent, LenderRepresentativeComponent,RentalInfoComponent, AssessedIncomeComponent],
})
export class ManagePdModule {
}