- Typ: {{currentItem.type}}
- Fahrer: {{dataStore.profiles.find(profile => profile.id === currentItem.driver) ? dataStore.profiles.find(profile => profile.id === currentItem.driver).fullName : 'Kein Fahrer gewählt'}}
+
+
Typ: {{currentItem.type}}
+
Fahrgestellnummer: {{currentItem.vin}}
+
Fahrer: {{dataStore.profiles.find(profile => profile.id === currentItem.driver) ? dataStore.profiles.find(profile => profile.id === currentItem.driver).fullName : 'Kein Fahrer gewählt'}}
+
+
+
diff --git a/stores/data.js b/stores/data.js
index 9c798f0..125eb90 100644
--- a/stores/data.js
+++ b/stores/data.js
@@ -120,6 +120,10 @@ export const useDataStore = defineStore('data', () => {
workingtimes: {
label: "Anwesenheiten",
labelSingle: "Anwesenheit"
+ },
+ texttemplates: {
+ label: "Textvorlagen",
+ labelSingle: "Textvorlage"
}
}
@@ -1004,7 +1008,7 @@ export const useDataStore = defineStore('data', () => {
}
async function fetchTextTemplates() {
- texttemplates.value = (await supabase.from("textTemplates").select().eq('tenant', currentTenant.value)).data
+ texttemplates.value = (await supabase.from("texttemplates").select().eq('tenant', currentTenant.value)).data
}
async function fetchServices() {