64 lines
1.6 KiB
PHP
Executable File
64 lines
1.6 KiB
PHP
Executable File
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
require APPPATH . '/libraries/BaseController.php';
|
|
|
|
/**
|
|
* Class : Supplier Controller (supplier)
|
|
* User Class to control all user related operations.
|
|
* @author : Saravana kumar
|
|
* @version : 1.1
|
|
* @since : 4 July 2017
|
|
*/
|
|
class storestatus extends BaseController
|
|
{
|
|
/**
|
|
* This is default constructor of the class
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->load->model('store_model');
|
|
$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 Industries : Store Status';
|
|
|
|
$this->loadViews("storestatus", $this->global, NULL , NULL);
|
|
}
|
|
|
|
/**
|
|
* This function is used to load the Supplier list
|
|
*/
|
|
function storeavailability()
|
|
{
|
|
|
|
//$this->load->model('supplier_model');
|
|
|
|
|
|
//$data['userRecords'] = $this->supplier_model->supplierListing();
|
|
|
|
$this->global['pageTitle'] = 'Siddharth Industries : Store Status';
|
|
//viewStock
|
|
$data['Stock'] = $this->store_model->viewStock();
|
|
$this->loadViews("storestatus", $this->global, $data,null);
|
|
|
|
}
|
|
|
|
|
|
|
|
function pageNotFound()
|
|
{
|
|
$this->global['pageTitle'] = 'Siddharth : 404 - Page Not Found';
|
|
|
|
$this->loadViews("404", $this->global, NULL, NULL);
|
|
}
|
|
}
|
|
|
|
?>
|