diff --git a/application/controllers/requisitionform.php b/application/controllers/requisitionform.php new file mode 100644 index 00000000..c5f42b53 --- /dev/null +++ b/application/controllers/requisitionform.php @@ -0,0 +1,58 @@ +load->model('purchaseorder_model'); + + $this->load->library('session'); + $this->load->library('form_validation'); + + $this->isLoggedIn(); + } + + /** + * This function used to load the first screen of the user + */ + public function index() + { + $this->global['pageTitle'] = 'Siddharth : Requisition'; + + + + $this->loadViews("addPO", $this->global, NULL , NULL); + } + + + + + function requisition() + { + $this->global['pageTitle'] = 'Siddharth : Requisition'; + + $this->loadViews("requisitionform", $this->global, NULL); + } + + function pageNotFound() + { + $this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found'; + + $this->loadViews("404", $this->global, NULL, NULL); + } +} + +?> \ No newline at end of file diff --git a/application/views/addPO.php b/application/views/addPO.php index 78a2112a..cd6291e7 100644 --- a/application/views/addPO.php +++ b/application/views/addPO.php @@ -1,5 +1,4 @@ - - +