@extends('snit.layouts.app') @section('content')
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 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 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 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 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 METRIC | QUANTITY | VALUE (Naira) |
---|---|---|
total no of books sold (all time) | {{ number_format(sis($orgSlug)->getCountOfBooksSoldInSchDuring()) }} | ₦ {{ number_format(sis($orgSlug)->getProfit()) }} |