mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Invoice filtering in registrar
This commit is contained in:
parent
1f2f483e34
commit
23098add74
13 changed files with 83 additions and 7 deletions
|
@ -9,6 +9,7 @@
|
|||
#= require jquery.nested_attributes
|
||||
#= require selectize
|
||||
#= require shared/jquery.validate.bootstrap
|
||||
#= require jquery-ui/datepicker
|
||||
#= require shared/general
|
||||
#= require admin/application
|
||||
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
#= require bootstrap-sprockets
|
||||
#= require jquery.nested_attributes
|
||||
#= require shared/jquery.validate.bootstrap
|
||||
#= require jquery-ui/datepicker
|
||||
#= require shared/general
|
||||
#= require registrar/application
|
||||
|
|
|
@ -9,3 +9,13 @@
|
|||
$('#flash').find('div').addClass('bg-danger')
|
||||
$('#flash').find('div').html(msg)
|
||||
$('#flash').show()
|
||||
|
||||
$(document).on 'ready page:load', ->
|
||||
today = new Date()
|
||||
tomorrow = new Date(today)
|
||||
tomorrow.setDate(today.getDate() + 1)
|
||||
|
||||
$('.datepicker').datepicker(
|
||||
dateFormat: "yy-mm-dd",
|
||||
maxDate: tomorrow
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue