Fixed linkedDocuments Agrar

This commit is contained in:
2025-12-13 14:00:14 +01:00
parent d916ed471b
commit 9ddda1a933

View File

@@ -141,9 +141,9 @@ const setupPage = async () => {
//TODO: Implement Checking for Same Customer, Contact and Project
itemInfo.value.customer = linkedDocuments[0].customer
itemInfo.value.project = linkedDocuments[0].project
itemInfo.value.contact = linkedDocuments[0].contact
itemInfo.value.customer = linkedDocuments[0].customer ? linkedDocuments[0].customer.id : null
itemInfo.value.project = linkedDocuments[0].project ? linkedDocuments[0].project.id : null
itemInfo.value.contact = linkedDocuments[0].contact ? linkedDocuments[0].contact.id : null
setCustomerData()