public function confirmAction() { $this->_checkAuth(); $userId = $this->_user->kopel; $modelOrder = new Kutu_Core_Orm_Table_Order(); $rowset = $modelOrder->getTransactionToConfirm($userId); $numCount = $modelOrder->getTransactionToConfirmCount($userId); $modelPaymentSetting = new Kutu_Core_Orm_Table_PaymentSetting(); $bankAccount = $modelPaymentSetting->fetchAll("settingKey = 'bankAccount'"); if ($this->_request->get('sended') == 1) { $this->view->sended = 'Payment Confirmation Sent'; } $this->view->numCount = $numCount; $this->view->rowset = $rowset; $this->view->bankAccount = $bankAccount; }
public function confirmAction() { $this->_checkAuth(); $userId = $this->_userInfo->userId; $tblOrder = new Kutu_Core_Orm_Table_Order(); $tblSetting = new Kutu_Core_Orm_Table_PaymentSetting(); $rowset = $tblOrder->getTransactionToConfirm($userId); //,$limit,$offset); $numCount = $tblOrder->getTransactionToConfirmCount($userId); $bankAccount = $tblSetting->fetchAll($tblSetting->select()->where("settingKey = 'bankAccount'")); if ($this->_request->get('sended') == 1) { $this->view->sended = 'Payment Confirmation Sent'; } $this->view->numCount = $numCount; $this->view->rowset = $rowset; $this->view->bankAccount = $bankAccount; /*echo'<pre>'; print_r($this->_userDetailInfo); echo'</pre>';*/ }