@extends('master.app') @section('title', 'Investor Investments') @section('body')
Investor Investments
Modern list • Filter • View/Edit/Delete
New Investment
@include('general.valert') {{-- Summary --}}
Total Investment Amount
{{ number_format($totalAmount ?? 0, 2) }}
Average Percentage
{{ number_format($avgPercent ?? 0, 2) }}%
{{-- Filters --}}
{{-- Table --}}
@forelse($data as $row) @empty @endforelse
# Title Investor Date Amount % Currency Actions
{{ $loop->iteration }} {{ $row->title ?? '-' }} {{ $row->investor->name ?? '-' }} {{ $row->date }} {{ number_format((float)$row->investment_amount,2) }} {{ number_format((float)$row->investment_percentage,2) }}% {{ $row->currency->title_en ?? $row->currency->title_ps ?? '-' }}
@csrf @method('DELETE')
No Data
{{ $data->links('pagination::bootstrap-4') }}
@endsection