@include('template.head') {{ $page_name = 'home' }} @php use Illuminate\Support\Facades\Auth; @endphp @include('template.sidebar') @include('template.header') @include('template.rightpanel')

@if ($priviladges['ability'] == 1)
@if (Auth::user()->usertype_id == 1)

{{ $total_registered_users }}

Total Registered Users
@endif

{{ number_format($convertion_rate, 2) }}%

Convertion Rate

{{ number_format($daily_sales, 2) }}

Daily Sales

{{ $total_book_count }}

Total Book Count

Top Selling Books (Current Month)


@if (count($best_sellers) > 0) @foreach ($best_sellers as $best_seller) @endforeach @else @endif
Name Rating Total Sales (LKR)
{{ $best_seller->title }} {{ number_format($best_seller->rating, 1) }} {{ number_format($best_seller->Total_sales, 2) }}
No Data Available

Sales Overview



@if (Auth::user()->usertype_id == 1)

Sales By Category


@endif
@endif
{{-- script start --}} @include('template.script') {{-- script end --}}