Пример #1
0
 public function printIssueCancelAction()
 {
     $this->_helper->layout->setLayout('print');
     $this->view->headTitle("Stock Issue Cancel List");
     $stock_master = new Model_StockMaster();
     $stock_master->form_values['pk_id'] = $this->_request->id;
     $result = $stock_master->getStocksIssueCancelList();
     $this->view->result = $result;
     $this->view->username = $this->_identity->getUserName();
     $this->view->warehousename = $this->_identity->getWarehouseName();
     $this->view->print_title = "Stock Issue/Canceled Voucher";
     $this->view->department = $this->_identity->getUserDepartment();
     $this->view->print_serial = strtotime(date("Y-m-d H:i:s"));
 }