Debugging the FY list
This commit is contained in:
parent
d3ccea11c6
commit
52818c9004
|
|
@ -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) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
</ul>
|
||||
|
||||
<ul months="months">
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
@ -27,5 +27,4 @@
|
|||
<div class="scrollHorizontal">
|
||||
<div id="reports">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
@ -1338,7 +1338,7 @@ select.job_status {
|
|||
|
||||
|
||||
.scrollHorizontal {
|
||||
height: 500px;
|
||||
height: 700px;
|
||||
overflow:scroll;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue