From 52818c90040862f25dbcef1e8daad3ebc5153be3 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Fri, 13 May 2011 10:34:47 +1000 Subject: [PATCH] Debugging the FY list --- controllers/jobs_controller.php | 19 +++++++++++++++++-- views/jobs/reports.ctp | 3 +-- webroot/css/quotenik.css | 2 +- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/controllers/jobs_controller.php b/controllers/jobs_controller.php index 979c6857..be07e243 100755 --- a/controllers/jobs_controller.php +++ b/controllers/jobs_controller.php @@ -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 $year + * @param $prevYear + * @return + */ 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 $year + * @return + */ function getLastDayFY($year) { return mktime(23,59,59,6,30,$year); + + } + + function getMonthsFY($year) { + } diff --git a/views/jobs/reports.ctp b/views/jobs/reports.ctp index a6610b84..80dd5860 100644 --- a/views/jobs/reports.ctp +++ b/views/jobs/reports.ctp @@ -19,7 +19,7 @@
    - +
@@ -27,5 +27,4 @@
-
\ No newline at end of file diff --git a/webroot/css/quotenik.css b/webroot/css/quotenik.css index e315b627..47ff2311 100755 --- a/webroot/css/quotenik.css +++ b/webroot/css/quotenik.css @@ -1338,7 +1338,7 @@ select.job_status { .scrollHorizontal { - height: 500px; + height: 700px; overflow:scroll; }