@extends('layouts.admin') @section('contents')
There are {{ $transactions->total() }} transactions

Transaction History

search
@forelse ($transactions as $transaction)
{{ $transaction->user->username }}

{{ date('d-m-y H:i:s', strtotime($transaction->created_at)) }}

REF: {{ $transaction->ref }}

{{ formatAmount($transaction->amount) }}

@if ($transaction->type == 'debit') {{ $transaction->type }} @else {{ $transaction->type }} @endif

{{ $transaction->description }}

Delete

@empty
Empty Record. No transaction found!
@endforelse
{{ $transactions->links('paginations.simple') }}
@endsection @section('scripts') @endsection