@extends('backend.partials.master') @section('title') {{ ___('menus.transactions') }} @endsection @section('maincontent') @foreach($transactions as $t) @php $cls = $t->type === 'credit' ? 'success' : 'danger'; $sign = $t->type === 'credit' ? '+' : '-'; @endphp {{ $t->reference }} {{ $t->txn_date?->translatedFormat('d M Y') }} {{ $t->description }} {{ admin_label(ucfirst($t->type)) }} {{ $sign }}{{ currency_symbol() }}{{ number_format($t->amount) }} {{ currency_symbol() }}{{ number_format($t->balance_after) }} {{ ___('label.success') }} @endforeach @endsection