public function searchPipelineConsignmentsAction()
 {
     $form = new Form_PipelineConsignmentsFilters();
     $pipeline_consignments = new Model_PipelineConsignments();
     if ($this->_request->isPost()) {
         $res = $this->_request->getPost();
         $pipeline_consignments->form_values = $res;
         $form->from_warehouse_id->setValue($res['from_warehouse_id']);
         $form->from_date->setValue($res['from_date']);
         $form->to_date->setValue($res['to_date']);
         $form->item_pack_size_id->setValue($res['item_pack_size_id']);
         $form->status->setValue($res['status']);
     }
     $arr_data = $pipeline_consignments->getDistinctByVoucherNumber();
     $this->view->arr_data = $arr_data;
     $this->view->form = $form;
     $data = $this->_request->getParam("voucher", "");
     if (!empty($data)) {
         $string = substr($data, 1);
         list($voucher, $master_id) = explode("|", base64_decode($string));
         $this->view->voucher = $voucher;
         $this->view->master_id = $master_id;
     }
 }