@php if (Auth::check()) { echo ""; } else { header("Location: " . URL::to('/'), true, 302); exit(); } use App\Cart; @endphp @extends('frontend.layouts.home') @section('content') @include('frontend.layouts.partials.usermenu') @if(Auth::user()->status == 0) @include('frontend.layouts.partials.otpactive') @else
{{$order->delivery_status}}
| Customer | Products | Total Price | Payment | Status | Action | ||
|---|---|---|---|---|---|---|---|
| {{$order->name}} {{$order->phone}} {{$order->email}} Shipping City{{$order->city}} Shipping Address: {{$order->shipping_address}} Tracking Id: {{$order->tracking_id}} |
@foreach($cart_ids as $cart_id)
@php
$cart = Cart::find($cart_id);
@endphp
@if(!is_null($cart))
{{$cart->product->title}} |
{{$order->amount}} | @if($order->is_paid == 0) Not paid @endif |
@if($order->status == 0) Processing @elseif($order->status == 1) Out for Delivery @elseif($order->status == 2) Delivered @endif |
@if($order->status == 0)
Cancle Order | @elseif($order->status == 1)Order Received | @elseif($order->status == 2)Order Delivered | @endif