{{ __('common.summary') }}
@if (getParentSeller()->slug)
- {{ __('dashboard.shop_link') }}
@else
- {{ __('dashboard.shop_link') }}
@endif
@if($sellerAccount->seller_commission_id == 3)
@php
$current_date = strtotime(date("Y-m-d"));
$expiry_date = strtotime($subscription->expiry_date?$subscription->expiry_date:'1970-01-01');
@endphp
@if (isset($subscription) && @$sellerAccount->seller_commission_id == 3 &&
$subscription->is_paid == 0 || isset($subscription) && $sellerAccount->seller_commission_id == 3 &&
$subscription->is_paid == 1 && $expiry_date < $current_date)
@if(permissionCheck('seller.subscription_payment_select'))
- {{ __('common.pay_first_for_subcription') }}
@endif
@endif
@endif
@if(permissionCheck('seller_widgets'))
@endif
@if(permissionCheck('seller_widgets'))
@if (app('dashboard_setup')->where('type', 'total_product_card')->first()->is_active &&
permissionCheck('seller_widgets_total_product'))
@endif
@if (app('dashboard_setup')->where('type', 'total_order_card')->first()->is_active &&
permissionCheck('seller_widgets_total_order'))
@endif
@if (app('dashboard_setup')->where('type', 'total_pending_order_card')->first()->is_active &&
permissionCheck('seller_widgets_total_delivery_order'))
@endif
@if (app('dashboard_setup')->where('type', 'total_pending_order_card')->first()->is_active &&
permissionCheck('seller_widgets_non_total_delivery_order'))
@endif
@if (app('dashboard_setup')->where('type', 'total_completed_order_card')->first()->is_active &&
permissionCheck('seller_widgets_total_sale'))
@endif
@if (app('dashboard_setup')->where('type', 'total_review_card')->first()->is_active &&
permissionCheck('seller_widgets_shop_review'))
{{ __('dashboard.shop_review') }}
{{ $shop_review }}
@endif
@if (app('dashboard_setup')->where('type', 'total_revenue_card')->first()->is_active &&
permissionCheck('seller_widgets_total_product_refund'))
{{ __('dashboard.total_product_refund') }}
{{ single_price($total_refund) }}
@endif
@if (app('dashboard_setup')->where('type', 'total_revenue_card')->first()->is_active &&
permissionCheck('seller_widgets_total_product_refund'))
{{ __('Total Commision') }}
{{ single_price($total_commision) }}
@endif
@endif
@if(permissionCheck('seller_graphs'))
@endif
@if(permissionCheck('seller_top_sale_products'))
{{__('common.name')}} |
{{ __('common.brand') }} |
{{ __('dashboard.total_sale') }} |
@foreach($top_sale_products as $key => $top_ten_product)
{{$top_ten_product->product->product_name}} |
{{$top_ten_product->product->brand->name}} |
{{$top_ten_product->total_sale}} |
@endforeach
@endif
@if(permissionCheck('seller_latest_uploaded_products'))
{{__('common.name')}} | ]
{{ __('common.brand') }} |
{{ __('dashboard.total_sale') }} |
@foreach($latest_uploaded_products as $key => $product)
{{$product->product->product_name}}
|
{{$product->product->brand->name}} |
{{$product->total_sale}} |
@endforeach
@endif
@if(permissionCheck('seller_latest_orders'))
{{__('common.date')}} |
{{__('common.order_id')}} |
{{__('order.order_state')}} |
{{__('common.total_amount')}} |
{{__('common.action')}} |
@foreach ($latest_orders as $key => $latest_order)
{{ date(app('general_setting')->dateFormat->format, strtotime($latest_order->order->created_at)) }}
|
{{ @$latest_order->order->order_number }} |
@if ($latest_order->order->is_confirmed == 1)
{{__('common.confirmed')}}
@elseif ($latest_order->order->is_confirmed == 2)
{{__('common.declined')}}
@else
{{__('common.pending')}}
@endif
|
{{single_price($latest_order->products->sum('total_price') + $latest_order->shipping_cost + $latest_order->tax_amount)}}
|
{{__('common.details')}}
|
@endforeach
@endif
@if(permissionCheck('seller_latest_refund_request'))
{{ __('common.date') }} |
{{ __('common.order_id') }} |
{{ __('common.total_amount') }} |
{{ __('dashboard.request_status') }} |
{{ __('dashboard.is_refunded') }} |
{{ __('dashboard.action') }} |
@foreach ($latest_refund_requests as $key => $latest_refund)
{{ date(app('general_setting')->dateFormat->format, strtotime($latest_refund->created_at)) }}
|
{{ @$latest_refund->order->order_number }} |
{{ single_price($latest_refund->total_return_amount) }}
|
@if ($latest_refund->is_confirmed == 1)
{{ __('common.confirmed') }}
@elseif ($latest_refund->is_confirmed == 2)
{{ __('common.declined') }}
@else
{{ __('common.pending') }}
@endif
|
@if ($latest_refund->is_refunded == 1)
{{ __('common.refunded') }}
@else
{{ __('common.pending') }}
@endif
|
{{__('common.details')}}
|
@endforeach
@endif
@if (isset($subscription) && permissionCheck('seller_subscription_payments'))
{{ __('common.date') }} |
{{ __('common.name') }} |
{{ __('common.total_amount') }} |
{{ __('common.payment_type') }} |
@foreach ($subscription_payment as $key => $payment)
{{ date(app('general_setting')->dateFormat->format, strtotime($payment->created_at)) }}
|
{{ @$payment->subscription_payment->commission_type }} |
{{ single_price($payment->amount) }}
|
{{ @$payment->subscription_payment->subscription_type }}
|
@endforeach
@endif
@endsection
@push('scripts')
@endpush