diff --git a/application/controllers/purchaseorderform.php b/application/controllers/purchaseorderform.php index ce63c541..81eaa40c 100644 --- a/application/controllers/purchaseorderform.php +++ b/application/controllers/purchaseorderform.php @@ -30,13 +30,16 @@ class purchaseorderform extends BaseController */ function purchaseorder() - { - + { $this->global['pageTitle'] = 'Siddharth : Purchase order form'; + $data['MaterialList'] = $this->purchaseorder_model->getRawMaterialList(); + $data['TaxType'] = $this->purchaseorder_model->getConfigValue('C006'); + $data['RequestType'] = $this->purchaseorder_model->getConfigValue('C004'); + $data['Suplist'] = $this->purchaseorder_model->getSupplierName(); - $this->loadViews("Purchaseorder", $this->global, NULL); + $this->loadViews("Purchaseorder", $this->global,$data, NULL); } function alternatepo()