@extends('snit.layouts.app') @section('content')
Congratulations {{ Auth::user()->author->fname ?? Auth::user()->name }} ! 🎉

You have done {{ author()->totalBookSold('today') }} more sales today.

View Recent Sales {{-- @include('snit.partials.hidden.item2') --}}
View Badge User
Credit Card
Week {{ now()->weekOfYear }} {{ date('Y') }}
Available Balance

₦{{ author()->presentWallet() }}

{{-- @include('snit.auth.dashboard.partials.total_revenue_section') --}}
winner gif
Total Sales
₦{{ money(author()->totalSalesFromBooks()) }}
{{-- --}} {{-- +{{ money(author()->presentEbookProfit()) }} --}} {{-- --}}
{{-- profits are calculated as all ebook sales plus 50% of hardcopy sales --}}

Total Profits

₦{{ money(author()->presentTotalProfit()) }}
{{-- --}} {{-- +{{ money(author()->presentEbookProfit()) }} --}}
{{--
Credit Card
--}} Total Books Sold
{{ author()->totalBookSold() }}
{{-- +28.14% --}}
{{-- @include('snit.partials.hidden.item1') --}}
@endsection