Show sign-in date in pickup tooltips
Description
Some store teams have special rules for repeated pickups, e.g. "only once a week unless the slot was still free in an hour before the pickup". In such a case, it would be useful for store managers to see the timestamp at which someone signed into a pickup slot. The time is already being logged in the store log when signing into a slot.
Impact
Helps store managers keeping track of pickups
Proposal
- add a permission function that check if the user is allowed to see the timestamps: store managers, orga, and admins of the local store coordination group (if it exists)
- obtain the timestamps
fs_store_log
and add it to the pickup slots inPickupRestController
- add the timestamp to the slot's tooltip
Links / references
discussion in Produktteam: https://foodsharing.de/?page=bezirk&bid=2296&sub=forum&tid=107826
Related: there is a general discussion about how to use the data from the store log: https://foodsharing.de/?page=bezirk&bid=2296&sub=forum&tid=143821
Edited by Alex