diff --git a/src/pages/Worker/Card/WorkerTimeControl.vue b/src/pages/Worker/Card/WorkerTimeControl.vue index c7f091dc7..6971d3201 100644 --- a/src/pages/Worker/Card/WorkerTimeControl.vue +++ b/src/pages/Worker/Card/WorkerTimeControl.vue @@ -573,6 +573,7 @@ onMounted(async () => { v-for="(hour, ind) in day.dayData?.hours" :key="ind" :hour="hour.timed" + :manual="hour.manual" :direction="hour.direction" :id="hour.id" @on-hour-entry-deleted="updateData()" diff --git a/src/pages/Worker/Card/WorkerTimeHourChip.vue b/src/pages/Worker/Card/WorkerTimeHourChip.vue index a2f516098..0bd090a80 100644 --- a/src/pages/Worker/Card/WorkerTimeHourChip.vue +++ b/src/pages/Worker/Card/WorkerTimeHourChip.vue @@ -12,6 +12,10 @@ const $props = defineProps({ type: Number, required: true, }, + manual: { + type: Boolean, + required: true, + }, hour: { type: String, required: true, @@ -67,7 +71,12 @@ const showWorkerTimeForm = () => emit('showWorkerTimeForm'); {{ directionIconTooltip }} - + {{ t('Edit') }} @@ -93,10 +102,15 @@ const showWorkerTimeForm = () => emit('showWorkerTimeForm');