@extends('components.customer-layout') @section('header')

{{ ucwords(str_replace('-', ' ', $pack)) }}

@endsection @section('content')
img
{{ $data->name }}

Industries : {{ $data->industry }}

{{-- --}}

ABOUT THIS PACK

{{ $data->description }}

Minimum Amount :

${{ number_format(floatval($data->min), 2) }}

Maximum Amount :

${{ number_format(floatval($data->max), 2) }}

Total Investment :

@php $total = 0; @endphp @if (!empty($investment)) @foreach ($investment as $invest) @php $total += $invest->amount; @endphp @endforeach @endif ${{ number_format($total, 2, '.', ',') }}

@if (!empty($investment))
@forelse ($investment as $datas) @empty @endforelse
SERIAL NO INVESTED AMT ACCURED DATE INVESTED STATUS
{{ $datas->random }}
${{ number_format(floatval($datas->amount), 2) }}
${{ number_format(floatval($datas->accuredAmount), 2) }} {{ date('d M,Y', strtotime($datas->createdAt)) }} {{ $datas->status }}
@endif

Trading Frequency {{-- Pending --}}

Subscribe To This Portfolio

Balance : ${{ number_format(floatval($account->balance), 2) }}

The amount you enter will be deducted from your account balance and invested in the portfolio selected. The Minimum investment amount is ${{ number_format(floatval($data->min), 2) }}

@if ($data->soldOutStatus == 'YES' && $isFoundation === 'FALSE')
@elseif ($data->soldOutStatus == 'YES' && $isFoundation === 'TRUE' && $availableSlot === 0)
@elseif(!empty($isAllocationMaxedOut) && $isAllocationMaxedOut && $isFoundation === 'FALSE')
@elseif(!empty($isAllocationMaxedOut) && $isAllocationMaxedOut && $availableSlot == 0)
@else
@csrf
@if (session('message'))

{{ session('message') }}

@endif @if (session('status'))

{{ session('status') }}

@endif
@error('amount')

{{ $message }}

@enderror
@endif
@endsection