diff options
| -rw-r--r-- | public/js/report.coffee | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/public/js/report.coffee b/public/js/report.coffee index 8e9ba633..d11df706 100644 --- a/public/js/report.coffee +++ b/public/js/report.coffee @@ -5,6 +5,8 @@ g = exports ? this $(-> + $('#from').val(moment().subtract('days', 7).format("MM/DD/YYYY")) + $('#to').val(moment().format("MM/DD/YYYY")) $('.date').datepicker(onClose: -> transactions = $.grep(g.transactions, (e, i) -> from = moment($('#from').val(), "MM/DD/YYYY") |
