@extends('layout.appHome') @section('styles') @endsection @section('content')

Investment Dashboard

@php $str = "Investment"; if(@count($trans) > 1 ) { $str = "Investments"; } @endphp
{{ @count($trans)}} No. of {{$str}}
Investment Summary Order Book Wallet Summary
{{$user_sh_name}}
Investor Name {{ucwords($user->name)}}
@if(isset($property_cap_table->total_number_of_projects)) {{$property_cap_table->total_number_of_projects}} @else 0 @endif
Number of Projects
$
@if(empty($property_cap_table->investorLandingTotal)) 0.00 @else {{number_format($property_cap_table->investorLandingTotal['investment_value'], 2)}} @endif Amount Invested ($)
$
{{-- @if(empty($property_cap_table->investorLandingTotal)) 0.00 @else @if ($property_cap_table->investorLandingTotal['current_value'] == "TBA") TBA @else {{number_format($property_cap_table->investorLandingTotal['current_value'], 2)}} @endif @endif --}} @if(empty($property_cap_table->investorLandingTotal)) 0.00 @else {{number_format($property_cap_table->investorLandingTotal['donation_value'], 2)}} @endif Amount Donated ($)
@if(isset($property_cap_table->investorLandingInvestSectorValueForPieChart))
Investment Sector Summary
@if(!empty($property_cap_table->investorLandingInvestSectorData))
@foreach($property_cap_table->investorLandingInvestSectorData as $k => $v) @endforeach
{{$k}}: {{number_format($v)}}%
@endif
@endif @if(isset($property_cap_table->investorLandingGeographSectorValueForPieChart))
Geographical Sector Summary
@if(!empty($property_cap_table->investorLandingGeographSectorData))
@foreach($property_cap_table->investorLandingGeographSectorData as $k => $v) @endforeach
{{$k}}: {{number_format($v)}}%
@endif
@endif
Holding Summary
@if(count($property_cap_table->investorLandingDetails) > 0) @foreach ($property_cap_table->investorLandingDetails as $k => $v) @endforeach @if($property_cap_table->investorLandingTotal['tokens_held'] > 0) {{----}} @endif
Project Ownership Investment Sector Investment Geo Sector Tokens Held Investment Value ($) Donation Value ($) Capital Growth ($) Coupon Profit Share Make Me Anonymous
{{$v['property_name']}} {{$v['investment_sector']}} {{$v['geographical_sector']}} {{$v['tokens_held']}} ${{number_format($v['investment_value'], 2)}} ${{number_format($v['donation_value'], 2)}} @if($v['capital_growth'] == "TBA") TBA @else ${{number_format($v['capital_growth'], 2)}} @endif @if($v['coupon'] != '') {{number_format($v['coupon'], 1)}}% @endif @if ($v['profit_share'] > 0) {{number_format($v['profit_share'], 1)}}% @else @endif
@if($v['is_anonymous'] == 1)
No Yes
@else
No Yes
@endif
Total ${{number_format($property_cap_table->investorLandingTotal['investment_value'], 2)}} ${{number_format($property_cap_table->investorLandingTotal['donation_value'], 2)}} @if ($property_cap_table->investorLandingTotal['current_value'] == "TBA") @else ${{number_format($property_cap_table->investorLandingTotal['current_value'], 2)}} @endif @if ($property_cap_table->investorLandingTotal['capital_growth'] == "TBA") @else ${{number_format($property_cap_table->investorLandingTotal['capital_growth'], 2)}} @endif
@else Transaction history is not available. @endif
@foreach($trans as $token) @endforeach
Project Purchase Date Token Price No. of Token Type Amount Paid From Address Status
{{ @$token->usercontract->property->propertyName }} {{ @date('d M, Y H:i', strtotime($token->created_at))}} ${{ @$token->usercontract->tokenvalue }} {{ @$token->number_of_token }} {{ @$token->usercontract->tokensymbol }} {{ $token->payment_type }} {!! $token->payment_amount !!} {{ @$token->from_address }} @if(strtolower($token->payment_type) == 'matic') PAID @elseif((strtolower($token->payment_type) == 'eth') || (strtolower($token->payment_type) == 'maticerc-20') || (strtolower($token->payment_type) == 'usdc') ) PAID @elseif(strtolower($token->payment_type) == 'bitcoin') @if($token->txn_hash == '') Pending @else PAID @endif @endif
@foreach($tokenTransferTran as $tokenTran) @endforeach
Token Txn Date Amount Trn. Id Order Id Wallet Address
{{ @$tokenTran->tokenname }} ({{ @$tokenTran->tokensymbol }}) {{ @date('d M, Y H:i', strtotime($tokenTran->created_at))}} {{ @$tokenTran->amount }} @if(strtolower($tokenTran->wallet_type) == 'matic') View Transaction @elseif(strtolower($tokenTran->wallet_type) == 'eth') View Transaction @endif {{ @$tokenTran->cybavo_order_id }} {{ @$tokenTran->wallet_address }} ({{ @$tokenTran->wallet_type }})
Update Successful!
@endsection @section('scripts') @php if(isset($property_cap_table->investorLandingInvestSectorValueForPieChart)){ @endphp @php } if(isset($property_cap_table->investorLandingGeographSectorValueForPieChart)){ @endphp @php } @endphp @endsection