. ------------------------------------------------------------------ Original work Copyright (c) 2012 [Gamonoid Media Pvt. Ltd] Developer: Thilina Hasantha (thilina.hasantha[at]gmail.com / facebook.com/thilinah) */ $moduleName = 'dashboard'; define('MODULE_PATH',dirname(__FILE__)); include APP_BASE_PATH.'header.php'; include APP_BASE_PATH.'modulejslibs.inc.php'; $invoices = []; $numOfUnpaidInvoices = 0; if (class_exists('\\Billing\\Admin\\Api\\BillingActionManager')) { $billingActionManager = new \Billing\Admin\Api\BillingActionManager(); $invoices = $billingActionManager->getInvoices(null)->getData(); if(!empty($invoices)){ $invoices = json_decode(json_encode($invoices)); } foreach($invoices as $inv){ if($inv->status == "Sent"){ $numOfUnpaidInvoices++; } } } ?>

You have a pending invoice

You have a pending invoice. Please make you complete the payment so we can provide a better service.

Make a Payment

1){?>

You have pending invoices

You have pending invoice. None of your employees are currently allowed to login. Please make sure you complete payments to all the invoices to restore your service. Please logout and login after completing the payment to get your service restored.

Make a Payment

Your Trial Has Expired

Your Icehrm Trial has expired. Please upgrade subscription to continue. If not upgraded your account will be deleted with in few days.

Upgrade Subscription

getModuleManagers(); $dashBoardList = array(); foreach($moduleManagers as $moduleManagerObj){ //Check if this is not an admin module if($moduleManagerObj->getModuleType() != 'admin'){ continue; } $allowed = \Classes\BaseService::getInstance()->isModuleAllowedForUser($moduleManagerObj); if(!$allowed){ continue; } $item = $moduleManagerObj->getDashboardItem(); if(!empty($item)) { $index = $moduleManagerObj->getDashboardItemIndex(); $dashBoardList[$index] = $item; } } ksort($dashBoardList); foreach($dashBoardList as $k=>$v){ echo \Classes\LanguageManager::translateTnrText($v); } ?>