{{-- Counter --}}
@if (hasPermission('counter_read'))
@endif
{{-- Fees collesction --}}
@if (hasPermission('fees_collesction_read'))
@endif
{{-- Revenue --}}
@if (hasPermission('revenue_read'))
@endif
{{-- Fees collection this month --}}
@if (hasPermission('fees_collection_this_month_read'))
@endif
{{-- Income & Expense This Month --}}
@if (hasPermission('income_expense_read'))
@endif
@if (hasPermission('upcoming_events_read'))
@endif
{{-- Attendance --}}
@if (hasPermission('attendance_chart_read'))
@endif
{{-- Calendar --}}
@if (hasPermission('calendar_read'))
@endif
{{ $data['student'] }}
{{ ___('dashboard.Student') }}
{{ $data['parent'] }}
{{ ___('dashboard.Parent') }}
{{ $data['teacher'] }}
{{ ___('academic.teacher') }}
{{ $data['session'] }}
{{ ___('settings.Session') }}
{{-- Tittle --}}
{{-- Chart --}}
{{___('dashboard.Fees Collection')}} ({{ date('Y') }})
{{ ___('dashboard.Revenue') }} ({{ date('Y') }})
{{ ___('dashboard.Total Income') }}
{{ $data['income'] }}
{{ ___('dashboard.Total Expense') }}
{{ $data['expense'] }}
{{ ___('dashboard.Total Balance') }}
{{ $data['balance'] }}
{{ ___("dashboard.Fees Collection") }} ({{ date('M Y') }})
{{ ___("dashboard.Income & Expense") }} ({{ date('M Y') }})
{{___('dashboard.Upcoming Events')}}
@foreach ($data['events'] as $item)
@endforeach
{{ date('d', strtotime($item->date)) }}
{{ date('D', strtotime($item->date)) }}
{!! Str::limit($item->title,40) !!}
{{ $item->date == date('Y-m-d') ? 'Today' : dateFormat($item->date) }} | {{ timeFormat($item->start_time) }} - {{ timeFormat($item->end_time) }}