fixed in progress workorders not possible to change appointment
This commit is contained in:
@@ -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();
|
||||
},
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user