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 = {
|
const dataTypes = {
|
||||||
tasks: {
|
tasks: {
|
||||||
isArchivable: true,
|
isArchivable: true,
|
||||||
@@ -2376,13 +2393,19 @@ export const useDataStore = defineStore('data', () => {
|
|||||||
{
|
{
|
||||||
key: "createdDocumentType",
|
key: "createdDocumentType",
|
||||||
label: "Ausgangsbeleg-Typ",
|
label: "Ausgangsbeleg-Typ",
|
||||||
inputType: "text",
|
inputType: "select",
|
||||||
|
selectValueAttribute: "key",
|
||||||
|
selectOptionAttribute: "label",
|
||||||
|
selectManualOptions: filetagCreatedDocumentTypeOptions,
|
||||||
inputColumn: "Automatik",
|
inputColumn: "Automatik",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "incomingDocumentType",
|
key: "incomingDocumentType",
|
||||||
label: "Eingangsbeleg-Typ",
|
label: "Eingangsbeleg-Typ",
|
||||||
inputType: "text",
|
inputType: "select",
|
||||||
|
selectValueAttribute: "key",
|
||||||
|
selectOptionAttribute: "label",
|
||||||
|
selectManualOptions: filetagIncomingDocumentTypeOptions,
|
||||||
inputColumn: "Automatik",
|
inputColumn: "Automatik",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user