Zeiterfassung update
* Mails für Antragspflichtige Buchungen * Mails für Genehmigungen und Ablehnungen * Korrekturen Update
This commit is contained in:
@@ -69,7 +69,7 @@ table = $('#datatable').DataTable({
|
||||
"dom": cstmdom,
|
||||
"ajax": {
|
||||
"url": requestUrl,
|
||||
"type": "GET",
|
||||
"type": "POST",
|
||||
"data": function (d) {
|
||||
$('.display-calendar').each(function (index) {
|
||||
if ($(this).hasClass('active-calendar')) {
|
||||
@@ -256,6 +256,12 @@ $(document).ready(function () {
|
||||
$('#end').val($(this).data('end'));
|
||||
$('#enddate').val($(this).data('enddate'));
|
||||
$('#comment').val($(this).data('comment'));
|
||||
if ($(this).data('businesstrip') == 1) {
|
||||
$('#businesstrip').prop("checked", true);
|
||||
$('#businesstrip_info').val($(this).data('businesstripinfo'));
|
||||
$('#businesstrip_info').show();
|
||||
$('#businesstrip_info').prop('required', true);
|
||||
}
|
||||
$('.alert-success').remove();
|
||||
window.scrollTo(0, 0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user