{{ __('static.hello') }}, {{ Auth::user()->name }}.
{{ __('static.welcome_to_admin_clan') }}
{{ Helpers::getTotalServicemen($start_date, $end_date) }}
{{ __('static.dashboard.total_servicemen') }}
{{ Helpers::getTotalProviders($start_date, $end_date) }}
{{ __('static.dashboard.providers') }}
{{ Helpers::getProviderWithdraw($start_date, $end_date) }}
{{ __('static.dashboard.provider_withdraw') }}
{{ Helpers::getServicemanWithdraw($start_date, $end_date) }}
{{ __('static.dashboard.serviceman_withdraw') }}
{{ Helpers::getServicesCount($start_date, $end_date) }}
{{ __('static.dashboard.services') }}
{{ Helpers::getReviewsCount($start_date, $end_date) }}
{{ __('static.dashboard.reviews') }}
{{ Helpers::getDefaultCurrencySymbol() }}{{ isset(auth()->user()->servicemanWallet) ? auth()->user()->servicemanWallet->balance : 0.0 }}
@else{{ isset(auth()->user()->servicemanWallet) ? auth()->user()->servicemanWallet->balance : 0.0 }} {{ Helpers::getDefaultCurrencySymbol() }}
@endif{{ __('static.dashboard.Wallet') }}
{{ Helpers::getDefaultCurrencySymbol() }}{{ Helpers::getTotalPayment($start_date, $end_date) }}
@else{{ Helpers::getTotalPayment($start_date, $end_date) }} {{ Helpers::getDefaultCurrencySymbol() }}
@endif{{ __('static.dashboard.online_payment') }}
{{ Helpers::getDefaultCurrencySymbol() }}{{ Helpers::getTotalPayment($start_date, $end_date, 'cash') }}
@else{{ Helpers::getTotalPayment($start_date, $end_date, 'cash') }} {{ Helpers::getDefaultCurrencySymbol() }}
@endif{{ __('static.dashboard.offline_payment') }}
{{ __('static.dashboard.service_types') }}
{{ __('static.dashboard.top_services') }}
View All{{ __('static.dashboard.name') }} | {{ __('static.dashboard.provider') }} | {{ __('static.dashboard.bookings') }} | {{ __('static.dashboard.type') }} | {{ __('static.dashboard.ratings') }} |
---|---|---|---|---|
![]() {{ $service->title }}@if (Helpers::getDefaultCurrency()->symbol_position === SymbolPositionEnum::LEFT){{ Helpers::getDefaultCurrencySymbol() }}{{ number_format($service->price, 2) }}
@else
|
@php
$media = $service?->user?->getFirstMedia('image');
$imageUrl = $media ? $media->getUrl() : null;
@endphp
@if ($imageUrl)
{{ strtoupper(substr($service?->user?->name, 0, 1)) }}
@endif
{{ $service->user?->name }}{{ $service->user?->email }} |
{{ $service->bookings_count }} | {{ $service->type }} |
{{ __('static.dashboard.top_providers') }}
View All{{ __('static.dashboard.name') }} | {{ __('static.dashboard.type') }} | {{ __('static.dashboard.bookings') }} | {{ __('static.dashboard.experience') }} |
---|---|---|---|
@php
$media = $provider?->getFirstMedia('image');
$imageUrl = $media ? $media->getUrl() : null;
@endphp
@if ($imageUrl)
{{ strtoupper(substr($provider?->name, 0, 1)) }}
@endif
{{ $provider?->name }}{{ $provider?->email }} |
{{ $provider?->type }} | {{ $provider?->bookings->count() }} | {{ $provider?->experience_duration }}+ {{ $provider?->experience_interval }} |
{{ __('static.dashboard.top_servicemen') }}
View All{{ __('static.dashboard.name') }} | {{ __('static.dashboard.ratings') }} | {{ __('static.dashboard.experience') }} |
---|---|---|
@php
$media = $Serviceman?->getFirstMedia('image');
$imageUrl = $media ? $media->getUrl() : null;
@endphp
@if ($imageUrl)
{{ strtoupper(substr($Serviceman?->name, 0, 1)) }}
@endif
{{ $Serviceman?->name }}{{ $Serviceman?->email }} |
@isset($Serviceman->ServicemanReviewRatings)
@for ($i = 0; $i < Helpers::getServicemanReviewRatings($Serviceman); ++$i)
@endisset
|
{{ $Serviceman?->experience_duration }}+ {{ $Serviceman?->experience_interval }} |
{{ __('static.dashboard.revenue') }}
-
@role('provider')
- {{ __('static.dashboard.provider') }} @endrole @role('admin')
- {{ __('static.dashboard.admin') }} @endrole @role('serviceman')
- {{ __('static.dashboard.serviceman') }} @endrole
{{ __('static.dashboard.recent_booking') }}
View All{{ __('static.dashboard.booking_id') }} | {{ __('static.dashboard.service') }} | {{ __('static.dashboard.provider') }} | {{ __('static.dashboard.status') }} |
---|---|---|---|
#{{ $booking?->booking_number }} |
@php
$media = $booking?->service?->getFirstMedia('image');
$imageUrl = $media ? $media->getUrl() : null;
@endphp
@if ($imageUrl)
{{ strtoupper(substr($booking?->service?->title, 0, 1)) }}
@endif
{{ $booking?->service?->title }}@if (Helpers::getDefaultCurrency()->symbol_position === SymbolPositionEnum::LEFT){{ Helpers::getDefaultCurrencySymbol() }}{{ number_format($booking?->service?->price, 2) }}@else{{ number_format($booking?->service?->price, 2) }} {{ Helpers::getDefaultCurrencySymbol() }}@endif |
@php
$media = $booking?->provider?->getFirstMedia('image');
$imageUrl = $media ? $media->getUrl() : null;
@endphp
@if ($imageUrl)
{{ strtoupper(substr($booking?->provider?->name, 0, 1)) }}
@endif
{{ $booking?->provider?->name }}{{ $booking?->provider?->email }} |
@if (count($booking->sub_bookings)) {{ $booking->sub_bookings?->first()?->booking_status?->name }} @elseif (isset($booking->booking_status?->color_code)) {{ $booking->booking_status?->name }} @endif |
{{ __('static.dashboard.latest_reviews') }}
View All{{ __('static.dashboard.service') }} | {{ __('static.dashboard.consumer') }} | {{ __('static.dashboard.ratings') }} | {{ __('static.dashboard.created_at') }} |
---|---|---|---|
@php
$media = $review?->service?->getFirstMedia('image');
$imageUrl = $media ? $media->getUrl() : null;
@endphp
@if ($imageUrl)
{{ strtoupper(substr($review?->service?->title, 0, 1)) }}
@endif
{{ $review?->service?->title }}@if (Helpers::getDefaultCurrency()->symbol_position === SymbolPositionEnum::LEFT){{ Helpers::getDefaultCurrencySymbol() }}{{ number_format($review?->service?->price, 2) }}@else{{ number_format($review?->service?->price, 2) }} {{ Helpers::getDefaultCurrencySymbol() }}@endif |
@php
$media = $review?->consumer?->getFirstMedia('image');
$imageUrl = $media ? $media->getUrl() : null;
@endphp
@if ($imageUrl)
{{ strtoupper(substr($review?->consumer?->name, 0, 1)) }}
@endif
{{ $review?->consumer?->name }}{{ $review?->consumer?->email }} |
@for ($i = 0; $i < $review?->rating; ++$i)
|
{{ date('d-M-Y', strtotime($review->created_at)) }} |