public function stockPlacementComparisonPrintAction() { $this->_helper->layout->setLayout('print'); $this->view->headTitle("Stock Placement Comparison"); $this->view->print_title = "Stock Placement Comparison"; $wh_id = $this->_request->getParam('id'); $stock_batch = new Model_StockBatch(); $stock_batch->form_values['wh_id'] = $wh_id; $batch_total = $stock_batch->batchProductTotal(); $this->view->batch_total = $batch_total; $stakeholder_total = $stock_batch->stakeholderProductTotal(); $this->view->stakeholder_total = $stakeholder_total; $priority_total = $stock_batch->priorityProductTotal(); $this->view->priority_total = $priority_total; $warehouse = new Model_Warehouses(); $wh_name = $warehouse->getWarehouseNameByWarehouseId($wh_id); $this->view->warehousename = $wh_name; $this->view->warehouseid = $wh_id; }