. ------------------------------------------------------------------ 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. Please make you complete the payment so we can provide a better service.
Make a Payment
You have =$numOfUnpaidInvoices?> 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 Icehrm Trial has expired. Please upgrade subscription to continue. If not upgraded your account will be deleted with in few days.
Upgrade Subscription