@extends('master.app') @section('title', 'Investor Journal') @section('body')
Investor Journal
Modern list • Filter • View/Edit/Delete
New Entry
@include('general.valert')
Total Income
{{ number_format($sumIncome ?? 0,2) }}
Total Outgoing
{{ number_format($sumOutgoing ?? 0,2) }}
Balance
{{ number_format(($sumIncome ?? 0)-($sumOutgoing ?? 0),2) }}
@forelse($data as $row) @empty @endforelse
# Title Investor Date Income Outgoing Currency Actions
{{ $loop->iteration }} {{ $row->title }} {{ $row->investor->name ?? '-' }} {{ $row->date }} {{ number_format((float)$row->income,2) }} {{ number_format((float)$row->outgoing,2) }} {{ $row->currency->title_en ?? $row->currency->title_ps ?? '-' }}
@csrf @method('DELETE')
No Data
{{ $data->links('pagination::bootstrap-4') }}
@endsection