diff --git a/ext/admin/dashboard/index.php b/ext/admin/dashboard/index.php index 03caa766..c8e0c28f 100644 --- a/ext/admin/dashboard/index.php +++ b/ext/admin/dashboard/index.php @@ -25,61 +25,8 @@ $moduleName = 'dashboard'; define('MODULE_PATH',dirname(__FILE__)); include APP_BASE_PATH.'header.php'; include APP_BASE_PATH.'modulejslibs.inc.php'; - - -if (!class_exists('BillingActionManager')) { - include APP_BASE_PATH.'admin/billing/api/BillingActionManager.php'; -} -$billingActionManager = new BillingActionManager(); - -$invoices = $billingActionManager->getInvoices(null)->getData(); -if(!empty($invoices)){ - $invoices = json_decode(json_encode($invoices)); -} -$numOfUnpaidInvoices = 0; -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();