Debugging the FY list

This commit is contained in:
Karl Cordes 2011-05-13 10:34:47 +10:00
parent d3ccea11c6
commit 52818c9004
3 changed files with 19 additions and 5 deletions

View file

@ -315,10 +315,16 @@ class JobsController extends AppController {
}
krsort($Fyears); //Sort the array in reverse order, most recent to oldest.
print_r($Fyears);
return $Fyears;
}
/**
*
* @param <type> $year
* @param <type> $prevYear
* @return <type>
*/
function getFirstDayFY($year,$prevYear = false) {
if($prevYear == false) {
return mktime(0,0,0,7,1,$year);
@ -328,9 +334,18 @@ class JobsController extends AppController {
return mktime(0,0,0,7,1,$year-1);
}
}
/**
*
* @param <type> $year
* @return <type>
*/
function getLastDayFY($year) {
return mktime(23,59,59,6,30,$year);
}
function getMonthsFY($year) {
}

View file

@ -27,5 +27,4 @@
<div class="scrollHorizontal">
<div id="reports">
</div>
</div>

View file

@ -1338,7 +1338,7 @@ select.job_status {
.scrollHorizontal {
height: 500px;
height: 700px;
overflow:scroll;
}