Added Archiving to Created Documents
This commit is contained in:
@@ -1512,11 +1512,11 @@ const setRowData = async (row, service = {sellingPriceComposed: {}}, product = {
|
|||||||
</template>
|
</template>
|
||||||
<template #right>
|
<template #right>
|
||||||
<ButtonWithConfirm
|
<ButtonWithConfirm
|
||||||
v-if="itemInfo.state === 'Entwurf'"
|
v-if="itemInfo.state === 'Entwurf' || itemInfo.type === 'serialInvoices'"
|
||||||
color="rose"
|
color="rose"
|
||||||
variant="outline"
|
variant="outline"
|
||||||
@confirmed="dataStore.updateItem('createddocuments',{id:itemInfo.id,archived: true}),
|
@confirmed="useEntities('createddocuments').update(itemInfo.id,{archived: true}),
|
||||||
router.push('/createDocument')"
|
router.push('/')"
|
||||||
>
|
>
|
||||||
<template #button>
|
<template #button>
|
||||||
Archivieren
|
Archivieren
|
||||||
|
|||||||
Reference in New Issue
Block a user