@extends('master_admin') @section('content')

Name: {{$order->name}}

City: {{$order->city}}

Address: {{$order->address}}

Notes: {{$order->notes}}

Payment: {{$order->payment}}

Subtotal: {{$order->subtotal}}

Shipping: {{$order->shipping}}

Coupon Discount: {{$order->coupon_discount}}

Total: {{$order->total}}

@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