Branch Investments

@can('branch-investment-create') Add Investment @endcan
@forelse($investments as $key => $investment) @empty @endforelse
S.No Branch Date Type Amount Source of Funds Description Actions
{{ $investments->firstItem() + $key }} {{ $investment->branch->branch_name ?? 'N/A' }} {{ \Carbon\Carbon::parse($investment->investment_date)->format('d-m-Y') }} @php $typeLabels = [ 'equity' => 'Equity', 'debt' => 'Debt', 'real_estate' => 'Real Estate', 'mutual_fund' => 'Mutual Fund', 'fixed_deposit' => 'Fixed Deposit', 'other' => 'Other' ]; $typeLabel = $typeLabels[$investment->investment_type] ?? ucfirst($investment->investment_type); @endphp {{ $typeLabel }} {{ number_format($investment->amount, 2) }} {{ $investment->source_of_funds ?? 'N/A' }} {{ Str::limit($investment->description, 50) ?? 'N/A' }} @can('branch-investment-edit') Edit @endcan @can('branch-investment-delete')
@csrf @method('DELETE')
@endcan

No investments found.

@can('branch-investment-create') @endcan
{{ $investments->withQueryString()->links() }}