@extends('backend.master') @section('title') {{ ___('dashboard.Dashboard') }} @endsection @section('content')
{{-- Counter --}} @if (hasPermission('counter_read'))
crm_summery1

{{ $data['student'] }}

{{ ___('dashboard.Student') }}

crm_summery1

{{ $data['parent'] }}

{{ ___('dashboard.Parent') }}

crm_summery1

{{ $data['teacher'] }}

{{ ___('academic.teacher') }}

crm_summery1

{{ $data['session'] }}

{{ ___('settings.Session') }}

@endif {{-- Fees collesction --}} @if (hasPermission('fees_collesction_read'))
{{-- Tittle --}}

{{___('dashboard.Fees Collection')}} ({{ date('Y') }})

{{-- Chart --}}
@endif {{-- Revenue --}} @if (hasPermission('revenue_read'))

{{ ___('dashboard.Revenue') }} ({{ date('Y') }})

{{ ___('dashboard.Total Income') }}

{{ $data['income'] }}

{{ ___('dashboard.Total Expense') }}

{{ $data['expense'] }}

{{ ___('dashboard.Total Balance') }}

{{ $data['balance'] }}

@endif {{-- Fees collection this month --}} @if (hasPermission('fees_collection_this_month_read'))

{{ ___("dashboard.Fees Collection") }} ({{ date('M Y') }})

@endif {{-- Income & Expense This Month --}} @if (hasPermission('income_expense_read'))

{{ ___("dashboard.Income & Expense") }} ({{ date('M Y') }})

@endif @if (hasPermission('upcoming_events_read'))

{{___('dashboard.Upcoming Events')}}

@foreach ($data['events'] as $item)

{{ date('d', strtotime($item->date)) }}

{{ date('D', strtotime($item->date)) }}
@endforeach
@endif {{-- Attendance --}} @if (hasPermission('attendance_chart_read'))

{{ ___("dashboard.Today's Attendance") }} ({{ date('d M Y') }})

@endif {{-- Calendar --}} @if (hasPermission('calendar_read'))
@endif
@endsection @push('script') @endpush