Order Details Report

@php $subtotal = 0; @endphp @foreach ($orders as $item) @php $subtotal += $item->amount; @endphp @endforeach
ID Name Email Date Amount
{{ $item->id }} {{ $item->first_name }} {{ $item->last_name }} {{ $item->email }} {{ $item->created_at->format('d/m/Y') }} ${{ number_format($item->amount, 2) }}
Total: ${{ number_format($subtotal, 2) }}