@extends('backEnd.master') @section('title') {{ @Auth::user()->roles->name }} @lang('common.dashboard') @endsection @push('css') @endpush @section('mainContent')
@if (isSubscriptionEnabled() && auth()->user()->role_id == 1 && saasDomain() != 'school')

@lang('dashboard.welcome') - {{ @Auth::user()->school->school_name }} | {{ @Auth::user()->roles->name }} | @lang('dashboard.active_package') : {{ @$package_info['package_name'] }} | @lang('dashboard.remain_days') : {{ @$package_info['remaining_days'] }} | @lang('dashboard.student') : {{ @$totalStudents }} out {{ @$package_info['student_quantity'] }} | @lang('common.staff') : {{ @$totalStaffs }} out {{ @$package_info['staff_quantity'] }}

@else

@lang('dashboard.welcome') - {{ @Auth::user()->school->school_name }} | {{ @Auth::user()->roles->name }}

@endif
@if (Auth::user()->is_saas == 0) @endif @if (Auth::user()->is_saas == 1) @endif
@if (userPermission('month-income-expense'))

@lang('dashboard.income_and_expenses_for') {{ date('M') }} {{ $year }}

({{ generalSetting()->currency_symbol }}) {{ number_format($m_total_income) }}

@lang('dashboard.total_income')

({{ generalSetting()->currency_symbol }}) {{ number_format($m_total_expense) }}

@lang('dashboard.total_expenses')

({{ generalSetting()->currency_symbol }}) {{ number_format($m_total_income - $m_total_expense) }}

@lang('dashboard.total_profit')

({{ generalSetting()->currency_symbol }}) {{ number_format($m_total_income) }}

@lang('dashboard.total_revenue')

@if (moduleStatusCheck('Wallet'))

{{ currency_format($monthlyWalletBalance) }}

@lang('dashboard.wallet_balance')

@endif
@endif @if (userPermission('year-income-expense'))

@lang('dashboard.income_and_expenses_for') {{ $year }}

({{ generalSetting()->currency_symbol }}) {{ number_format($y_total_income) }}

@lang('dashboard.total_income')

({{ generalSetting()->currency_symbol }}) {{ number_format($y_total_expense) }}

@lang('dashboard.total_expenses')

({{ generalSetting()->currency_symbol }}) {{ number_format($y_total_income - $y_total_expense) }}

@lang('dashboard.total_profit')

({{ generalSetting()->currency_symbol }}) {{ number_format($y_total_income) }}

@lang('dashboard.total_revenue')

@if (moduleStatusCheck('Wallet'))

{{ currency_format($yearlyWalletBalance) }}

@lang('dashboard.wallet_balance')

@endif
@endif
@if (userPermission('notice-board'))

@lang('communicate.notice_board')

@if (userPermission('add-notice')) @endif
@lang('common.date') @lang('dashboard.title') @lang('common.actions')