From 70bb5379c5ed6328da193eb87c23ab8a9606409b Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Tue, 15 Oct 2013 05:05:48 -0400 Subject: [PATCH] Use datepicker() to select dates for reports. --- lib/report.php | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/lib/report.php b/lib/report.php index d8699d2..f06e8ca 100644 --- a/lib/report.php +++ b/lib/report.php @@ -29,15 +29,9 @@ $oldest = date('Y-m-d', $date); $then = $date; - echo " to \n"; + datepicker("from", $from, true, null, false, "to"); + echo " to "; + datepicker("to", $to, true, "from", false); submit("show_reports", "Show"); end_form(); -- 2.7.4