Fiscal year change in Cost center

This commit is contained in:
gandhimathi Bharathirajan 2017-07-30 02:13:27 +05:30
parent 15ce7862e7
commit a35db65130

View File

@ -41,6 +41,15 @@ function addNewcost($Cost)
return $insert_id;
}
function getFiscalYear()
{
$this->db->select('year(FiscalYearStartOn) as StartYear,year(FiscalYearEndsOn) as EndYear');
$this->db->from('T_Company_Details');
$query = $this->db->get();
return $query->result();
}
function addCostCenterDepartment($Dept)
{