forked from kevinowino869/mitrobill
Add Edit Admin
This commit is contained in:
@ -9,9 +9,6 @@ _admin();
|
||||
$ui->assign('_title', Lang::T('Dashboard'));
|
||||
$admin = Admin::_info();
|
||||
$ui->assign('_admin', $admin);
|
||||
if (!in_array($admin['user_type'], ['SuperAdmin', 'Admin'])) {
|
||||
r2(U . "home", 'e', Lang::T('You do not have permission to access this page'));
|
||||
}
|
||||
|
||||
$fdate = date('Y-m-01');
|
||||
$tdate = date('Y-m-t');
|
||||
|
Reference in New Issue
Block a user