This commit is contained in:
meghamalore
2024-06-28 12:52:18 +05:30
4 changed files with 16 additions and 16 deletions

View File

@@ -143,7 +143,7 @@ class LoginController extends Controller
return response()->json([
'status' => 200,
'user_id' => $user->id,
'message' => 'logged in successfully',
'message' => 'Logged in successfully',
'token' => $user->createToken("API TOKEN")->plainTextToken
], 200);
}

View File

@@ -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) ;
}

View File

@@ -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)

View File

@@ -5,7 +5,7 @@
@foreach($learnMore->data as $learn_more)
<div class="accordion-item">
<h2 class="accordion-header" id="heading{{ $loop->iteration }}">
<button class="accordion-button" type="button" data-bs-toggle="collapse"
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#collapse{{ $loop->iteration }}" aria-expanded="true"
aria-controls="collapse{{ $loop->iteration }}">
{{ $learn_more->faq_question }}