This commit is contained in:
@@ -22,19 +22,6 @@
|
|||||||
<v-list-item-title>{{ $ay.t("New") }}</v-list-item-title>
|
<v-list-item-title>{{ $ay.t("New") }}</v-list-item-title>
|
||||||
</v-list-item>
|
</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-list-item
|
||||||
v-if="hasData && hasSelection && canAdd"
|
v-if="hasData && hasSelection && canAdd"
|
||||||
@click="copyItemDialog = true"
|
@click="copyItemDialog = true"
|
||||||
@@ -68,6 +55,18 @@
|
|||||||
<v-list-item-title>{{ $ay.t("Undelete") }}</v-list-item-title>
|
<v-list-item-title>{{ $ay.t("Undelete") }}</v-list-item-title>
|
||||||
</v-list-item>
|
</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">
|
<template v-if="hasData && hasSelection && pvm.rights.change">
|
||||||
<v-divider></v-divider>
|
<v-divider></v-divider>
|
||||||
<v-subheader>{{ $ay.t("Add") }}</v-subheader>
|
<v-subheader>{{ $ay.t("Add") }}</v-subheader>
|
||||||
|
|||||||
Reference in New Issue
Block a user