@if(Auth::user()->userTypeId==1)
@include('user-web.layouts.sidebar')
@else
@include('business.layouts.sidebar')
@endif
@if(Auth::user()->userTypeId==2)
@endif
@if(Auth::user()->userTypeId==1)
@endif
@if(Auth::user()->userTypeId==2)
@endif
Orders
-
@foreach($myOrders as $order)
@php
if(is_array($order->businessPImages)){
$url='https://hapiverse.com/'.$order->businessPImages[0];
}else{
$url='https://hapiverse.com/'.$order->businessPImages;
}
@endphp
-
@php
if(Auth::user()->userTypeId==1){$route='/hapiverse/public/orders/'.$order->orderId;}else{$route='/hapiverse/public/orderDetail/'.$order->orderId;}
@endphp
{{$order->product->productName ?? ''}} X 1
24-Dec-2022
${{$order->totalAmount ?? ''}}
{{$order->order_status_text}}
@endforeach
In Que Orders
-
@foreach($myOrders as $order)
@php
if(is_array($order->businessPImages)){
$url='https://hapiverse.com/'.$order->businessPImages[0];
}else{
$url='https://hapiverse.com/'.$order->businessPImages;
}
@endphp
@if($order->orderStatus==0)
-
{{$order->product->productName ?? ''}} X 1
24-Dec-2022
${{$order->totalAmount ?? ''}}
{{$order->order_status_text}}
@endif
@endforeach
Shipped Orders
-
@foreach($myOrders as $order)
@php
if(is_array($order->businessPImages)){
$url='https://hapiverse.com/'.$order->businessPImages[0];
}else{
$url='https://hapiverse.com/'.$order->businessPImages;
}
@endphp
@if($order->orderStatus==1)
-
{{$order->product->productName ?? ''}} X 1
24-Dec-2022
${{$order->totalAmount ?? ''}}
{{$order->order_status_text}}
@endif
@endforeach
Delivered Orders
-
@foreach($myOrders as $order)
@php
if(is_array($order->businessPImages)){
$url='https://hapiverse.com/'.$order->businessPImages[0];
}else{
$url='https://hapiverse.com/'.$order->businessPImages;
}
@endphp
@if($order->orderStatus==2)
-
{{$order->product->productName ?? ''}} X 1
24-Dec-2022
${{$order->totalAmount ?? ''}}
{{$order->order_status_text}}
@endif
@endforeach
Cancelled Orders
-
@foreach($myOrders as $order)
@php
if(is_array($order->businessPImages)){
$url='https://hapiverse.com/'.$order->businessPImages[0];
}else{
$url='https://hapiverse.com/'.$order->businessPImages;
}
@endphp
@if($order->orderStatus==3)
-
{{$order->product->productName ?? ''}} X 1
24-Dec-2022
${{$order->totalAmount ?? ''}}
{{$order->order_status_text}}
@endif
@endforeach