@if (isShopActive())
@endif
@if (isShopActive())
@endif
{{ $activeSubscriptions }}
{{ currency($data['subscriptionIncome']) }}
@if (isShopActive())
{{ currency($data['orderIncome']) }}
@endif
{{ currency($data['enrollmentIncome']) }}
@php
$income = $data['enrollmentIncome'] + $data['subscriptionIncome'];
if (isShopActive()) {
$income += $data['orderIncome'];
}
@endphp
{{ currency($income) }}
@if (isShopActive())
@adminCan('order.view')
| {{ __('User') }} |
{{ __('Delivery Method') }} |
{{ __('Price') }} |
{{ __('Payment') }} |
@forelse ($data['recentOrders'] as $history)
| {{ $history?->user?->name ?? 'Guest' }}
|
{{ $history->delivery_method == 1 ? __('Delivery') : __('Pickup') }}
|
{{ currency($history->total_amount) }} |
@if ($history->payment_status == 'pending')
{{ __('Pending') }}
@elseif ($history->payment_status == 'success')
{{ __('Success') }}
@else
{{ __('Rejected') }}
@endif
|
@empty
| {{ __('No data found') }} |
@endforelse
@endadminCan
@endif
@adminCan('customer.view')
| {{ __('Name') }} |
{{ __('Joined at') }} |
{{ __('Status') }} |
{{ __('Action') }} |
@forelse ($data['latestCustomers'] as $user)
| {{ html_decode($user->name) }} |
{{ $user->created_at->format('h:iA, d M Y') }} |
@if ($user->email_verified_at)
@if ($user->is_banned == 'no')
{{ __('Active') }}
@else
{{ __('Banned') }}
@endif
@else
{{ __('Not verified') }}
@endif
|
|
@empty
| {{ __('No data found') }} |
@endforelse
@endadminCan