@section('title', __('adminWords.dashboard')) @extends('layouts.superadmin') @section('content')

{{ __('adminWords.dashboard') }}

{{ __('adminWords.monthly_user') . ' ' . date('Y') }}

@if (isset($settings['latest_subs']) && $settings['latest_subs'] == 1)
@if (sizeof($recent_subscription) > 0) @foreach ($recent_subscription as $index => $subscription) @php $getPlan = select([ 'column' => 'plan_name', 'table' => 'plans', 'where' => ['id' => $subscription->plan_id], ]); $subs = json_decode($subscription->payment_data)[0]; $arr = []; if (strpos($subs->payment_gateway, '_') !== false) { $arr = explode('_', $subs->payment_gateway); } @endphp @endforeach @else @endif
# {{ __('adminWords.txn_id') }} {{ __('adminWords.customer_name') }} {{ __('adminWords.quantity') }} {{ __('adminWords.payment_method') }} {{ __('adminWords.total_price') }} {{ __('adminWords.txn_date') }}
{{ $index + 1 }} {{ $subs->order_id }} {{ $subs->user_name }} 1 {{ !empty($arr) ? ucfirst($arr[0]) . ' ' . ucfirst($arr[1]) : $subs->payment_gateway }} {{ $subs->currency . $subs->amount }} {{ date('d-m-Y', strtotime($subscription->created_at)) }}
{{ __('adminWords.no_data') }}
@endif

Audios récents

@php $song = 1; $albm = 1; $user = 1; @endphp @if (sizeof($recent_track) > 0) @foreach ($recent_track as $track) @endforeach @else @endif
{{ $song++ }} {{ $track->audio_title }} {{ date('d-m-Y', strtotime($track->created_at)) }}
{{ __('frontWords.no_track') }}
@if (sizeof($recent_album) > 0) @foreach ($recent_album as $album) @endforeach @else

{{ __('frontWords.no_album') }}

@endif
{{ $albm++ }} {{ $album->album_name }}
{{-- --}}

{{ __('adminWords.recent_users') }}

@php $user = 1; @endphp @if (sizeof($recent_users) > 0) @foreach ($recent_users as $users) @endforeach @else @endif
{{ $user++ }} @if (!empty($users->image)) User @else User @endif {{ $users->name }} {{ date('d-m-Y', strtotime($users->created_at)) }}
{{ __('frontWords.no_user') }}
@endsection @section('script') @endsection