67 lines
2.0 KiB
PHP
67 lines
2.0 KiB
PHP
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
require APPPATH . '/libraries/BaseController.php';
|
|
|
|
/**
|
|
* Class : Cost Center (Cost Center Controller)
|
|
* User Class to control all user related operations.
|
|
* @author : VenbaMail Mali
|
|
* @version : 1.1
|
|
* @since : 15 Feb 2016
|
|
*/
|
|
class storerequisition extends BaseController
|
|
{
|
|
/**
|
|
* This is default constructor of the class
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
//$this->load->model('monthlypay_model');
|
|
$this->load->library('session');
|
|
$this->load->library('form_validation');
|
|
// $this->load->library('pagination');
|
|
$this->CompanyName = "RESICO";
|
|
$this->isLoggedIn();
|
|
}
|
|
/**
|
|
* This function used to load the first screen of the user
|
|
*/
|
|
public function index()
|
|
{
|
|
//$this->global['pageTitle'] = $this->CompanyName.' : storesrequisitionslip';
|
|
|
|
//$this->loadviews('storesrequisitionslip',$this->global);
|
|
}
|
|
|
|
function addstorerequisitionslip()
|
|
{
|
|
$this->global['pageTitle'] = $this->CompanyName.' : Add Store Requisition';
|
|
|
|
$this->loadviews('addstorerequisitionslip',$this->global);
|
|
}
|
|
function storerequisitionlist()
|
|
{
|
|
$this->global['pageTitle'] = $this->CompanyName.' : Store Requisition List';
|
|
|
|
$this->loadviews('storerequisitionlist',$this->global);
|
|
}
|
|
function storerequisitionlisting()
|
|
{
|
|
$this->global['pageTitle'] = $this->CompanyName.' : Store Requisition Listing';
|
|
|
|
$this->loadviews('storerequisitionlisting',$this->global);
|
|
}
|
|
function approvalstorerequisition()
|
|
{
|
|
$this->global['pageTitle'] = $this->CompanyName.' : Approval Store Requisition';
|
|
|
|
$this->loadviews('approvalstorerequisitionslip',$this->global);
|
|
}
|
|
function pageNotFound()
|
|
{
|
|
$this->global['pageTitle'] = $this->CompanyName.' : 404 - Page Not Found';
|
|
|
|
$this->loadViews("404", $this->global, NULL, NULL);
|
|
}
|
|
} |