access control
This commit is contained in:
parent
e6436aa3e2
commit
51bfe48a5b
@ -2196,7 +2196,14 @@ function addNewImportPurchaseOrder()
|
|||||||
$userID = $this->session->userdata ( 'userId' );
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
//print_r($data['Status']);echo "CON";
|
//print_r($data['Status']);echo "CON";
|
||||||
$data['AppList'] = $this->purchaseorder_model->getPOList($q);
|
$data['AppList'] = $this->purchaseorder_model->getPOList($q);
|
||||||
|
if($this->DEPCode == FINANCE)
|
||||||
|
{
|
||||||
$this->loadViews("poapproval_view", $this->global,$data, NULL);
|
$this->loadViews("poapproval_view", $this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2252,8 +2259,15 @@ function addNewImportPurchaseOrder()
|
|||||||
$userID = $this->session->userdata ( 'userId' );
|
$userID = $this->session->userdata ( 'userId' );
|
||||||
//print_r($data['Status']);echo "CON";
|
//print_r($data['Status']);echo "CON";
|
||||||
$data['AppList'] = $this->purchaseorder_model->getPOList($q);
|
$data['AppList'] = $this->purchaseorder_model->getPOList($q);
|
||||||
$this->loadViews("porelease_view", $this->global,$data, NULL);
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
|
$this->loadViews("porelease_view", $this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -32,8 +32,20 @@ class report extends BaseController
|
|||||||
$data['pending_list']=$this->dahsboard_Model->req_list();
|
$data['pending_list']=$this->dahsboard_Model->req_list();
|
||||||
//print_r($data);
|
//print_r($data);
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
|
|
||||||
$this->loadviews("report_pendingreqst",$this->global,$data, NULL);
|
$this->loadviews("report_pendingreqst",$this->global,$data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public function releasedPO()
|
public function releasedPO()
|
||||||
{
|
{
|
||||||
@ -44,8 +56,14 @@ class report extends BaseController
|
|||||||
|
|
||||||
$data['rel_po']=$this->dahsboard_Model->report_relpo();
|
$data['rel_po']=$this->dahsboard_Model->report_relpo();
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
$this->loadviews("Report_POreleased",$this->global,$data, NULL);
|
$this->loadviews("Report_POreleased",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
public function openorderPO()
|
public function openorderPO()
|
||||||
@ -57,8 +75,15 @@ class report extends BaseController
|
|||||||
|
|
||||||
$data['open_po']=$this->dahsboard_Model->report_openpending();
|
$data['open_po']=$this->dahsboard_Model->report_openpending();
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
$this->loadviews("Report_openorder",$this->global,$data, NULL);
|
$this->loadviews("Report_openorder",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
public function TotalOrd()
|
public function TotalOrd()
|
||||||
@ -74,7 +99,16 @@ class report extends BaseController
|
|||||||
$data['Total']=$this->dahsboard_Model->report_total($fa,$aa);
|
$data['Total']=$this->dahsboard_Model->report_total($fa,$aa);
|
||||||
}
|
}
|
||||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
$this->loadviews("Report_totalorders",$this->global,$data, NULL);
|
$this->loadviews("Report_totalorders",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
public function ccr()
|
public function ccr()
|
||||||
@ -94,7 +128,16 @@ class report extends BaseController
|
|||||||
}
|
}
|
||||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
|
|
||||||
$this->loadviews("Report_costcenter",$this->global,$data, NULL);
|
$this->loadviews("Report_costcenter",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
//print_r($data);
|
//print_r($data);
|
||||||
|
|
||||||
@ -108,8 +151,17 @@ class report extends BaseController
|
|||||||
|
|
||||||
$data['mms']=$this->dahsboard_Model->report_MMSupplier();
|
$data['mms']=$this->dahsboard_Model->report_MMSupplier();
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
|
|
||||||
$this->loadviews("Report_Material_Master_SupplierWise",$this->global,$data, NULL);
|
$this->loadviews("Report_Material_Master_SupplierWise",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public function MM_Item()
|
public function MM_Item()
|
||||||
@ -122,8 +174,16 @@ class report extends BaseController
|
|||||||
$data['mmi']=$this->dahsboard_Model->report_MMItem();
|
$data['mmi']=$this->dahsboard_Model->report_MMItem();
|
||||||
|
|
||||||
|
|
||||||
$this->loadviews("Report_Material_Master_ItemWise",$this->global,$data, NULL);
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->loadviews("Report_Material_Master_ItemWise",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
public function MM_ReceiptValue()
|
public function MM_ReceiptValue()
|
||||||
{
|
{
|
||||||
@ -134,8 +194,16 @@ class report extends BaseController
|
|||||||
|
|
||||||
$data['mmr']=$this->dahsboard_Model->report_MMReceiptValue();
|
$data['mmr']=$this->dahsboard_Model->report_MMReceiptValue();
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
$this->loadviews("Report_Material_Master_ReceiptValue",$this->global,$data, NULL);
|
$this->loadviews("Report_Material_Master_ReceiptValue",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public function purchase()
|
public function purchase()
|
||||||
@ -157,8 +225,16 @@ class report extends BaseController
|
|||||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||||
$data['purchase']=$this->dahsboard_Model->report_purchase($cname,$prod,$fa,$aa,$m,$frm,$t);
|
$data['purchase']=$this->dahsboard_Model->report_purchase($cname,$prod,$fa,$aa,$m,$frm,$t);
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
$this->loadviews("Report_purchase",$this->global,$data, NULL);
|
$this->loadviews("Report_purchase",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public function link_purchase()
|
public function link_purchase()
|
||||||
@ -204,9 +280,21 @@ class report extends BaseController
|
|||||||
$data['purchase']=$this->dahsboard_Model->report_purchase_link($cname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d);
|
$data['purchase']=$this->dahsboard_Model->report_purchase_link($cname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
|
|
||||||
$this->loadviews("Report_purchase",$this->global,$data, NULL);
|
$this->loadviews("Report_purchase",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function year_wise()
|
public function year_wise()
|
||||||
{
|
{
|
||||||
$this->global['pageTitle'] = 'Siddharth : Reports';
|
$this->global['pageTitle'] = 'Siddharth : Reports';
|
||||||
@ -221,7 +309,18 @@ class report extends BaseController
|
|||||||
}
|
}
|
||||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
|
|
||||||
$this->loadviews("Report_year_wise",$this->global,$data, NULL);
|
$this->loadviews("Report_year_wise",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function month_wise()
|
public function month_wise()
|
||||||
@ -235,7 +334,17 @@ class report extends BaseController
|
|||||||
//print_r($month);
|
//print_r($month);
|
||||||
$data['mont']=$mon;
|
$data['mont']=$mon;
|
||||||
$data['month']=$this->dahsboard_Model->report_month_wise($month);
|
$data['month']=$this->dahsboard_Model->report_month_wise($month);
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
$this->loadviews("Report_month_wise",$this->global,$data, NULL);
|
$this->loadviews("Report_month_wise",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public function year_wise_total()
|
public function year_wise_total()
|
||||||
@ -250,7 +359,16 @@ class report extends BaseController
|
|||||||
//print_r($month);
|
//print_r($month);
|
||||||
$data['year']=$month;
|
$data['year']=$month;
|
||||||
$data['ytotal']=$this->dahsboard_Model->report_year_wise_total($a,$b);
|
$data['ytotal']=$this->dahsboard_Model->report_year_wise_total($a,$b);
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
$this->loadviews("Report_year_wise_total",$this->global,$data, NULL);
|
$this->loadviews("Report_year_wise_total",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -272,8 +390,16 @@ class report extends BaseController
|
|||||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||||
$data['spurchse']=$this->dahsboard_Model->report_supplier($cname,$fa,$aa,$m,$frm,$t);
|
$data['spurchse']=$this->dahsboard_Model->report_supplier($cname,$fa,$aa,$m,$frm,$t);
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
|
|
||||||
$this->loadviews("Report_supplier",$this->global,$data, NULL);
|
$this->loadviews("Report_supplier",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
public function consolidate()
|
public function consolidate()
|
||||||
@ -291,8 +417,18 @@ class report extends BaseController
|
|||||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||||
$data['spurchse']=$this->dahsboard_Model->report_consolidate($cname,$fa,$aa);
|
$data['spurchse']=$this->dahsboard_Model->report_consolidate($cname,$fa,$aa);
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
|
|
||||||
$this->loadviews("Report_consolidate",$this->global,$data, NULL);
|
$this->loadviews("Report_consolidate",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public function cumulative()
|
public function cumulative()
|
||||||
@ -303,7 +439,17 @@ class report extends BaseController
|
|||||||
//print_r($prod);
|
//print_r($prod);
|
||||||
|
|
||||||
$data['cum']=$this->dahsboard_Model->report_cumulative();
|
$data['cum']=$this->dahsboard_Model->report_cumulative();
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
$this->loadviews("Report_cumulative",$this->global,$data, NULL);
|
$this->loadviews("Report_cumulative",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public function cum_month()
|
public function cum_month()
|
||||||
@ -368,8 +514,17 @@ class report extends BaseController
|
|||||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||||
$data['purchase']=$this->dahsboard_Model->ireport_purchase($cname,$prod,$fa,$aa,$m,$frm,$t);
|
$data['purchase']=$this->dahsboard_Model->ireport_purchase($cname,$prod,$fa,$aa,$m,$frm,$t);
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
$this->loadviews("Report_purchase_inward",$this->global,$data, NULL);
|
$this->loadviews("Report_purchase_inward",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public function ilink_purchase()
|
public function ilink_purchase()
|
||||||
@ -432,7 +587,16 @@ class report extends BaseController
|
|||||||
}
|
}
|
||||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
|
|
||||||
$this->loadviews("Report_year_wise_inward",$this->global,$data, NULL);
|
$this->loadviews("Report_year_wise_inward",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function imonth_wise()
|
public function imonth_wise()
|
||||||
@ -484,8 +648,20 @@ class report extends BaseController
|
|||||||
$data['spurchse']=$this->dahsboard_Model->ireport_supplier($cname,$fa,$aa,$m,$frm,$t);
|
$data['spurchse']=$this->dahsboard_Model->ireport_supplier($cname,$fa,$aa,$m,$frm,$t);
|
||||||
|
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
|
|
||||||
$this->loadviews("Report_supplier_inward",$this->global,$data, NULL);
|
$this->loadviews("Report_supplier_inward",$this->global,$data, NULL);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public function iconsolidate()
|
public function iconsolidate()
|
||||||
{
|
{
|
||||||
@ -502,8 +678,14 @@ class report extends BaseController
|
|||||||
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
$data['finyear']=$this->dahsboard_Model->report_finyear();
|
||||||
$data['spurchse']=$this->dahsboard_Model->ireport_consolidate($cname,$fa,$aa);
|
$data['spurchse']=$this->dahsboard_Model->ireport_consolidate($cname,$fa,$aa);
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
$this->loadviews("Report_consolidate_inward",$this->global,$data, NULL);
|
$this->loadviews("Report_consolidate_inward",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
public function icumulative()
|
public function icumulative()
|
||||||
@ -514,7 +696,17 @@ class report extends BaseController
|
|||||||
//print_r($prod);
|
//print_r($prod);
|
||||||
|
|
||||||
$data['cum']=$this->dahsboard_Model->ireport_cumulative();
|
$data['cum']=$this->dahsboard_Model->ireport_cumulative();
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
$this->loadviews("Report_cumulative_inward",$this->global,$data, NULL);
|
$this->loadviews("Report_cumulative_inward",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public function icum_month()
|
public function icum_month()
|
||||||
@ -587,7 +779,16 @@ class report extends BaseController
|
|||||||
// $data['monthlywiseexpense']=$this->dahsboard_Model->monthwise_data_expense();
|
// $data['monthlywiseexpense']=$this->dahsboard_Model->monthwise_data_expense();
|
||||||
// $data['todayincome']=$this->dahsboard_Model->today_data_income();
|
// $data['todayincome']=$this->dahsboard_Model->today_data_income();
|
||||||
// $data['todayexpense']=$this->dahsboard_Model->today_data_expense();
|
// $data['todayexpense']=$this->dahsboard_Model->today_data_expense();
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
$this->loadviews("reportcashbook",$this->global,$data, NULL);
|
$this->loadviews("reportcashbook",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -601,7 +802,17 @@ class report extends BaseController
|
|||||||
$data['monthlyreport']=$this->dahsboard_Model->monthexpensereport();
|
$data['monthlyreport']=$this->dahsboard_Model->monthexpensereport();
|
||||||
// $data['monthlyincreport']=$this->dahsboard_Model->monthincomereport();
|
// $data['monthlyincreport']=$this->dahsboard_Model->monthincomereport();
|
||||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
$this->loadviews("cashbookmonthlyexpenses",$this->global,$data, NULL);
|
$this->loadviews("cashbookmonthlyexpenses",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
public function yearexpenses()
|
public function yearexpenses()
|
||||||
@ -614,7 +825,15 @@ class report extends BaseController
|
|||||||
$data['yearlyreport']=$this->dahsboard_Model->yearexpensereport();
|
$data['yearlyreport']=$this->dahsboard_Model->yearexpensereport();
|
||||||
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
|
||||||
|
|
||||||
|
if($this->DEPCode == MANAGEMENT)
|
||||||
|
{
|
||||||
$this->loadviews("cashbookyearlyexpenses",$this->global,$data, NULL);
|
$this->loadviews("cashbookyearlyexpenses",$this->global,$data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->loadViews("access", $this->global, $data, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
public function cashbookdepartment()
|
public function cashbookdepartment()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user