@if(session('success'))
@endif
Success! {{ session('success') }}
All Deals
| No | Deal Name | Started On | Total Investment | Total Investors | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $deal->deal_name }} | {{ Carbon\Carbon::createFromFormat('Y-m-d', $deal->start_date)->format('d-m-Y') }} | {{ number_format($deal->total_investment, 2) }} | @php $formattedTotalInvestors = ($deal->total_investors > 0) ? $deal->total_investors : '0'; echo $formattedTotalInvestors; @endphp Invested |