@extends('snit.layouts.app') @section('content')

{{ $orgSlug }} Financial income Report

Total Registered Authors : {{ $totalIMSAuthorsInOrg->count() }}

Total Books Published (all authors): {{ $totalIMSBooksPublishedInOrg }}

Total Books Sold (all authors): {{-- {{ $totalBookSoldByAuthorsInOrg }} --}} {{ $salesCount }}

Total Income Generated For School : ₦ {{ $sis->getProfit() }}

{{-- daily review --}}
{{-- total number of books sold (yesterday) --}} {{-- total number of books sold (today) --}}
daily METRIC QUANTITY VALUE (Naira)
total number of books sold (yesterday) {{-- (new SIS($orgSlug))->getCountOfBooksSoldInSchDuring() --}} {{ number_format(sis($orgSlug)->getCountOfBooksSoldInSchDuring('yesterday')) }} {{ number_format(sis($orgSlug)->getProfit('yesterday')) }}
total number of books sold (today) {{ number_format(sis($orgSlug)->getCountOfBooksSoldInSchDuring('today')) }} {{ number_format(sis($orgSlug)->getProfit('today')) }}
{{-- weekly review --}}
{{-- payment due information --}} {{-- payment due info --}}
weekly METRIC QUANTITY VALUE (Naira)
LAST WEEK EARNINGS (paid on monday) {{ number_format(sis($orgSlug)->getCountOfBooksSoldInSchDuring('last_week')) }} {{ number_format(sis($orgSlug)->getProfit('last_week')) }}
this week's earnings: Payout Due (next monday) ongoing {{ number_format(sis($orgSlug)->getCountOfBooksSoldInSchDuring('this_week')) }} {{ number_format(sis($orgSlug)->getProfit('this_week')) }}
{{-- monthly review --}}
{{-- total number of books sold (last month) --}} {{-- total number of books sold (this month) --}}
monthly METRIC QUANTITY VALUE (Naira)
total number of books sold (last month) {{ number_format(sis($orgSlug)->getCountOfBooksSoldInSchDuring('last_month')) }} {{ number_format(sis($orgSlug)->getProfit('last_month')) }}
total number of books sold (this month) {{ number_format(sis($orgSlug)->getCountOfBooksSoldInSchDuring('this_month')) }} {{ number_format(sis($orgSlug)->getProfit('this_month')) }}
{{-- yearly review --}}
{{-- total number of books sold (last year) --}} {{-- total number of books sold (this year) --}}
YEARLY METRIC QUANTITY VALUE (Naira)
total number of books sold (last year) {{ number_format(sis($orgSlug)->getCountOfBooksSoldInSchDuring('last_year')) }} {{ number_format(sis($orgSlug)->getProfit('last_year')) }}
total number of books sold (this year) {{ number_format(sis($orgSlug)->getCountOfBooksSoldInSchDuring('this_year')) }} {{ number_format(sis($orgSlug)->getProfit('this_year')) }}
{{-- all time review --}}
{{-- total no of books sold (all time) --}}
all time METRIC QUANTITY VALUE (Naira)
total no of books sold (all time) {{ number_format(sis($orgSlug)->getCountOfBooksSoldInSchDuring()) }} {{ number_format(sis($orgSlug)->getProfit()) }}
@endsection