Corrected
This commit is contained in:
@@ -880,9 +880,9 @@ const setRowData = (row) => {
|
||||
}
|
||||
|
||||
if(row.product) {
|
||||
row.unit = services.value.find(i => i.id === row.service).unit
|
||||
row.price = services.value.find(i => i.id === row.service).sellingPriceComposed.total || services.value.find(i => i.id === row.service).sellingPrice
|
||||
row.description = services.value.find(i => i.id === row.service).description
|
||||
row.unit = products.value.find(i => i.id === row.product).unit
|
||||
row.price = products.value.find(i => i.id === row.product).sellingPriceComposed.total || products.value.find(i => i.id === row.product).sellingPrice
|
||||
row.description = products.value.find(i => i.id === row.product).description
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user