@extends('snit.layouts.app') @section('content')
App Financial Report

Total Registered Authors : {{ dev()->getRegisteredAuthors() }}

Total Books Published (all authors): {{ dev()->getAllBooksPublished() }}

Total Books Sold (all authors): {{ dev()->countOfBookSold() }}

Total Sales Revenue Generated (all authors): {{ money(dev()->getTotalSalesGeneratedForAuthors()) }}

Total Profit margin (all authors): {{ money(dev()->getTotalProfitGeneratedForAuthors()) }}

Total Income (PGS): {{ money(dev()->getTotalStakeholderIncome('pgs')) }}

Total Income (dev): {{ money(dev()->getTotalStakeholderIncome('dev')) }}

{{-- daily review --}}
{{-- total number of books sold (yesterday) --}} {{-- total number of books sold (today) --}}
daily METRIC(authors only, all schools) QUANTITY VALUE (Naira)
total number of books sold (yesterday) {{ author()->totalBookSold('yesterday') }} {{ money(author()->totalSalesFromBooks('yesterday')) }}
total number of books sold (today) {{ author()->totalBookSold('today') }} {{ money(author()->totalSalesFromBooks('today')) }}
{{-- weekly review --}}
{{-- payment due information --}} {{-- payment due info --}}
weekly METRIC(authors only, all schools) QUANTITY VALUE (Naira)
LAST WEEK EARNINGS (paid on monday) {{ author()->totalBookSold('last_week') }} {{ money(author()->totalSalesFromBooks('last_week')) }}
this week's earnings: Payout Due (next monday) ongoing {{ author()->totalBookSold('this_week') }} {{ money(author()->totalSalesFromBooks('this_week')) }}
{{-- monthly review --}}
{{-- total number of books sold (last month) --}} {{-- total number of books sold (this month) --}}
monthly METRIC(authors only, all schools) QUANTITY VALUE (Naira)
total number of books sold (last month) {{ author()->totalBookSold('last_month') }} {{ money(author()->totalSalesFromBooks('last_month')) }}
total number of books sold (this month) {{ author()->totalBookSold('this_month') }} {{ money(author()->totalSalesFromBooks('this_month')) }}
{{-- yearly review --}}
{{-- total no of books sold (all time) --}} {{-- total number of books sold (last year) --}} {{-- total number of books sold (this year) --}}
YEARLY METRIC(authors only, all schools) QUANTITY VALUE (Naira)
total no of books sold (all time) {{ author()->totalBookSold() }} {{ money(author()->totalSalesFromBooks()) }}
total number of books sold (last year) {{ author()->totalBookSold('last_year') }} {{ money(author()->totalSalesFromBooks('last_year')) }}
total number of books sold (this year) {{ author()->totalBookSold('this_year') }} {{ money(author()->totalSalesFromBooks('this_year')) }}
{{-- all time review --}}
{{-- total no of books sold (all time) --}}
all time METRIC(authors only, all schools) QUANTITY VALUE (Naira)
total no of books sold (all time) {{ author()->totalBookSold() }} {{ money(author()->totalSalesFromBooks()) }}
@endsection