Пример #1
0
 public function printReceiveShipmentAction()
 {
     $this->_helper->layout->setLayout('print');
     $this->view->headTitle("Stock Receive List");
     $stock_id = $this->_request->id;
     $warehouse_id = $this->_request->warehouse_id;
     $stock_master = new Model_StockMaster();
     $stock_master->form_values['pk_id'] = $stock_id;
     $stock_master->form_values['warehouse_id'] = $warehouse_id;
     $result = $stock_master->getStocksReceiveListShipment();
     $this->view->result = $result;
     $this->view->username = $this->_identity->getUserName();
     $this->view->warehousename = $result['0']['warehouseName'];
     $this->view->print_title = "Stock Receive from Warehouse Voucher";
 }