From ac969d3ca70ea7c4f747dda1bd56f712c742389d Mon Sep 17 00:00:00 2001 From: gandhimathi Bharathirajan Date: Sun, 30 Jul 2017 02:11:52 +0530 Subject: [PATCH] Fiscal year change in Cost center --- application/views/addCostCenter.php | 85 ++++++++++++++++++++++++----- application/views/editOldcost.php | 60 ++++++++++++-------- 2 files changed, 110 insertions(+), 35 deletions(-) diff --git a/application/views/addCostCenter.php b/application/views/addCostCenter.php index 057337fc..f83c7dd8 100755 --- a/application/views/addCostCenter.php +++ b/application/views/addCostCenter.php @@ -1,3 +1,31 @@ + +'Select Budget Year'); +if(!empty($FiscalYear)) +{ + foreach ($FiscalYear as $Fy) + { + $FYStart =$Fy->StartYear; + $FYEnd =$Fy->EndYear; + } + //$FYear = $FYStart." - ".$FYEnd ; + +} + +for($i=1;$i<5;$i++) +{ + + $FYear = $FYStart." - ".$FYEnd ; + $opt[$FYear] = $FYear; + $FYStart++; + $FYEnd++; +} +//print_r($opt); + + ?>