3.0.0 #220

Merged
flfeders merged 676 commits from dev into main 2026-09-20 16:10:48 +00:00
2 changed files with 4 additions and 3 deletions
Showing only changes of commit 0b7d20d946 - Show all commits

View File

@@ -125,7 +125,7 @@ export default defineNuxtConfig({
},
devOptions: {
enabled: true, // Damit du es auch lokal testen kannst
enabled: false,
type: 'module',
},
},

View File

@@ -1039,6 +1039,7 @@ const documentReport = computed(() => {
} else if (row.service) {
let service = services.value.find(i => i.id === row.service)
if (!service) return
if (service.materialComposition) {
service.materialComposition.forEach(entry => {
@@ -1197,8 +1198,8 @@ const getDocumentData = async () => {
}
if (!['pagebreak', 'title', 'text'].includes(row.mode)) {
if (row.mode === 'normal') row.text = products.value.find(i => i.id === row.product).name
if (row.mode === 'service') row.text = services.value.find(i => i.id === row.service).name
if (row.mode === 'normal') row.text = products.value.find(i => i.id === row.product)?.name || ''
if (row.mode === 'service') row.text = services.value.find(i => i.id === row.service)?.name || ''
return {