@if(isset($status))
@if ($status === 'success')
@elseif ($status === 'failure')
@elseif ($status === 'error')
@endif
@endif
Success
The payment was successfully captured.
Failure
Failed to capture the payment.
Error
{{ $responseData['error'] }}
@if(Auth::user()->userTypeId==1)
@include('user-web.layouts.sidebar')
@else
@include('business.layouts.sidebar')
@endif
@if(Auth::user()->userTypeId==2 && !isset($status))
@endif
@if(Auth::user()->userTypeId==1)
@endif
@if(Auth::user()->userTypeId==2 && isset($status) && $status == "orders")
@endif
@if(Auth::user()->userTypeId==2 && !isset($status))
@endif
Orders
-
@foreach($myOrders as $order)
@php
if(is_array($order->businessPImages)){
$url=$order->businessPImages[0];
}else{
$url=$order->businessPImages;
}
@endphp
-
@php
if(Auth::user()->userTypeId==1){$route='/hapiverse/public/orders/'.$order->orderId;}else{$route='/hapiverse/public/orderDetail/'.$order->orderId;}
@endphp
@if(\Illuminate\Support\Facades\File::exists(public_path($url))) @else @endif
{{$order->product->productName ?? ''}} X 1
{{$order->addDate}}
${{$order->totalAmount ?? ''}}
{{$order->order_status_text}}
@endforeach
My Orders
-
@foreach($myOrders as $order)
@php
if(is_array($order->businessPImages)){
$url=$order->businessPImages[0];
}else{
$url=$order->businessPImages;
}
@endphp
-
@php
$route='/hapiverse/public/orders/'.$order->orderId;
@endphp
@if(\Illuminate\Support\Facades\File::exists(public_path($url))) @else @endif
{{$order->product->productName ?? ''}} X 1
{{$order->addDate}}
${{$order->totalAmount ?? ''}}
{{$order->order_status_text}}
@endforeach
In Que Orders
-
@foreach($myOrders as $order)
@php
if(is_array($order->businessPImages)){
$url=$order->businessPImages[0];
}else{
$url=$order->businessPImages;
}
@endphp
@if($order->orderStatus==0)
-
@if(\Illuminate\Support\Facades\File::exists(public_path($url))) @else @endif
{{$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=$order->businessPImages[0];
}else{
$url=$order->businessPImages;
}
@endphp
@if($order->orderStatus==1)
-
@if(\Illuminate\Support\Facades\File::exists(public_path($url))) @else @endif
{{$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=$order->businessPImages[0];
}else{
$url=$order->businessPImages;
}
@endphp
@if($order->orderStatus==2)
-
@if(\Illuminate\Support\Facades\File::exists(public_path($url))) @else @endif
{{$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=$order->businessPImages[0];
}else{
$url=$order->businessPImages;
}
@endphp
@if($order->orderStatus==3)
-
@if(\Illuminate\Support\Facades\File::exists(public_path($url))) @else @endif
{{$order->product->productName ?? ''}} X 1
{{$order->addDate}}
${{$order->totalAmount ?? ''}}
{{$order->order_status_text}}
@endif
@endforeach