diff --git a/components/EntityShowSub.vue b/components/EntityShowSub.vue index 174fbe8..e788fee 100644 --- a/components/EntityShowSub.vue +++ b/components/EntityShowSub.vue @@ -110,12 +110,15 @@ setup() - +
+ +
+ diff --git a/components/MainNav.vue b/components/MainNav.vue index 2d5d58e..85b6680 100644 --- a/components/MainNav.vue +++ b/components/MainNav.vue @@ -147,11 +147,11 @@ const links = computed(() => { to: "/staff/time", icon: "i-heroicons-clock" }] : [], - ... has("absencerequests") ? [{ + /*... has("absencerequests") ? [{ label: "Abwesenheiten", to: "/standardEntity/absencerequests", icon: "i-heroicons-document-text" - }] : [], + }] : [],*/ /*{ label: "Fahrten", to: "/trackingTrips", diff --git a/pages/settings/banking/index.vue b/pages/settings/banking/index.vue index 94eba51..d550833 100644 --- a/pages/settings/banking/index.vue +++ b/pages/settings/banking/index.vue @@ -15,9 +15,14 @@ const reqData = ref({}) const bankaccounts = ref([]) +const showReqData = ref(false) + const setupPage = async () => { if(route.query.ref) { reqData.value = await useFunctions().useBankingListRequisitions(route.query.ref) + if(reqData.value.accounts.length > 0){ + showReqData.value = true + } } bankaccounts.value = await useEntities("bankaccounts").select() @@ -71,6 +76,7 @@ const updateAccount = async (account) => { toast.add({title: "Es gab einen Fehler bei aktualisieren des Accounts", color:"rose"}) } else { toast.add({title: "Account erfolgreich aktualisiert"}) + reqData.value = null setupPage() } } @@ -137,25 +143,34 @@ setupPage() -
- {{account.iban}} - {{account.owner_name}} + + + +
+ {{account.iban}} - {{account.owner_name}} + + + Hinzufügen + + + Aktualisieren + +
+
+
+ - - + Konto - - - Aktualisieren - -