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 quantity from "~/components/helpRenderings/quantity.vue"
|
||||
import {useZipCheck} from "~/composables/useZipCheck.js";
|
||||
import {useFunctions} from "~/composables/useFunctions.js";
|
||||
import signDate from "~/components/columnRenderings/signDate.vue";
|
||||
import sepaDate from "~/components/columnRenderings/sepaDate.vue";
|
||||
@@ -343,7 +342,8 @@ export const useDataStore = defineStore('data', () => {
|
||||
component: active,
|
||||
inputType: "bool",
|
||||
inputColumn: "Allgemeines",
|
||||
sortable: true
|
||||
sortable: true,
|
||||
distinct: true
|
||||
}, {
|
||||
key: "customPaymentDays",
|
||||
label: "Zahlungsziel in Tagen",
|
||||
@@ -388,7 +388,7 @@ export const useDataStore = defineStore('data', () => {
|
||||
inputType: "number",
|
||||
inputChangeFunction: async function (row) {
|
||||
if(row.infoData.zip) {
|
||||
row.infoData.city = (await useZipCheck(row.infoData.zip))
|
||||
row.infoData.city = (await useFunctions().useZipCheck(row.infoData.zip)).short
|
||||
}
|
||||
},
|
||||
disabledInTable: true,
|
||||
@@ -1334,7 +1334,7 @@ export const useDataStore = defineStore('data', () => {
|
||||
disabledInTable: true,
|
||||
inputChangeFunction: async function (row) {
|
||||
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",
|
||||
inputChangeFunction: async function (row) {
|
||||
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'}]
|
||||
},
|
||||
bankaccounts: {
|
||||
label: "Bankkonten",
|
||||
labelSingle: "Bankkonto",
|
||||
}
|
||||
}
|
||||
|
||||
const documentTypesForCreation = ref({
|
||||
|
||||
Reference in New Issue
Block a user