fixed in progress workorders not possible to change appointment

This commit is contained in:
Luca Haid
2025-10-09 11:13:12 +00:00
parent c87f298405
commit cf3dbd100f

View File

@@ -55,7 +55,7 @@ Vue.component('workorder-company', {
</template>
<template v-slot:appointmentdate="{ row }">
<div v-if="!row.appointmentDate && ['assigned', 'correction_requested', 'problem_solved'].includes(row.status)">
<div v-if="!row.appointmentDate && ['assigned', 'in_progress', 'correction_requested', 'problem_solved'].includes(row.status)">
<tt-date-picker placeholder="Termin festlegen..." :date-range="false"
@input="setAppointment(row, $event)" sm no-form-group
:additional-props="{ timePicker: true, timePicker24Hour: true, locale: { format: 'DD.MM.YYYY HH:mm' }, drops: 'up' }"/>
@@ -181,4 +181,4 @@ Vue.component('workorder-company', {
this.cancelEdit();
},
}
});
});