@extends('seller.layouts.app') @section('panel_content')

{{ translate('Total Preorder Products')}}

{{ translate('Total product uploaded as preorder product') }}

{{ $total_preorder_roducts }}

{{ translate('View all products') }}

{{ translate('Live Preorder Products')}}

{{ translate('Preorder products currently available to order ') }}

{{ $live_preorder_products }}

{{ translate('View all live products') }}

{{-- Delayed prepayment & Delayed Final Orders --}}

{{translate('Delayed prepayment orders')}}

{{ $delayed_prepayment_orders_count }}

{{translate('Delayed Final Orders')}}

{{ $delayed_final_orders_count }}

{{-- Add New Preorder Product --}}
{{-- Sales Stats --}}

{{translate('Sales Stats')}}

{{translate('All sales in pre order system')}}

{{translate('Total sales')}}

{{format_price($total_sales) }}

{{translate('Sales this month')}}

{{format_price($totalSalesThisMonth) }}

{{-- Order status --}}

{{translate('Order Status')}}

{{translate('Order status represents the delivery and order status of your preorders.')}}

{{ translate('In Shipping') }}

{{$in_shipping_orders}}

{{ translate('Delivered') }}

{{$is_delivered_orders}}

{{-- Preorder States --}}

{{ translate('Preorder States') }}

{{ translate('All states of the preorder system up-to final order. All the states here has multiple actions.') }}

{{ translate('Preorder Requests') }}

{{ translate('Customers applied for a preorder product') }}

{{$preorder_request_count}}

{{ translate('Accepted Requests') }}

{{ translate('Requests accepted & order profile created') }}

{{$accepted_request_count}}

{{ translate('Prepayment Requests') }}

{{ translate('Prepayment Requests for admin to verify') }}

{{$prepayment_request_count}}

{{ translate('Confirmed Prepayments') }}

{{ translate('Prepayments accepted by admin') }}

{{$confirmed_prepayment_request_count}}

{{ translate('Final Preorders') }}

{{ translate('Completed orders of preorder products') }}

{{$final_preorder_request_count}}

{{-- Preorder by Product --}}

{{ translate('Preorder by Product')}}

{{ translate('View preorders of the product and & order number') }}

@foreach($preorderProducts as $row) @php $product = \App\Models\PreorderProduct::where('id', $row['id'])->first(); $product_url = route('preorder-product.details', $product->product_slug); @endphp @endforeach
{{ translate('Product') }} {{ translate('Request') }} {{ translate('Prepayment') }} {{ translate('Final Order') }}
{{ $product->preorder->where('preorder_request_status',1)->count() }} {{ $product->preorder->where('prepayment_confirm_status',1)->count() }} {{ $product->preorder->where('final_order_status',1)->count() }}
@endsection @section('script') @include('backend.dashboard.dashboard_js') @endsection