diff --git a/components/copyCreatedDocumentModal.vue b/components/copyCreatedDocumentModal.vue
index 1c3038b..56fe961 100644
--- a/components/copyCreatedDocumentModal.vue
+++ b/components/copyCreatedDocumentModal.vue
@@ -60,7 +60,7 @@ const mappings = ref({
})
const startImport = () => {
- router.push(`/createDocument/edit/?linkedDocument=${props.id}&type=${documentTypeToUse.value}&optionsToImport=${encodeURIComponent(JSON.stringify(optionsToImport.value))}`)
+ router.push(`/createDocument/edit/?createddocument=${props.id}&type=${documentTypeToUse.value}&optionsToImport=${encodeURIComponent(JSON.stringify(optionsToImport.value))}`)
modal.close()
}
diff --git a/pages/createDocument/edit/[[id]].vue b/pages/createDocument/edit/[[id]].vue
index 4e761ac..6d5e8aa 100644
--- a/pages/createDocument/edit/[[id]].vue
+++ b/pages/createDocument/edit/[[id]].vue
@@ -1809,7 +1809,7 @@ const setRowData = async (row, service = {sellingPriceComposed: {}}, product = {
>
Kundennr: {{ customers.find(i => i.id === itemInfo.customer).customerNumber }}
- Typ: {{ customers.find(i => i.id === itemInfo.customer).isCompany ? 'Firma' : 'Privat' }}
+ Typ: {{ customers.find(i => i.id === itemInfo.customer).is_company ? 'Firma' : 'Privat' }}
Notizen: {{ customers.find(i => i.id === itemInfo.customer).notes }}
@@ -1818,7 +1818,7 @@ const setRowData = async (row, service = {sellingPriceComposed: {}}, product = {