@foreach($orders as $order) @endforeach
{{trans('order.product_name')}} {{trans('order.amount')}} {{trans('order.products')}} {{trans('order.status')}} {{trans('order.date')}} Actions
{{ $order->request_number }} {{ $order->total_amount }} {{ $order->total_product }} {{ ucfirst($order->status) }} {{ $order->request_date}}
@foreach($order->agentRequestItems as $agentRequestItem) @endforeach
Product Name Price Quantity Subtotal Actions
{{ $agentRequestItem->product->product_name }} {{ $agentRequestItem->price }} {{ $agentRequestItem->subtotal }}