@extends('frontend.master.master') @section('computer') @endsection @section('content')
@auth('customerauth')
@if (Auth::guard('customerauth')->user()->image == null) @else profile-dp @endif

Name: {{Auth::guard('customerauth')->user()->name}}

Email: {{Auth::guard('customerauth')->user()->email}}

Joined: {{Auth::guard('customerauth')->user()->created_at->format('j F Y')}} {{-- Log out --}}

@foreach ($Billingdetails as $sl =>$Billing) @if ($Billing->first()->id != '') @php // Fetch order products associated with the current Billing record $orderProducts = app\Models\OrderProduct::where('order_id', $Billing->order_id)->get(); @endphp @foreach ($orderProducts as $order) @php $order_prices = $order->price * $order->quantity; $order_coupons = $order_prices - $order->coupon_price; $total_prices = $order_coupons + $order->charge; @endphp @endforeach @else @endif @endforeach
no. Order id Date Status Action
{{ $sl+1 }} {{ $order->order_id }}{{ $order->created_at->format('d-M-Y') }} @if ($order->status == 0) Pending @elseif ($order->status == 1) Confirm @elseif ($order->status == 2) Packaging @elseif ($order->status == 3) Shipping @else Delivered @endif @php $order_ids = str_replace("#","",$order->order_id); @endphp View Cancel

No orders have been made yet.

GO SHOP
@csrf
@else

Not found any user

@endauth
@endsection @section('mobile') @endsection @section('footer_script') @endsection