public function documentAction()
 {
     $this->_checkAuth();
     $r = $this->getRequest();
     $limit = $r->getParam('limit') ? $r->getParam('limit') : 10;
     $this->view->limit = $limit;
     $itemsPerPage = $limit;
     $this->view->itemsPerPage = $itemsPerPage;
     $offset = $r->getParam('offset') ? $r->getParam('offset') : 0;
     $this->view->offset = $offset;
     if ($this->_request->get('Query')) {
         $where = $r->getParam('Query');
         $this->view->Query = $where;
     } else {
         $where = ' ';
         $this->view->Query = 'search base on document name';
     }
     $tblOrder = new Pandamp_Modules_Payment_Order_Model_Order();
     $userId = $this->_userInfo->userId;
     $rowset = $tblOrder->getDocumentSummary($userId, $where, $limit, $offset);
     $rowsetTotal = $tblOrder->countDocument($userId, $where);
     $this->view->numCount = $rowsetTotal;
     $this->view->rowset = $rowset;
 }