My Orders History

@foreach($myorders as $md) @php $products=json_decode($md->products_id); @endphp @endforeach
No. ORDER ORDER ID DATE TOTAL
{{ $count++ }} @foreach($products as $pd) @endforeach
Product ID Name Quantity Price Subtotal
{{ $pd->productid }} {{ $pd->name }} {{ $pd->quantity }} {{ $pd->price }} {{ $pd->price*$pd->quantity }}
{{ $md->id }} {{ $md->created_at }} {{ $md->subtotal }}