@extends('layout.app') @section('title', __('dashboard')) @section('content')
{{ __('total_subscription_sale') }}
{{ $subscriptionPurchages->count() }}
{{ __('total_subscriber') }}
{{ $users->count() }}
{{ __('total_shop') }}
{{ $shops->count() }}
{{ __('total_store') }}
{{ $stores->count() }}
{{ __('cash_flow') }}
{{ __('recent_shop') }} {{ date('F') }}
@foreach ($shops->take(5) as $key => $shop) @endforeach
{{ __('shop_details') }} {{ __('status') }}
{{ Str::limit($shop->name, 30, '...') }}
@if ($shop->status->value == 'Active') {{ $shop->status->value }} @else {{ $shop->status->value }} @endif
{{ __('recent_transaction') }}
@foreach ($shopSubscriptions as $shopSubscription) @endforeach
{{ __('sl') }} {{ __('shop_name') }} {{ __('subscription_title') }} {{ __('is_current') }} {{ __('payment_gateway') }} {{ __('payment_status') }} {{ __('expired_at') }}
{{ $loop->iteration }} {{ $shopSubscription->shop->name }} {{ $shopSubscription->subscription->title }} {{ $shopSubscription->is_current }} {{ $shopSubscription->payment_gateway }} {{ $shopSubscription->payment_status }} {{ dateFormat($shopSubscription->expired_at) }}
@endsection @push('scripts') @endpush