Make date until inclusive in invoice search, registrar #2666

This commit is contained in:
Martin Lensment 2015-07-29 11:59:35 +03:00
parent 00cfbbdc7f
commit 812daff1e5
2 changed files with 25 additions and 9 deletions

View file

@ -22,8 +22,7 @@ $(document).on 'page:change', ->
tomorrow.setDate(today.getDate() + 1)
$('.datepicker').datepicker(
dateFormat: "yy-mm-dd",
maxDate: tomorrow
dateFormat: "yy-mm-dd"
)
if $('.js-combobox').length