@extends('layouts.app') @section('content')
@php $date = date("M j, Y",strtotime($Order->order_date));@endphp
Payment type: @if($Order->pay_status == 1) Cash on delivery @endif
Order Date: {{$date}}
@if($Order) @foreach($Order->orderdetails as $item) @if($item->OrderProperties()->count() != null) @else @endif @endforeach
Product image Features Price Quantity Total Price
{{$item->product->title}} @foreach($item->OrderProperties as $Property)

{{App\ProductPropertyTypeValue::getValue($Property->property_value_id)->title}}

@endforeach

Not mentioned

@currency($item->product->sales_amount) {{$item->quantity}} @currency($item->total_amount)
@endif

Total: @currency($Order->amount)

@endsection