This commit is contained in:
2021-11-09 19:48:54 +00:00
parent 540643f544
commit c005cfc98f

View File

@@ -22,19 +22,6 @@
<v-list-item-title>{{ $ay.t("New") }}</v-list-item-title>
</v-list-item>
<v-list-item
v-if="hasData && canAdd"
@click="realizeSuggestedParts"
data-cy="woItemRealizeSuggestedParts"
>
<!-- <v-list-item-icon>
<v-icon>$ayiPlus</v-icon>
</v-list-item-icon> -->
<v-list-item-title>{{
$ay.t("WorkOrderItemPartRealizeSuggested")
}}</v-list-item-title>
</v-list-item>
<v-list-item
v-if="hasData && hasSelection && canAdd"
@click="copyItemDialog = true"
@@ -68,6 +55,18 @@
<v-list-item-title>{{ $ay.t("Undelete") }}</v-list-item-title>
</v-list-item>
<template v-if="hasData && pvm.rights.change">
<v-divider></v-divider>
<v-list-item
@click="realizeSuggestedParts"
data-cy="woItemRealizeSuggestedParts"
>
<v-list-item-title>{{
$ay.t("WorkOrderItemPartRealizeSuggested")
}}</v-list-item-title>
</v-list-item>
</template>
<template v-if="hasData && hasSelection && pvm.rights.change">
<v-divider></v-divider>
<v-subheader>{{ $ay.t("Add") }}</v-subheader>