translate date picker and charts (#775)

This commit is contained in:
Kevin Papst
2019-05-12 00:56:00 +02:00
committed by GitHub
parent 5f4a5364b0
commit f31118292c
10 changed files with 55 additions and 55 deletions

View File

@@ -93,7 +93,7 @@
{{ parent() }}
{% if is_granted('create_invoice') %}
<script type="text/javascript">
$(document).ready(function () {
document.addEventListener('kimai.initialized', function() {
$("body").on('click', '#print-invoice-button', function() {
var prevAction = $( "#invoice-print-form" ).attr('action');
$( "#invoice-print-form" ).attr('target', '_blank').attr('action', '{{ path('invoice_print') }}');