diff --git a/frontend/app.vue b/frontend/app.vue index 1ee8844..2a84181 100644 --- a/frontend/app.vue +++ b/frontend/app.vue @@ -47,14 +47,16 @@ useSeoMeta({ diff --git a/frontend/components/BankAccountAssignInput.vue b/frontend/components/BankAccountAssignInput.vue index cd469b1..12b1a9e 100644 --- a/frontend/components/BankAccountAssignInput.vue +++ b/frontend/components/BankAccountAssignInput.vue @@ -49,7 +49,7 @@ const assignByIban = async () => { const match = accounts.value.find((a) => normalizeIban(a.iban) === search) if (!match) { - toast.add({ title: "Kein Bankkonto mit dieser IBAN gefunden.", color: "rose" }) + toast.add({ title: "Kein Bankkonto mit dieser IBAN gefunden.", color: "error" }) return } @@ -68,7 +68,7 @@ const removeAssigned = (id) => { const createAndAssign = async () => { if (!createPayload.value.iban || !createPayload.value.bic || !createPayload.value.bankName) { - toast.add({ title: "IBAN, BIC und Bankinstitut sind Pflichtfelder.", color: "rose" }) + toast.add({ title: "IBAN, BIC und Bankinstitut sind Pflichtfelder.", color: "error" }) return } @@ -141,42 +141,44 @@ loadAccounts() - - -
- - - - - Ermitteln - - - - - - - - - - - - -
-
diff --git a/frontend/components/ButtonWithConfirm.vue b/frontend/components/ButtonWithConfirm.vue index 91da4c0..e5621f1 100644 --- a/frontend/components/ButtonWithConfirm.vue +++ b/frontend/components/ButtonWithConfirm.vue @@ -50,7 +50,7 @@ const emitConfirm = () => { Archivieren diff --git a/frontend/components/Calculator.vue b/frontend/components/Calculator.vue index a31fd53..8bee185 100644 --- a/frontend/components/Calculator.vue +++ b/frontend/components/Calculator.vue @@ -51,8 +51,8 @@
+19% +7% - -19% - -7% + -19% + -7% C M+ diff --git a/frontend/components/DocumentDisplayModal.vue b/frontend/components/DocumentDisplayModal.vue index df83272..327f617 100644 --- a/frontend/components/DocumentDisplayModal.vue +++ b/frontend/components/DocumentDisplayModal.vue @@ -187,7 +187,7 @@ const moveFile = async () => {
{ - Zuweisungen + @@ -279,7 +279,7 @@ const moveFile = async () => {
Projekt
- Datei zuweisen + { - Datei verschieben + { >Verschieben - Dateityp + { @change="updateDocument" /> - Dokumentenbox + { } } +const getSelectItems = (datapoint) => { + return datapoint.selectManualOptions || loadedOptions.value[datapoint.selectDataType] || [] +} + +const getSelectValueKey = (datapoint) => { + return datapoint.selectValueAttribute || 'id' +} + +const getSelectLabelKey = (datapoint) => { + return datapoint.selectOptionAttribute || 'label' +} + +const getSelectSearchInput = (datapoint) => { + return datapoint.selectSearchAttributes ? { placeholder: 'Suche...' } : false +} + const createItem = async () => { let ret = null @@ -264,7 +280,7 @@ const updateItem = async () => { { {{ datapoint.inputTrailing }} - { :disabled="datapoint.disabledFunction ? datapoint.disabledFunction(item) : false" rows="4" /> - + { /> -