Changes
This commit is contained in:
@@ -1113,6 +1113,10 @@ export const useDataStore = defineStore('data', () => {
|
||||
return inventoryitems.value.find(item => item.id === itemId)
|
||||
})
|
||||
|
||||
const getBankAccountById = computed(() => (itemId) => {
|
||||
return bankAccounts.value.find(item => item.id === itemId)
|
||||
})
|
||||
|
||||
const getProjectById = computed(() => (itemId) => {
|
||||
if(projects.value.find(i => i.id === itemId)) {
|
||||
let project = projects.value.find(project => project.id === itemId)
|
||||
@@ -1279,6 +1283,7 @@ export const useDataStore = defineStore('data', () => {
|
||||
getPlantById,
|
||||
getCreatedDocumentById,
|
||||
getInventoryItemById,
|
||||
getBankAccountById,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user