Reportistica Ore 2

This commit is contained in:
Paolo Arena
2021-02-24 04:52:33 +01:00
parent f8ad20d1ae
commit 1fdafbb0e4
16 changed files with 396 additions and 176 deletions

View File

@@ -180,6 +180,11 @@ namespace Getters {
return ris
}, 't')
const getRespByUsername = b.read((state) => (username) => {
const rec = state.resps.find((rec) => rec.username === username)
return !!rec ? rec.name + ' ' + rec.surname : ''
}, 'getRespByUsername')
const getListByTable = b.read((state) => (table) => {
if (table === tools.TABEVENTS)
return CalendarStore.state.eventlist
@@ -308,6 +313,10 @@ namespace Getters {
return getListByTable()
},
get getRespByUsername() {
return getRespByUsername()
},
get getCmdClick() {
return getCmdClick()
},