Fixed linkedDocuments Agrar
This commit is contained in:
@@ -141,9 +141,9 @@ const setupPage = async () => {
|
|||||||
|
|
||||||
//TODO: Implement Checking for Same Customer, Contact and Project
|
//TODO: Implement Checking for Same Customer, Contact and Project
|
||||||
|
|
||||||
itemInfo.value.customer = linkedDocuments[0].customer
|
itemInfo.value.customer = linkedDocuments[0].customer ? linkedDocuments[0].customer.id : null
|
||||||
itemInfo.value.project = linkedDocuments[0].project
|
itemInfo.value.project = linkedDocuments[0].project ? linkedDocuments[0].project.id : null
|
||||||
itemInfo.value.contact = linkedDocuments[0].contact
|
itemInfo.value.contact = linkedDocuments[0].contact ? linkedDocuments[0].contact.id : null
|
||||||
|
|
||||||
setCustomerData()
|
setCustomerData()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user