{{ __('Report Type') }}: {{ ucfirst($reportType) }}
{{ __('Period') }}: {{ $startDate }} {{ __('to') }} {{ $endDate }}
{{ __('Generated on') }}: {{ now()->format('Y-m-d H:i:s') }}
{{ __('Total Sales') }} | {{ number_format($totalAmount, 2) }} |
---|---|
{{ __('Number of Transactions') }} | {{ $payments->count() }} |
{{ __('Average Transaction Value') }} | @if($payments->count() > 0) {{ number_format($totalAmount / $payments->count(), 2) }} @else 0.00 @endif |
{{ __('Payment Method') }} | {{ __('Count') }} | {{ __('Amount') }} | {{ __('Percentage') }} |
---|---|---|---|
{{ ucfirst(str_replace('_', ' ', $method)) }} | {{ $data['count'] }} | {{ number_format($data['amount'], 2) }} | @if($totalAmount > 0) {{ number_format(($data['amount'] / $totalAmount) * 100, 2) }}% @else 0.00% @endif |
{{ __('Total') }} | {{ $payments->count() }} | {{ number_format($totalAmount, 2) }} | 100.00% |
{{ __('Date') }} | {{ __('Amount') }} |
---|---|
{{ $date }} | {{ number_format($amount, 2) }} |
{{ __('Total') }} | {{ number_format($totalAmount, 2) }} |
{{ __('ID') }} | {{ __('Date') }} | {{ __('Order #') }} | {{ __('Method') }} | {{ __('Processed By') }} | {{ __('Amount') }} |
---|---|---|---|---|---|
{{ $payment->id }} | {{ $payment->created_at->format('Y-m-d H:i') }} | {{ $payment->order_id }} | {{ ucfirst(str_replace('_', ' ', $payment->payment_method)) }} | {{ $payment->user->name ?? 'N/A' }} | {{ number_format($payment->amount, 2) }} |