mode, 'ONLY_FULL_GROUP_BY') !== false) {?>
Smart School may not work properly because ONLY_FULL_GROUP_BY is enabled, consult with your hosting provider to disable ONLY_FULL_GROUP_BY in sql_mode configuration.
customlib->getStaffRole();
$role_id = json_decode($role)->id;
foreach ($notifications as $notice_key => $notice_value) {
if ($role_id == 7) {
$show = true;
} elseif (date($this->customlib->getSchoolDateFormat()) >= date($this->customlib->getSchoolDateFormat(), $this->customlib->dateyyyymmddTodateformat($notice_value->publish_date))) {
$show = true;
}
if ($show) {
?>
module_lib->hasActive('fees_collection')) {
if ($this->rbac->hasPrivilege('fees_awaiting_payment_widegts', 'can_view')) {
?>
lang->line('fees') . " " . $this->lang->line('awaiting') . " " . $this->lang->line('payment'); ?>/
module_lib->hasActive('front_office')) {
if ($this->rbac->hasPrivilege('conveted_leads_widegts', 'can_view')) {
?>
lang->line('converted') . " " . $this->lang->line('leads') ?>/
rbac->hasPrivilege('staff_present_today_widegts', 'can_view')) {
?>
lang->line('staff') . ' ' . $this->lang->line('present') . ' ' . $this->lang->line('today'); ?>/
module_lib->hasActive('student_attendance') && $sch_setting->attendence_type == 0) {
if ($this->rbac->hasPrivilege('student_present_today_widegts', 'can_view')) {
?>
lang->line('student') . ' ' . $this->lang->line('present') . ' ' . $this->lang->line('today'); ?> /
module_lib->hasActive('fees_collection')) || ($this->module_lib->hasActive('expense'))) {
if ($this->rbac->hasPrivilege('fees_collection_and_expense_monthly_chart', 'can_view')) {
$div_rol = 3;
$userdata = $this->customlib->getUserData();
?>
module_lib->hasActive('income')) {
if ($this->rbac->hasPrivilege('income_donut_graph', 'can_view')) {
?>
module_lib->hasActive('fees_collection')) || ($this->module_lib->hasActive('expense'))) {
if ($this->rbac->hasPrivilege('fees_collection_and_expense_yearly_chart', 'can_view')) {
$div_rol = 3;
?>
module_lib->hasActive('expense')) {
?>
rbac->hasPrivilege('expense_donut_graph', 'can_view')) {
?>
module_lib->hasActive('fees_collection')) {
if ($this->rbac->hasPrivilege('fees_overview_widegts', 'can_view')) {
?>
lang->line('fees') . " " . $this->lang->line('overview') ?>
lang->line('unpaid'); ?>%
lang->line('partial'); ?>%
lang->line('paid'); ?>%
module_lib->hasActive('front_office')) {
if ($this->rbac->hasPrivilege('enquiry_overview_widegts', 'can_view')) {
?>
lang->line('enquiry') . " " . $this->lang->line('overview'); ?>
lang->line('active') ?>%
lang->line('won') ?>%
lang->line('passive') ?>%
lang->line('lost') ?>%
lang->line('dead') ?>%
module_lib->hasActive('library')) {
if ($this->rbac->hasPrivilege('book_overview_widegts', 'can_view')) {
?>
lang->line('library') . " " . $this->lang->line('overview'); ?>
lang->line('due') . " " . $this->lang->line('for') . " " . $this->lang->line('return'); ?>
lang->line('returned') ?>
lang->line('issued_out_of'); ?> %
lang->line('available_out_of') ?> %
module_lib->hasActive('student_attendance')) {
if ($this->rbac->hasPrivilege('today_attendance_widegts', 'can_view')) {
?>
lang->line('student') . " " . $this->lang->line('today') . " " . $this->lang->line('attendance'); ?>
lang->line('present'); ?>
lang->line('late') ?>
lang->line('absent'); ?>
lang->line('half_day'); ?>
customlib->getSchoolCurrencyFormat();
$div_col = 12;
$div_rol = 12;
$bar_chart = true;
$line_chart = true;
if ($this->rbac->hasPrivilege('staff_role_count_widget', 'can_view')) {
$div_col = 9;
$div_rol = 12;
}
$widget_col = array();
if ($this->rbac->hasPrivilege('Monthly fees_collection_widget', 'can_view')) {
$widget_col[0] = 1;
$div_rol = 3;
}
if ($this->rbac->hasPrivilege('monthly_expense_widget', 'can_view')) {
$widget_col[1] = 2;
$div_rol = 3;
}
if ($this->rbac->hasPrivilege('student_count_widget', 'can_view')) {
$widget_col[2] = 3;
$div_rol = 3;
}
$div = sizeof($widget_col);
if (!empty($widget_col)) {
$widget = 12 / $div;
} else {
$widget = 12;
}
?>
module_lib->hasActive('fees_collection')) {
if ($this->rbac->hasPrivilege('Monthly fees_collection_widget', 'can_view')) {
?>
module_lib->hasActive('expense')) {
if ($this->rbac->hasPrivilege('monthly_expense_widget', 'can_view')) {
?>
rbac->hasPrivilege('student_count_widget', 'can_view')) {
?>
module_lib->hasActive('calendar_to_do_list')) {
if ($this->rbac->hasPrivilege('calendar_to_do_list', 'can_view')) {
$div_rol = 3;
?>
rbac->hasPrivilege('staff_role_count_widget', 'can_view')) {
?>