public function ajaxBatchSummaryComparisonAction()
 {
     $this->_helper->layout->disableLayout();
     $product_id = $this->_request->getParam('product_id');
     $from_date = '11/03/2015';
     $to_date = date("d/m/Y");
     $stock_master = new Model_StockMaster();
     $stock_master->form_values = array('from_date' => $from_date, 'to_date' => $to_date, 'product' => $product_id);
     $result = $stock_master->getProductLedger();
     $quantity = $stock_master->getProductOBBeforeAdjust();
     $this->view->result = $result;
     $this->view->ob = $quantity['vials'];
     $this->view->doses = $quantity['doses'];
     $this->view->from_date = $from_date;
     $this->view->to_date = $to_date;
 }