Fiscal year change in Cost center
This commit is contained in:
parent
15ce7862e7
commit
a35db65130
@ -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)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user