@extends('frontend.layouts.app') @push('stylepush') @endpush @section('content') @php $promo_banner = frontend_section('promotional-offer'); @endphp
@include('user.partials.dashboard_sidebar')
banner.jpg

{{translate("Dashboard")}}

{{translate("All Orders")}}

{{translate("Total")}} : {{$orders->count()}}

{{translate("Placed Order")}}

{{translate("Total")}} : {{$orders->count()}}

{{translate("Shipped Order")}}

{{translate("Total")}} : {{$orders->where('status','4')->count()}}

{{translate("Delivered Orders")}}

{{translate("Total")}} : {{$orders->where('status','5')->count()}}

{{translate("My Wishlist")}}

{{translate("Total")}} : {{$user->wishlist->count()}}

{{translate("My Shopping Cart")}}

{{translate("Total")}} : {{$items->count()}}

{{translate("Followed Stores")}}

{{translate("Total")}} :{{$user->follower->count()}}

{{translate("Digital Order")}}

{{translate("Total")}} : {{$digitalOrders->count()}}

{{translate("Order List")}}

@csrf
@forelse($orders as $order) @empty @endforelse
{{translate("order Id")}} {{translate("Place On")}} {{translate("Quantity")}} {{translate("Total")}} {{translate("Payment Status")}} {{translate("Options")}}
{{$order->order_id}} {{get_date_time($order->created_at)}} {{$order->qty}} {{short_amount($order->amount)}} @if($order->payment_status == 2) {{translate("Paid")}} @elseif($order->payment_status == 1) {{translate("Unpaid")}} @endif
@if($order->payment_status == App\Models\Order::UNPAID && $order->status != App\Models\Order::CANCEL) @endif @if($order->payment_status == App\Models\Order::UNPAID && $order->status != App\Models\Order::CANCEL && $order->payment_type == App\Models\Order::PAYMENT_METHOD) @endif
{{translate('No Data Found')}}
{{$orders->withQueryString()->links()}}
@endsection @push('scriptpush') @endpush