@extends('adminlte::page') @section('title', 'Pocket Money Transactions') @section('content_header')

Pocket Money Transactions

@stop @section('content')
@if(session('success'))
{{ session('success') }}
@endif
@forelse($transactions as $tx) @empty @endforelse
# Student Type Amount Balance After Performed By Date Note Action
{{ $loop->iteration + ($transactions->currentPage() - 1) * $transactions->perPage() }} {{ $tx->student->first_name }} {{ $tx->student->last_name }} {{ ucfirst($tx->type) }} {{ number_format($tx->amount, 2) }} {{ number_format($tx->balance_after, 2) }} {{ $tx->performedBy->name ?? 'System' }} {{ $tx->created_at->format('d M, Y H:i') }} {{ $tx->note ?? '-' }} View
No transactions found.
{{ $transactions->links() }}
@stop