From 74aea3790b6647a23f07ade74b73e83ac3dd775e Mon Sep 17 00:00:00 2001 From: saravanakumar_kandasami Date: Sat, 1 Apr 2017 18:29:25 +0530 Subject: [PATCH] header changed and requisition page created --- application/controllers/requisitionform.php | 58 ++++ application/views/addPO.php | 5 +- application/views/includes/header.php | 241 ++++++++------- application/views/requisitionform.php | 310 ++++++++++++++++++++ assets/dist/css/skins/_all-skins.min.css | 5 +- 5 files changed, 507 insertions(+), 112 deletions(-) create mode 100644 application/controllers/requisitionform.php create mode 100644 application/views/requisitionform.php 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 @@ - - +
@@ -7,7 +6,7 @@

Purchase Order

-
+ diff --git a/application/views/includes/header.php b/application/views/includes/header.php index 6a68a26f..7230c5e1 100644 --- a/application/views/includes/header.php +++ b/application/views/includes/header.php @@ -20,39 +20,38 @@ color:red; font-weight: normal; } + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + @@ -63,7 +62,7 @@ - Siddharth Industries + @@ -87,89 +86,118 @@ Siddharth Industries -