Merge branch 'devCorrected' into 'beta'
Fixed linkedDocuments Agrar See merge request fedeo/software!49
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user