fixing bugs
This commit is contained in:
@@ -31,57 +31,57 @@ class MonthlyUpdateAlternativeInvestmentFund extends Model
|
||||
|
||||
public function getCommitmentAmountAttribute($value)
|
||||
{
|
||||
return $this->IND_money_format($value) ;
|
||||
return $this->IND_money_format((int)$value) ;
|
||||
}
|
||||
|
||||
public function getContributionAmountAttribute($value)
|
||||
{
|
||||
return $this->IND_money_format($value) ;
|
||||
return $this->IND_money_format((int)$value) ;
|
||||
}
|
||||
|
||||
public function getContributionCalledAmountAttribute($value)
|
||||
{
|
||||
return $this->IND_money_format($value) ;
|
||||
return $this->IND_money_format((int)$value) ;
|
||||
}
|
||||
|
||||
public function getContributionUncalledAmountAttribute($value)
|
||||
{
|
||||
return $this->IND_money_format($value) ;
|
||||
return $this->IND_money_format((int)$value) ;
|
||||
}
|
||||
|
||||
public function getGrossIncomeAttribute($value)
|
||||
{
|
||||
return $this->IND_money_format($value) ;
|
||||
return $this->IND_money_format((int)$value) ;
|
||||
}
|
||||
|
||||
public function getTotalFeesPaidAttribute($value)
|
||||
{
|
||||
return $this->IND_money_format($value) ;
|
||||
return $this->IND_money_format((int)$value) ;
|
||||
}
|
||||
|
||||
public function getFaceValueNavPerUnitAttribute($value)
|
||||
{
|
||||
return $this->IND_money_format($value) ;
|
||||
return $this->IND_money_format((int)$value) ;
|
||||
}
|
||||
|
||||
public function getPrincipalCapitalRepaidAttribute($value)
|
||||
{
|
||||
return $this->IND_money_format($value) ;
|
||||
return $this->IND_money_format((int)$value) ;
|
||||
}
|
||||
|
||||
public function getNetIncomeAttribute($value)
|
||||
{
|
||||
return $this->IND_money_format($value) ;
|
||||
return $this->IND_money_format((int)$value) ;
|
||||
}
|
||||
|
||||
public function getCurrentValuationAttribute($value)
|
||||
{
|
||||
return $this->IND_money_format($value) ;
|
||||
return $this->IND_money_format((int)$value) ;
|
||||
}
|
||||
|
||||
public function getCurrentNavAttribute($value)
|
||||
{
|
||||
return $this->IND_money_format($value) ;
|
||||
return $this->IND_money_format((int)$value) ;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -29,17 +29,17 @@ class MonthlyUpdateFractionalRealEstate extends Model
|
||||
|
||||
public function getTotalValueOfThePropertyAttribute($value)
|
||||
{
|
||||
return $this->IND_money_format($value) ;
|
||||
return $this->IND_money_format((int)$value) ;
|
||||
}
|
||||
|
||||
public function getInvestmentValueAttribute($value)
|
||||
{
|
||||
return $this->IND_money_format($value) ;
|
||||
return $this->IND_money_format((int)$value) ;
|
||||
}
|
||||
|
||||
public function getAbsoluteReturnTillDateAttribute($value)
|
||||
{
|
||||
return $this->IND_money_format($value) ;
|
||||
return $this->IND_money_format((int)$value) ;
|
||||
}
|
||||
|
||||
function IND_money_format($number)
|
||||
|
||||
Reference in New Issue
Block a user