@extends('master_admin') @section('content')
@php $id = $order->order_id; $order_details = \DB::table('orders_details')->where('order_id',$id)->get(); // dd($order_details); @endphp @foreach($order_details as $key=>$row) @endforeach
Sl Product Name Quantity Single Price Total Price
{{$key+1}} {{$row->product_name}} {{$row->quantity}} {{$row->singleprice}} {{$row->totalprice}}
@endsection