@extends('admin.layouts.master') @section('page-style') @include('plugins.ionic') @endsection @section('content') @include('admin.partials._check_misconfigured_subscription')
{{ trans('app.customers') }} {{ $customer_count }}
{{ trans('app.new_in_30_days', ['new' => $new_customer_last_30_days, 'model' => trans('app.customers')]) }}
{{ trans('app.merchants') }} {{ $merchant_count }}
{{ trans('app.new_in_30_days', ['new' => $new_merchant_last_30_days, 'model' => trans('app.merchants')]) }}
{{ trans('app.todays_sale') }} {{ get_formated_currency($todays_sale_amount, 2, config('system_settings.currency.id')) }} @php $difference = $todays_sale_amount - $yesterdays_sale_amount; $todays_sale_percents = $todays_sale_amount == 0 ? 0 : round(($difference / $todays_sale_amount) * 100); @endphp
@if ($todays_sale_amount == 0) {{ trans('messages.no_sale', ['date' => trans('app.today')]) }} @else {{ trans('messages.todays_sale_percents', ['percent' => $todays_sale_percents, 'state' => $difference < 0 ? trans('app.down') : trans('app.up')]) }} @endif
{{ trans('app.visitors_today') }} {{ $todays_visitor_count }} @php $last_months = $last_60days_visitor_count - $last_30days_visitor_count; $difference = $last_30days_visitor_count - $last_months; $last_30_days_percents = $last_months == 0 ? 100 : round(($difference / $last_months) * 100); @endphp
{{ trans('messages.last_30_days_percents', ['percent' => $last_30_days_percents, 'state' => $difference > 0 ? trans('app.increase') : trans('app.decrease')]) }}
{{ trans('app.pending_verifications') }} {{ $pending_verifications }}
{{ trans_choice('messages.pending_verifications', $pending_verifications, ['count' => $pending_verifications]) }}
{{ trans('app.pending_approvals') }} {{ $pending_approvals }}
{{ trans_choice('messages.pending_approvals', $pending_approvals, ['count' => $pending_approvals]) }}
{{ trans('app.appealed_disputes') }} {{ $dispute_count }} @php $last_months = $last_60days_dispute_count - $last_30days_dispute_count; $difference = $last_30days_dispute_count - $last_months; $last_30_days_percents = $last_months == 0 ? 100 : round(($difference / $last_months) * 100); @endphp
{{ trans('messages.last_30_days_percents', ['percent' => $last_30_days_percents, 'state' => $difference > 0 ? trans('app.increase') : trans('app.decrease')]) }}
@endsection @section('page-script') @include('plugins.chart') {!! $chart->script() !!} @endsection