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