Zeiterfassung Update
* Script für Email Alarmierung §57a * Automatische auswahl beim Buchen von Dienstreisen auf das zugewiesene Fahrzeug
This commit is contained in:
@@ -419,6 +419,11 @@ $(document).ready(function () {
|
||||
$('#homeoffice').prop('checked', false);
|
||||
$('#homeoffice-div').hide();
|
||||
$('.car-div-car').show();
|
||||
$.each($('#timerecordingCar_id option'), function (index, value) {
|
||||
if ($(this).data('user') == $('#id').data('userid')) {
|
||||
$('#timerecordingCar_id').val($(this).val()).change();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
$('#businesstrip_info').hide();
|
||||
$('#businesstrip_info').val('');
|
||||
@@ -489,7 +494,7 @@ $(document).ready(function () {
|
||||
});
|
||||
|
||||
$("body").on("change", "#mileage_start", function () {
|
||||
$('#mileage_end').prop("min", $('#mileage_start').val());
|
||||
$('#mileage_end').prop("min", $('#mileage_start').val());
|
||||
});
|
||||
|
||||
$("body").on("click", ".delete-item", function () {
|
||||
|
||||
Reference in New Issue
Block a user