@extends('admin.layouts.app') @section('panel')
@lang('Summary')
@lang('Total Sales')
{{ showAmount($deposit['total_deposit_amount']) }}
@lang('Payment Pending')
{{ showAmount($deposit['total_deposit_pending']) }}
@lang('Rejected Payment')
{{ $deposit['total_deposit_rejected'] }}
@lang('Payment Charge')
{{ showAmount($deposit['total_deposit_charge']) }}
@lang('Orders')
@lang('Attention Required')
@lang('Customers')
@lang('Sales Report')
 
@lang('Top Selling Products')
@lang('View All')
@foreach ($topSellingProducts as $product) @php $salePrice = $product->salePrice(); $price = $product->regular_price; @endphp
image

{{ $product->total . ' ' . Str::plural('sale', $product->total) }}

{{ strLimit(__($product->summary), 120) }}

@lang('Price'): @if ($price != $salePrice) {{ showAmount($salePrice) }} {{ showAmount($price) }} @else {{ showAmount($price) }} @endif

@endforeach
@lang('Latest Customer')
@forelse($latestUser as $user) @empty @endforelse
@lang('User') @lang('Username') @lang('Email') @lang('Order') @lang('Action')
{{ $user->fullname }} {{ $user->username }} {{ $user->email }} {{ $user->orders->count() }} @lang('Details')
{{ __($emptyMessage) }}
@lang('Latest Order')
@forelse($recentOrders as $order) @empty @endforelse
@lang('Customer') @lang('Order Id') @lang('Amount') @lang('Shipping Charge') @lang('Action')
@if ($order->user) {{ $order->user->fullname }} @else @php $shippingAddress = json_decode($order->shipping_address) @endphp {{ $shippingAddress->firstname . ' ' . $shippingAddress->lastname }} @endif {{ $order->order_number }} {{ showAmount($order->amount) }} {{ showAmount($order->shipping_charge) }} @lang('Details')
{{ __($emptyMessage) }}
@lang('Login By Browser') (@lang('Last 30 days'))
@lang('Login By OS') (@lang('Last 30 days'))
@lang('Login By Country') (@lang('Last 30 days'))
@endsection @push('script-lib') @endpush @push('style-lib') @endpush @push('script') @endpush @push('style') @endpush