@extends("admin.layouts.app") @section("title", __("admin.transactions_report")) @section("content")
@forelse($data as $row) @empty @endforelse
{{ __('common.table.date') }} {{ __('common.table.client') }} {{ __('common.table.description') }} {{ __('admin.reports.gateway') }} {{ __('admin.reports.amount_in') }} {{ __('admin.reports.amount_out') }} {{ __('admin.reports.transaction_id') }}
{{ $row->date ? $row->date->format("d M Y") : "-" }} @if($row->client) client) : "#" }}" style="color:#337ab7;text-decoration:none;">{{ $row->client?->full_name ?? "Deleted Client" }} @else - @endif {{ $row->description ?? "-" }} {{ $row->gateway ?? "-" }} {{ $row->amount_in > 0 ? "$" . number_format($row->amount_in, 2) : "-" }} {{ $row->amount_out > 0 ? "$" . number_format($row->amount_out, 2) : "-" }} {{ $row->transaction_id ?? "-" }}
{{ __('admin.reports.no_transactions') }}
@if($data->hasPages())
{{ $data->links() }}
@endif
@endsection