@extends('layouts.admin') @section('title', 'Recycled Order') @section('content') @component('admin.dashboard.breadcumb') @endcomponent
Order Details
@foreach($products as $product) @php $productCode = App\Product::find($product->product_id); @endphp @endforeach
Id Name Code Size Color Price Qty Total
{{$product->id}} {{$product->name}} {{$productCode->code}} {{$product->SiZe != NULL ? $product->SiZe : '--'}} {{$product->color != NULL ? $product->color : '--'}} {{$product->price}} {{$product->qty}} {{$product->qty * $product->price}}
Subtotal: Tk {{$order->order_total}}
Delivery Charge: Tk {{$order->shipping_charge}}
Total: Tk {{$order->order_total + $order->shipping_charge}}
Shipping Information
Id Name Email Phone Address City Country Zip Code
{{$order->shipping->id}} {{$order->shipping->first_name}} {{$order->shipping->last_name}} {{$order->shipping->email}} {{$order->shipping->phone}} {{$order->shipping->address}} {{$order->shipping->city->name}} {{$order->shipping->country->name}}. {{$order->shipping->zip_code}}.
Payment Information
Id Name Card Number Exp Date CVV
{{$order->payment->id}} {{$order->payment->name}} {{$order->payment->card_number}} {{$order->payment->exp_month}}-{{$order->payment->exp_year}} {{$order->payment->cvv}}
Customer Information
@if($order->customer_id) @else @endif
Id Name Email Phone
{{$order->customer->id}} {{$order->customer->name}} {{$order->customer->email}} {{$order->customer->phone}}Guest User
@endsection