Can I limit the amount on entries on a model?

Hello

Im working on an app that is tracking the amount of PTO used, as a right now I have the model, the views, template and Im able to display each entry from an user.

For example each user has 40 hours PTO, that would include a constraint of 40 entries per user? Any ideas in how can I keep track of how many hours each user is requesting, kinda like a counter perse and if so store it and use it somewhere in a template?

Regards

Yes, you have many ways that this can be done, depending upon a lot of different factors.

To start to get some ideas, review the docs for aggregations and annotations.

Thank you for pointing me in the right direction.