@extends('layouts.app') @section('content')
Export to Excel
{{ $trxMain->count() }} transaction(s) found @if (!$hasDateFilter) (showing last 30 days: {{ $filterDateFrom }} to {{ $filterDateTo }}) @endif
Reset
@forelse ($trxMain as $trx) @empty @endforelse
Trx Ref Date & Time User Type Payment Method Amount Service Charge Weight (g) Purity Status
{{ $trx->trx_ref ?? '-' }}
{{ $trx->created_at ? \Carbon\Carbon::parse($trx->created_at)->format('Y-m-d H:i:s') : '-' }}
{{ $trx->user_name ?? '-' }}
{{ $trx->user_email ?? '-' }}
{{ $trx->transaction_type ?? '-' }}
{{ $trx->payment_method ?? '-' }}
{{ number_format($trx->trx_amount ?? 0, 2) }}
{{ number_format($trx->service_charge ?? 0, 2) }}
{{ $trx->total_weight_gram ?? '-' }}
{{ $trx->purity ?? '-' }}
{{ $trx->transaction_status ?? '-' }}
No transactions found.

@endsection @section('styles') @endsection @section('scripts') @endsection