added key and value in product details api
This commit is contained in:
@@ -33,7 +33,7 @@ class FundForDistressedAssetResource 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,
|
||||
@@ -64,6 +64,13 @@ class FundForDistressedAssetResource extends JsonResource
|
||||
'other_expenses' => $this->other_expenses,
|
||||
'focused_sectors_industries' => $this->focused_sectors_industries,
|
||||
'minimum_investment' => $this->minimum_investment,
|
||||
'company' => $this->companies
|
||||
'company' => $this->companies,
|
||||
'description' => Product::find($this->products_id) == null ? null : Product::where('id',$this->products_id)->value('description'),
|
||||
// 'isin_code' => $this->isin_code,
|
||||
'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