Pushed Serial Invoices

This commit is contained in:
2024-09-29 19:02:35 +02:00
parent 082573f6d9
commit 5d7714519a
3 changed files with 173 additions and 17 deletions

View File

@@ -224,6 +224,9 @@ const templateTypes = [
}, {
key: "deliveryNotes",
label: "Lieferscheine"
}, {
key: "confirmationOrders",
label: "Auftragsbestätigungen"
}
]
const selectedTypes = ref(templateTypes)
@@ -237,12 +240,6 @@ const selectItem = (item) => {
} else if(item.state !== "Entwurf") {
router.push(`/createDocument/show/${item.id}`)
}
}
const displayCurrency = (value, currency = "€") => {
@@ -255,6 +252,7 @@ const showDrafts = ref(false)
const filteredRows = computed(() => {
let temp = items.value.filter(i => types.value.find(x => x.key === i.type))
temp = temp.filter(i => i.type !== "serialInvoices")
/*if(showDrafts.value === true) {
temp = temp.filter(i => i.state === "Entwurf")