Added Page Events

Added WeekNumbers to DatePicker
Changed Coloring in DatePicker
This commit is contained in:
2024-04-07 14:21:14 +02:00
parent 092f3aa6bd
commit d7fafda78e
7 changed files with 372 additions and 141 deletions

View File

@@ -1121,6 +1121,10 @@ export const useDataStore = defineStore('data', () => {
return bankAccounts.value.find(item => item.id === itemId)
})
const getEventById = computed(() => (itemId) => {
return events.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)
@@ -1289,6 +1293,7 @@ export const useDataStore = defineStore('data', () => {
getCreatedDocumentById,
getInventoryItemById,
getBankAccountById,
getEventById
}