+
+
+
+
{{data.description}}
-
-
+
+
+
{{data.rating}}
+
+
+
+
+
+ {{ownerShip.name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Yes
+ No
+
+
+
+
+
-
-
-
- {{ownerShip.name}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Yes
- No
-
-
+
+
+
-
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assets-info/assets-info.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assets-info/assets-info.component.ts
index 4304d3314..827c39105 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assets-info/assets-info.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/assets-info/assets-info.component.ts
@@ -31,6 +31,7 @@ export class AssetsInfoComponent implements OnInit {
pageTitle: string ="Assets Details";
//@Input() pdid: number;
pdid:string;
+ businessProfessionName :string;
public _assetsQuesFrom: FormGroup;
public submitted = false;
@@ -198,7 +199,8 @@ public m_investmentType = [];
ngOnInit() {
this.getPdSupplierFormDetails();
-
+ this.getOwnerName();
+
this.getM_Assets_Type();
this.getM_PropertyType();
this.getM_InvestmentType();
@@ -208,6 +210,11 @@ public m_investmentType = [];
}
// ======================
+getOwnerName(){
+ this.pdTrigerService.getTypeofActivityForSuppliedInfoForm(this.pdid).subscribe(data => {
+ this.businessProfessionName = (data.status == 200) ? data.records.profession_name : '' ;
+ });
+}
getM_Assets_Type() {
this.pdTrigerService.getAllMasterDatas('ASSETTYPE').subscribe(
@@ -361,7 +368,7 @@ public m_investmentType = [];
business_assets_mode: ['', Validators.compose([Validators.required])],
business_details: this._formBuilder.array([]),
business_approximate_market_value: ['', Validators.compose([])],
- business_name_of_the_owner: ['', Validators.compose([])],
+ business_name_of_the_owner: [this.businessProfessionName, Validators.compose([])],
// other_owner:[''],
// relation:[''],
// purchase_year: ['', Validators.compose([])],
@@ -556,7 +563,7 @@ public m_investmentType = [];
loadInvestDescriptionWithData(data) {
return this._formBuilder.group({
investments_type: [data.investments_type, Validators.compose([Validators.required])],
- other_investment_type : [data.other_investment_type],
+ other_investments_type : [data.other_investments_type],
amount_of_invest: [data.amount_of_invest, Validators.compose([Validators.required])],
bank_name: [data.bank_name, Validators.compose([Validators.required])]
});
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.html
index afaceb53b..f25950d8d 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/business-info/business-info.component.html
@@ -33,8 +33,7 @@
-
-
+
@@ -44,6 +43,12 @@
+
+
+ {{list.name}}
+
+
-
-
- {{list.name}}
-
-
+
-