@extends('layouts.user') @section('page-title', __('Transactions')) @section('content')
@forelse($transactions as $transaction) @empty @endforelse
{{ __('Code') }} {{ __('Description') }} {{ __('Type') }} {{ __('Amount') }} {{ __('Balance after') }} {{ __('Date') }}
{{ $transaction->code }} {{ $transaction->description ?? ucfirst($transaction->type) }} {{ ucfirst($transaction->type) }} {{ $transaction->isCredit() ? '+' : '' }}{{ currency($transaction->amount) }} {{ currency($transaction->balance_after) }} {{ $transaction->created_at->format('M d, Y H:i') }}
{{ __('No transactions yet') }}
{{ $transactions->links() }}
@endsection