@extends('layouts.master') @section('title', 'Statistics | Proxima - Medical Management app') @section('title-topbar', 'Statistics') @section('css') @endsection @section('content')
Dashboard | Invoice | Invoice statistics
Filter
Invoice Statistics
Profits Expense
Total Profit @if ($from !== 'all') in the given date @endif
{{ $total_credit }} EGP
Total Expenses @if ($from !== 'all') in the given date @endif
{{ $total_debit }} EGP
Net Profit @if ($from !== 'all') in the given date @endif
{{ $total_credit - $total_debit }} EGP
Most Specialty Income this year
@if ($from !== 'all') Most Specialty Income in the given date @else Most Specialty Income this month @endif
Most Specialty Expenses this year
@if ($from !== 'all') Most Specialty Expenses in the given date @else Most Specialty Expenses this month @endif
Most Brances Income this year
@if ($from !== 'all') Most Brances Income in the given date @else Most Brances Income this month @endif
Most Brances Expenses this year
@if ($from !== 'all') Most Brances Expenses in the given date @else Most Brances Expenses this month @endif
Most profitable services
Most expenses
@endsection @section('js') @php $chart_color = ['#1a78f1', '#38dfa8', '#d13c62', '#12c7d9', '#03c2c3', '#5035df', '#17a673', '#2e59d9', '#9aeded', '#f3d56a', '#7c859d', '#a4adc5', '#80142f', '#33d293', '#bed233', '#3958e9', '#10c86f', '#654fb6', '#a44fb6', '#89728e', '#c85110', '#6d769d', '#1b6954', '#204494', '#94206b', '#948320', '#209493', '#292094', '#203a65', '#4e6fa5', '#e29031', '#e23168', '#31e0e2', '#e29131', '#319fe2', '#8131e2', '#31a8e2', '#31e2c0', '#31c3e2', '#e2a931', '#3157e2', '#dc3545', '#51b24b', '#a94bb2', '#4b8bb2', '#57b24b', '#a5b24b', '#b2804b', '#b24b4b', '#834bb2', '#b24b6a', '#574bb2', '#236368', '#232c68', '#682345', '#4b2368', '#234b68', '#306823', '#a39f39', '#a239a3', '#a33963', '#a33951', '#a33939', '#c73737', '#6837c7']; @endphp @endsection