Added HistoryDisplay.vue to Projects and Plants
Visual Restructure in Plants
This commit is contained in:
@@ -265,14 +265,12 @@ export const useDataStore = defineStore('data', () => {
|
||||
return tasks.value.filter(item => item.project === projectId)
|
||||
})
|
||||
|
||||
|
||||
|
||||
const getHistoryItemsByCustomer = computed(() => (customerId:string) => {
|
||||
return historyItems.value.filter(item => item.customer === customerId)
|
||||
const getTasksByPlantId = computed(() => (plantId:string) => {
|
||||
return tasks.value.filter(item => item.plant === plantId)
|
||||
})
|
||||
|
||||
const getHistoryItemsByVendor = computed(() => (vendorId:string) => {
|
||||
return historyItems.value.filter(item => item.vendor === vendorId)
|
||||
const getProjectsByPlantId = computed(() => (plantId:string) => {
|
||||
return projects.value.filter(item => item.plant === plantId)
|
||||
})
|
||||
|
||||
const getIncomingInvoicesByVehicleId = computed(() => (vehicleId:string) => {
|
||||
@@ -519,10 +517,10 @@ export const useDataStore = defineStore('data', () => {
|
||||
getDocumentsByProjectId,
|
||||
getTimesByProjectId,
|
||||
getTasksByProjectId,
|
||||
getTasksByPlantId,
|
||||
getProjectsByPlantId,
|
||||
getMovementsBySpaceId,
|
||||
getStockByProductId,
|
||||
getHistoryItemsByCustomer,
|
||||
getHistoryItemsByVendor,
|
||||
getIncomingInvoicesByVehicleId,
|
||||
getEventTypes,
|
||||
getTimeTypes,
|
||||
|
||||
Reference in New Issue
Block a user