function expirationalertAction() { $this->_helper->layout->setLayout('layout-customer-credential'); $request = $this->getRequest(); $period = $request->getParam('period'); $tblInvoice = new App_Model_Db_Table_Invoice(); $countInvoice = $tblInvoice->getCountExpireInvoice($period); $userIE = $tblInvoice->fetchUserExpireInvoice($period); $this->view->uie = $userIE; $this->view->count_invoice = $countInvoice; $this->view->period = $period; }