added key and value in product details api
This commit is contained in:
@@ -33,7 +33,7 @@ class InfrastructureFundResource extends JsonResource
|
||||
'fund_name' => $this->fund_name ?? '',
|
||||
'slug' => $this->slug ?? '',
|
||||
'isin_code' => $this->isin_code ?? '',
|
||||
// 'registration_number' => $this->registration_number,
|
||||
'registration_number' => $this->registration_number,
|
||||
'fund_category' => $this->fund_category ?? '',
|
||||
'fund_structure' => $this->fund_structure ?? '',
|
||||
'fund_strategy' => $this->fund_strategy ?? '',
|
||||
@@ -65,7 +65,13 @@ class InfrastructureFundResource extends JsonResource
|
||||
'focused_sectors_industries' => $this->focused_sectors_industries ?? '',
|
||||
'regions_covered' => $this->regions_covered ?? '',
|
||||
'company' => $this->companies,
|
||||
'minimum_investment' => $this->minimum_investment
|
||||
'minimum_investment' => $this->minimum_investment,
|
||||
'description' => Product::find($this->products_id) == null ? null : Product::where('id',$this->products_id)->value('description'),
|
||||
'focused_funds' => $this->focused_funds,
|
||||
'return_on_investment_irr_dpi_rvpi_tvpi' => $this->return_on_investment_irr_dpi_rvpi_tvpi,
|
||||
'valuation_per_security_nav' => $this->valuation_per_security_nav,
|
||||
'trading_strategy_used' => $this->trading_strategy_used,
|
||||
'involved_in_short_selling' => $this->involved_in_short_selling,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user