@extends('admin.layouts.master') @push('css') @endpush @section('page-title') @include('admin.components.page-title',['title' => __($page_title)]) @endsection @section('breadcrumb') @include('admin.components.breadcrumb',['breadcrumbs' => [ [ 'name' => __("Dashboard"), 'url' => setRoute("admin.dashboard"), ] ], 'active' => __("Dashboard")]) @endsection @section('content')
{{ __("Total Escrow")}}
{{ __("released")}} {{ $released_escrow ?? 0 }} {{ __("ongoing")}} {{ $ongoing_escrow ?? 0 }} {{ __("active Dispute")}} {{ $active_dispute_escrow ?? 0 }}
@php $escrow_percent = 0; if ($released_escrow != 0 || $total_escrow != 0) { $escrow_percent = number_format(($released_escrow / $total_escrow) * 100,2); } @endphp
{{ $escrow_percent ?? 0 }}%
{{ __("Add Money Balance")}}
{{ __("Completed")}} ${{ number_format($active_add_money,2) ?? 0}} {{ __("pending")}} ${{ number_format($pending_add_money,2) ?? 0}}
@php $add_money_percent = 0; if ($active_add_money != 0 || $pending_add_money != 0) { $add_money_percent = number_format(($active_add_money / ($active_add_money+$pending_add_money)) * 100,2); } @endphp
{{ $add_money_percent ?? 0 }}%
{{ __("Money Out Balance")}}
{{ __("Completed")}} ${{ number_format($active_money_out,2) ?? 0}} {{ __("pending")}} ${{ number_format($pending_money_out,2) ?? 0}}
@php $money_out_percent = 0; if ($active_money_out != 0 || $pending_money_out != 0) { $money_out_percent = number_format(($active_money_out / ($active_money_out+$pending_money_out)) * 100,2); } @endphp
{{ $money_out_percent ?? 0 }}%
{{ __("Total Profit")}}
{{ __("This Month")}} ${{ number_format($transaction_profite_this_month_amount,2) ?? 0}} {{ __("Last Month")}} ${{ number_format($transaction_profite_last_month_amount ,2) ?? 0}}
@php $profit_percent = 0; if ($transaction_profite_this_month_amount != 0 || $transaction_profite_last_month_amount != 0) { $profit_percent = number_format(($transaction_profite_this_month_amount / ($transaction_profite_this_month_amount+$transaction_profite_last_month_amount)) * 100,2); } @endphp
{{ $profit_percent ?? 0}}%
{{ __("Escrow Profit")}}
{{ __("released")}} {{ $released_escrow ?? 0 }} {{ __("ongoing")}} {{ $ongoing_escrow ?? 0 }} {{ __("active Dispute")}} {{ $active_dispute_escrow ?? 0 }}
@php $escrow_percent = 0; if ($released_escrow != 0 || $total_escrow != 0) { $escrow_percent = number_format(($released_escrow / $total_escrow) * 100,2); } @endphp
{{ $escrow_percent ?? 0}}%
{{ __("User Active Tickets")}}
{{ __("active")}} {{ $active_support_ticket ?? 0}} {{ __("pending")}} {{ $pending_support_ticket ?? 0}} {{ __("Solved")}} {{ $solved_support_ticket ?? 0}}
@php $ticket_percent = 0; if ($active_support_ticket != 0 || $pending_support_ticket != 0) { $ticket_percent = number_format(($active_support_ticket / ($active_support_ticket+$pending_support_ticket+$solved_support_ticket)) * 100,2); } @endphp
{{ $ticket_percent ?? 0}}%
{{ __("Total Users")}}
{{ __("active")}} {{ $active_user ?? 0}} {{ __("Disabled")}} {{ $total_user - $active_user ?? 0 }}
@php $user_percent = 0; if ($active_user != 0) { $user_percent = number_format(($active_user / $total_user) * 100,2); } @endphp
{{ $user_percent ?? 0}}%
{{ __("Escrow Chart")}}
{{ __("Add Money Chart")}}
{{ __("Money Out Chart")}}
{{ __("User Analytics") }}
{{ __("Latest Transactions")}}
@php $transactions = $latest_transactions; @endphp @include('admin.components.data-table.add-money-transaction-log',[ 'data' => $transactions ])
@endsection @push('script') @endpush