
<?php	if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Reports extends CI_Controller {

	function __construct()	{
		parent::__construct();
	}

	function index()	{	
		$this->list_reports();
	}

	function list_reports() {
		$this->_page_data['page_title']="List of Reports";
		$this->_page_data['bredcrum']=array(
			                            'Reports'=>'#',
										//'List Reports'=>'#',
										'Reports'=>'#',
										'List Reports'=>'#',
										);
		$this->load->view('gc/reports_list.php',$this->_page_data);
	}

	function view_reports() {
		$this->_page_data['page_title']="View Reports";
		$this->_page_data['bredcrum']=array(
										'Reports'=>'#',
										'Reports'=>'#',
										'List Reports'=>site_url('gc/reports/reports_list'),
										'View Reports'=>'#',
										);
		$this->load->view('gc/reports_view.php',$this->_page_data);
	}
	function manage_reports($purpose=NULL) {
		if($purpose=='')
			$purpose='Search ';
		
		$this->_page_data['purpose']=$purpose;
		$this->_page_data['page_title']=$purpose."Reports";
		$this->_page_data['bredcrum']=array(
										'Reports'=>'#',
										'Reports'=>'#',
										//'List Refill Sale Data'=>site_url('gc/reports/list_gc_type'),
										$purpose.'Reports'=>'#',
										);
		$this->load->view('gc/reports_manage.php',$this->_page_data);
	}
	
}