@isset($orders) @php $subtotal=0; $total=0; @endphp There are ({{$orders -> count()}}) orders
| ID | orders Products | payment methods | grand Total | Date |
|---|---|---|---|---|
| {{$order->id}} |
@foreach( $order->orders_products as $pro_detail)
{{$pro_detail->name}} @endforeach |
{{$order->pay_type}} | {{$order->grand_total}} | {{$order->created_at}} |