Employee Name
Amount
Type
Created At
@foreach($salaryTransactions as $transaction)
{{ $transaction->employee->name ?? 'N/A' }}
{{ $transaction->amount }}
{{ ucfirst($transaction->type) }}
{{ \Carbon\Carbon::parse($transaction->created_at)->format('d-m-Y H:i') }}
@endforeach