@extends('layout')@section('c')

Income & expenses

⬇ Export CSV
Income{{ number_format($in,2) }}
Agency-paid expenses{{ number_format($ex,2) }}
Net{{ number_format($in-$ex,2) }}

+ Record income (commission & other)

@csrf

Other transaction

@csrf
Income: "paid by" = who paid you. Expense: "paid by" = agency (your funds) or candidate (self-sponsored). Only agency-paid expenses reduce net.
@foreach($t as $x)@endforeach
DateTypeCategoryPaid byCandidateNoteAmount
{{ $x->date }}{{ $x->type }}{{ $x->category }}{{ $x->paid_by }}{{ $x->full_name }}{{ $x->note }}{{ number_format($x->amount,2) }} @if($x->type=='income')🧾@endif

@if($t->previousPageUrl())← Prev@endif @if($t->nextPageUrl())Next →@endif

@endsection