Dateityp-Belegarten als Auswahl pflegen
This commit is contained in:
@@ -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",
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user