@extends('admin.includes.master-admin') @section('content')

Order Details

@if($order->method != "Cash On Delivery") @if($order->method=="Stripe") @endif @endif
Order ID# {{$order->order_number}}
Customer Name: {{$order->customer_name}}
Customer Email: {{$order->customer_email}}
Customer Phone: {{$order->customer_phone}}
Customer Address: {{$order->customer_address}}
Customer City: {{$order->customer_city}}
Customer Postal Code: {{$order->customer_zip}}
Total Product: {{array_sum($order->quantities)}}
Total Cost: ${{$order->pay_amount}}
Ordered Date: {{$order->booking_date}}
Payment Method: {{$order->method}}
{{$order->method}} Charge ID: {{$order->charge_id}}
{{$order->method}} Transection ID: {{$order->txnid}}

Products Ordered


@foreach($products as $product) @if(\App\Product::where('id',$product->productid)->count() > 0) @else @endif @endforeach {{--@for($i=0;$i<=count($order->products)-1;$i++)--}} {{----}} {{--@if(\App\Product::where('id',$order->products[$i])->count() > 0)--}} {{----}} {{----}} {{----}} {{----}} {{--@else--}} {{----}} {{----}} {{----}} {{----}} {{--@endif--}} {{----}} {{--@endfor--}}
Product ID# Product Title Quantity Size Vendor Status
{{$product->productid}} {{\App\Product::findOrFail($product->productid)->title}} {{$product->quantity}} {{$product->size}} @if($product->owner == "vendor") {{\App\Vendors::findOrFail($product->vendorid)->shop_name}} @else Admin @endif {{$product->status}}{{$product->productid}} Product Deleted {{$product->quantity}} {{$product->size}} @if($product->owner == "vendor") {{\App\Vendors::findOrFail($product->vendorid)->shop_name}} @else Admin @endif {{$product->status}}
{{$order->products[$i]}}{{\App\Product::findOrFail($order->products[$i])->title}}{{$order->quantities[$i]}}{{explode(',',$order->sizes)[$i]}}{{$order->products[$i]}}Product Deleted{{$order->quantities[$i]}}{{explode(',',$order->sizes)[$i]}}
Contact Customer
@stop @section('footer') @stop