139 lines
2.8 KiB
PHP
Executable File
139 lines
2.8 KiB
PHP
Executable File
<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
require APPPATH . '/libraries/BaseController.php';
|
|
|
|
/**
|
|
* Class : Inward Gate Register Controller (security)
|
|
* User Class to control all user related operations.
|
|
* @author : Saravana kumar
|
|
* @version : 1.1
|
|
* @since : 10 Jun 2017
|
|
*/
|
|
class report extends BaseController
|
|
{
|
|
/**
|
|
* This is default constructor of the class
|
|
*/
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->load->model('dahsboard_Model');
|
|
|
|
$this->isLoggedIn();
|
|
}
|
|
public function pending_report()
|
|
{
|
|
|
|
$this->global['pageTitle'] = 'Siddharth : Reports';
|
|
|
|
|
|
|
|
$data['pending_list']=$this->dahsboard_Model->req_list();
|
|
|
|
|
|
$this->loadviews("report_pendingreqst",$this->global,$data, NULL);
|
|
|
|
}
|
|
public function releasedPO()
|
|
{
|
|
|
|
$this->global['pageTitle'] = 'Siddharth : Reports';
|
|
|
|
|
|
|
|
$data['rel_po']=$this->dahsboard_Model->report_relpo();
|
|
|
|
|
|
$this->loadviews("Report_POreleased",$this->global,$data, NULL);
|
|
|
|
}
|
|
public function openorderPO()
|
|
{
|
|
|
|
$this->global['pageTitle'] = 'Siddharth : Reports';
|
|
|
|
|
|
|
|
$data['open_po']=$this->dahsboard_Model->report_openpending();
|
|
|
|
|
|
$this->loadviews("Report_openorder",$this->global,$data, NULL);
|
|
|
|
}
|
|
public function TotalOrd()
|
|
{
|
|
|
|
$this->global['pageTitle'] = 'Siddharth : Reports';
|
|
|
|
|
|
|
|
$data['Total']=$this->dahsboard_Model->report_total();
|
|
|
|
|
|
$this->loadviews("Report_totalorders",$this->global,$data, NULL);
|
|
|
|
}
|
|
public function ccr()
|
|
{
|
|
|
|
$this->global['pageTitle'] = 'Siddharth : Reports';
|
|
|
|
|
|
|
|
$data['ccrpt']=$this->dahsboard_Model->report_ccr();
|
|
|
|
|
|
$this->loadviews("Report_costcenter",$this->global,$data, NULL);
|
|
|
|
}
|
|
public function MM_Supplier()
|
|
{
|
|
|
|
$this->global['pageTitle'] = 'Siddharth : Reports';
|
|
|
|
|
|
|
|
$data['mms']=$this->dahsboard_Model->report_MMSupplier();
|
|
|
|
|
|
$this->loadviews("Report_Material_Master_SupplierWise",$this->global,$data, NULL);
|
|
|
|
}
|
|
public function MM_Item()
|
|
{
|
|
|
|
$this->global['pageTitle'] = 'Siddharth : Reports';
|
|
|
|
|
|
|
|
$data['mmi']=$this->dahsboard_Model->report_MMItem();
|
|
|
|
|
|
$this->loadviews("Report_Material_Master_ItemWise",$this->global,$data, NULL);
|
|
|
|
}
|
|
public function MM_ReceiptValue()
|
|
{
|
|
|
|
$this->global['pageTitle'] = 'Siddharth : Reports';
|
|
|
|
|
|
|
|
$data['mmr']=$this->dahsboard_Model->report_MMReceiptValue();
|
|
|
|
|
|
$this->loadviews("Report_Material_Master_ReceiptValue",$this->global,$data, NULL);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
?>
|