mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix date toggle on expense form
This commit is contained in:
parent
b8fd656349
commit
00fd8e1718
@ -374,6 +374,10 @@
|
|||||||
$('#payment_date').datepicker('update', '{{ Utils::fromSqlDate($expense->payment_date) }}');
|
$('#payment_date').datepicker('update', '{{ Utils::fromSqlDate($expense->payment_date) }}');
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
$('.payment_date .input-group-addon').click(function() {
|
||||||
|
toggleDatePicker('payment_date');
|
||||||
|
});
|
||||||
|
|
||||||
// Initialize document upload
|
// Initialize document upload
|
||||||
dropzone = new Dropzone('#document-upload', {
|
dropzone = new Dropzone('#document-upload', {
|
||||||
url:{!! json_encode(url('documents')) !!},
|
url:{!! json_encode(url('documents')) !!},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user