@extends('layouts.admin') @section('title', 'Admin dashboard') @section('content') @if(!$provider)
| Today | Month | |
|---|---|---|
| {{ $r[0] }} | {{ $s['today'][$r[1]] }} | {{ $s['month'][$r[1]] }} |
| Revenue | {{ number_format($s['today']['revenue'], 2) }} | {{ number_format($s['month']['revenue'], 2) }} |
| Provider cost | {{ number_format($s['today']['provider_cost'], 2) }} | {{ number_format($s['month']['provider_cost'], 2) }} |