@php use App\Order; @endphp @extends('backend.layouts.vendormaster') @section('meta') @endsection @section('content')
Manage Orders
@include('backend.layouts.error')
@foreach($orders as $order) @php $order_same_trx_id = Order::where('transaction_id', $order->transaction_id)->get(); @endphp @endforeach
# Customer Details
# {{$order->name}}
{{$order->phone}}
{{$order->email}}
Shipping City{{$order->city}}
Shipping Address: {{$order->shipping_address}}
Payment Status: {{$order->status}}
@foreach($order_same_trx_id as $single)
@if(!is_null($single->product['slug'])) {{$single->product_title}} @else {{$single->product_title}} @endif
Price: {{$single->price}}
Quantity: {{$single->product_quantity}}
@if(!is_null($single->attribute_options)) @php $options = unserialize($single->attribute_options); @endphp Attributes: @foreach($options as $option) {{$option}} | @endforeach @endif Message: {{$single->message}}
Tracking Id: {{$single->tracking_id}}
Delivery Status: {{$single->delivery_status}}
@csrf
@endforeach
Total Amount: {{$order->price+$order->shipping_cost}}
Shipping Cost: {{$order->shipping_cost}}
Payment Method: {{$order->payment_method}}
{{ $orders->links() }}
@endsection