Add today button on Datetimepicker

This commit is contained in:
cuneytsenturk
2018-09-17 11:49:36 +03:00
parent 2ee2376006
commit 0306877dab
12 changed files with 16 additions and 0 deletions

View File

@ -227,6 +227,7 @@
//Date picker
$('#invoiced_at').datepicker({
format: 'yyyy-mm-dd',
todayBtn: 'linked',
weekStart: 1,
autoclose: true,
language: '{{ language()->getShortCode() }}'
@ -235,6 +236,7 @@
//Date picker
$('#due_at').datepicker({
format: 'yyyy-mm-dd',
todayBtn: 'linked',
weekStart: 1,
autoclose: true,
language: '{{ language()->getShortCode() }}'