@extends('admin::layouts.app') @section('content') {{ __('label.dashboard') }} {{ __('admin.showing_result_as_on') }} {{ date('d-m-Y') }} {{ __('admin.select_branch') }} {{ __('label.Select') }} @foreach ($branches as $branch) id == $branch_selected || old('branch_id') == $branch->id) selected @endif> {{ $branch->name_en }} @endforeach {{ __('label.from_date') }} {{ __('label.to_date') }} {{ __('dashboard.search') }} {{ __('admin.my_statistic') }} {{ $todayAppointmentCount }} {{ __('label.today_appointment') }} {{ $upcomingAppointmentCount }} {{ __('label.upcoming_appointment') }} {{ $completeAppointmentCount }} {{ __('admin.completed_appointments') }} {{-- {{ $newBookingCount }} {{ __('admin.new_bookings') }} --}} {{ $customerCount }} {{ __('admin.total_customers') }} @if (auth()->user()->hasRole([app\helpers\ConstantHelper::BUSINESS_USER, app\helpers\ConstantHelper::INDIVIDUAL_USER])) {{ $totalEarning }}{{ __('admin.sar') }} {{ __('admin.total_revenue') }} @endif {{ $totalApoointmentCount }} {{ __('admin.total_bookings') }} @if (auth()->user()->hasRole([app\helpers\ConstantHelper::BUSINESS_USER])) {{ $staffCount }} {{ __('admin.total_staffs') }} {{ $totalBranchCount }} {{ __('admin.total_branches') }} @endif @if (Auth::user()->hasPermission('admin.monthly-order-counts')) {{ __('admin.bookings') }} {{ __('admin.graphical_view') }} {{ __('admin.showing_results_from') }} @endif @if (Auth::user()->hasPermission('admin.business-user-earning')) @if (auth()->user()->hasRole([app\helpers\ConstantHelper::BUSINESS_USER, app\helpers\ConstantHelper::INDIVIDUAL_USER])) {{ __('admin.my_earning') }} {{ __('admin.in_sar') }} @endif @endif @endsection @section('script') @include('admin::layouts.scripts') @endsection
{{ __('admin.showing_result_as_on') }} {{ date('d-m-Y') }}
{{ __('admin.graphical_view') }}
{{ __('admin.showing_results_from') }}
{{ __('admin.in_sar') }}