Tidying, Zip Check
This commit is contained in:
@@ -40,7 +40,6 @@ import space from "~/components/columnRenderings/space.vue"
|
|||||||
import driver from "~/components/columnRenderings/driver.vue"
|
import driver from "~/components/columnRenderings/driver.vue"
|
||||||
|
|
||||||
import quantity from "~/components/helpRenderings/quantity.vue"
|
import quantity from "~/components/helpRenderings/quantity.vue"
|
||||||
import {useZipCheck} from "~/composables/useZipCheck.js";
|
|
||||||
import {useFunctions} from "~/composables/useFunctions.js";
|
import {useFunctions} from "~/composables/useFunctions.js";
|
||||||
import signDate from "~/components/columnRenderings/signDate.vue";
|
import signDate from "~/components/columnRenderings/signDate.vue";
|
||||||
import sepaDate from "~/components/columnRenderings/sepaDate.vue";
|
import sepaDate from "~/components/columnRenderings/sepaDate.vue";
|
||||||
@@ -343,7 +342,8 @@ export const useDataStore = defineStore('data', () => {
|
|||||||
component: active,
|
component: active,
|
||||||
inputType: "bool",
|
inputType: "bool",
|
||||||
inputColumn: "Allgemeines",
|
inputColumn: "Allgemeines",
|
||||||
sortable: true
|
sortable: true,
|
||||||
|
distinct: true
|
||||||
}, {
|
}, {
|
||||||
key: "customPaymentDays",
|
key: "customPaymentDays",
|
||||||
label: "Zahlungsziel in Tagen",
|
label: "Zahlungsziel in Tagen",
|
||||||
@@ -388,7 +388,7 @@ export const useDataStore = defineStore('data', () => {
|
|||||||
inputType: "number",
|
inputType: "number",
|
||||||
inputChangeFunction: async function (row) {
|
inputChangeFunction: async function (row) {
|
||||||
if(row.infoData.zip) {
|
if(row.infoData.zip) {
|
||||||
row.infoData.city = (await useZipCheck(row.infoData.zip))
|
row.infoData.city = (await useFunctions().useZipCheck(row.infoData.zip)).short
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
disabledInTable: true,
|
disabledInTable: true,
|
||||||
@@ -1334,7 +1334,7 @@ export const useDataStore = defineStore('data', () => {
|
|||||||
disabledInTable: true,
|
disabledInTable: true,
|
||||||
inputChangeFunction: async function (row) {
|
inputChangeFunction: async function (row) {
|
||||||
if(row.infoData.zip) {
|
if(row.infoData.zip) {
|
||||||
row.infoData.city = (await useZipCheck(row.infoData.zip))
|
row.infoData.city = (await useFunctions().useZipCheck(row.infoData.zip)).short
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -1516,7 +1516,7 @@ export const useDataStore = defineStore('data', () => {
|
|||||||
inputColumn: "Ort",
|
inputColumn: "Ort",
|
||||||
inputChangeFunction: async function (row) {
|
inputChangeFunction: async function (row) {
|
||||||
if(row.infoData.zip) {
|
if(row.infoData.zip) {
|
||||||
row.infoData.city = (await useZipCheck(row.infoData.zip))
|
row.infoData.city = (await useFunctions().useZipCheck(row.infoData.zip)).short
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -2583,6 +2583,10 @@ export const useDataStore = defineStore('data', () => {
|
|||||||
],
|
],
|
||||||
showTabs: [{label: 'Informationen'},{label: 'Buchungen'}]
|
showTabs: [{label: 'Informationen'},{label: 'Buchungen'}]
|
||||||
},
|
},
|
||||||
|
bankaccounts: {
|
||||||
|
label: "Bankkonten",
|
||||||
|
labelSingle: "Bankkonto",
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const documentTypesForCreation = ref({
|
const documentTypesForCreation = ref({
|
||||||
|
|||||||
Reference in New Issue
Block a user