Dateityp-Belegarten als Auswahl pflegen

This commit is contained in:
2026-05-19 15:12:27 +02:00
parent 5fc7cc9604
commit 24febf4c95

View File

@@ -70,6 +70,23 @@ export const useDataStore = defineStore('data', () => {
const filetagCreatedDocumentTypeOptions = [
{ key: "invoices", label: "Rechnung" },
{ key: "serialInvoices", label: "Serienrechnung" },
{ key: "advanceInvoices", label: "Abschlagsrechnung" },
{ key: "cancellationInvoices", label: "Storno" },
{ key: "quotes", label: "Angebot" },
{ key: "costEstimates", label: "Kostenschätzung" },
{ key: "confirmationOrders", label: "Auftragsbestätigung" },
{ key: "deliveryNotes", label: "Lieferschein" },
{ key: "packingSlips", label: "Packschein" },
]
const filetagIncomingDocumentTypeOptions = [
{ key: "invoices", label: "Eingangsrechnung" },
{ key: "reminders", label: "Mahnung" },
]
const dataTypes = {
tasks: {
isArchivable: true,
@@ -2376,13 +2393,19 @@ export const useDataStore = defineStore('data', () => {
{
key: "createdDocumentType",
label: "Ausgangsbeleg-Typ",
inputType: "text",
inputType: "select",
selectValueAttribute: "key",
selectOptionAttribute: "label",
selectManualOptions: filetagCreatedDocumentTypeOptions,
inputColumn: "Automatik",
},
{
key: "incomingDocumentType",
label: "Eingangsbeleg-Typ",
inputType: "text",
inputType: "select",
selectValueAttribute: "key",
selectOptionAttribute: "label",
selectManualOptions: filetagIncomingDocumentTypeOptions,
inputColumn: "Automatik",
},
{