@extends('layouts.admin') @section('content')

{{ __('Dashboard') }}

@if (Session::has('cache'))

{{ Session::get('cache') }}

@endif
{{ __('Active Customers') }}
{{ count($acustomers) }}
{{ __('Blocked Customers') }}
{{ count($bcustomers) }}
{{ __('Total Properties') }}
{{ count($properties) }}
{{ __('Invest Properties') }}
{{ count($invest_properties) }}
{{ __('Total Plans') }}
{{ count($plans) }}
{{ __('Total Orders') }}
{{ count($orders) }}
{{ __('Total Order Amount') }}
{{ showAdminAmount($orders->sum('amount')) }}
{{ __('Total Invests') }}
{{ count($invests) }}
{{--
{{ __('Total Invest Amount') }}
{{ showAdminAmount($invests->sum('amount')) }}
{{ __('Total Deposits') }}
{{ count($deposits) }}
{{ __('Total Deposit Amount') }}
{{ showAdminAmount($deposits->sum('amount')) }}
{{ __('Total Withdraw Amount') }}
{{ showAdminAmount($withdrawAmount) }}
{{ __('Total Withdraw Charge Amount') }}
{{ showAdminAmount($withdrawChargeAmount) }}
{{ __('Total Referral Bonus') }}
{{ showAdminAmount($bonus) }}
{{ __('Total Transactions') }}
{{ count($transactions) }}
{{ __('Total Tickets') }}
{{ count($tickets) }}
--}}
@lang('Recent Joined Users')
@if (count($users) > 0)
@foreach ($users as $key => $data) @endforeach
@lang('S. No') @lang('Name') @lang('Date') @lang('Type') @lang('Phone') @lang('Email') @lang('Listings') @lang('Status') @lang('Action')
{{ $loop->iteration }} {{ $data->name }} {{ $data->created_at->format('Y-m-d') }} {{ $data->user_type }} {{ $data->phone }} {{ $data->email }} {{ $data->properties_count }} {{ $data->is_banned == 0 ? 'activated' : 'deactivated' }} @lang('Detail')
{{ $users->links() }}
@else

@lang('NO USER FOUND')

@endif
@endsection @section('scripts') @endsection