Added ArchiveButton.vue
This commit is contained in:
@@ -170,19 +170,12 @@ const findIncomingInvoiceErrors = computed(() => {
|
||||
<template>
|
||||
<UDashboardNavbar :title="'Eingangsbeleg erstellen'">
|
||||
<template #right>
|
||||
<ButtonWithConfirm
|
||||
<ArchiveButton
|
||||
color="rose"
|
||||
variant="outline"
|
||||
type="incominginvoices"
|
||||
@confirmed="useEntities('incominginvoices').archive(route.params.id)"
|
||||
>
|
||||
<template #button>
|
||||
Archivieren
|
||||
</template>
|
||||
<template #header>
|
||||
<span class="text-md text-black font-bold">Archivieren bestätigen</span>
|
||||
</template>
|
||||
Möchten Sie den Eingangsbeleg wirklich archivieren?
|
||||
</ButtonWithConfirm>
|
||||
/>
|
||||
<UButton
|
||||
@click="updateIncomingInvoice(false)"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user