Custom Block: Check In/Out System

Now that the submission period for the Custom Blocks contest is over, I’d like to share my custom block for check-out/check-in systems!

This block is a customizable wizard which, in its most basic form, allows users to select a Unit record and create a new linked record in a Log table detailing when that record was “checked out” with relevant fields pre-filled to save time. The wizard just as easily allows users to check that unit back in to close out the log and make that unit available for selection once more. Advanced features include tracking a unit’s condition over time (i.e. the unit was in “great” condition when it was checked out, but was in “poor” condition when it was checked back in), and the ability to enable an Items table for bases structured where each unit is an instance of a type of item (i.e. 5 “Macbook Pros”, 6 “Samsung 32-inch TVs”, etc.).

This block will make day-to-day data entry for inventory managers, IT departments, librarians, equipment rental businesses, and more all that much easier!

Demo Video:

My contest submission: https://devpost.com/software/check-out-block

The repo on GitHub: https://github.com/thekamillionaire/check-out-in-block

8 Likes

Nice work, @Kamille_Parks!
:clap:t2::clap:t2::clap:t2::clap:t2::clap:t2::clap:t2::clap:t2::clap:t2::clap:t2:

2 Likes

As a note, sometime in the future when unstable_updateOptionsAsync() is no longer unstable, I may re-release this to update the condition field options when any of the action buttons are clicked so that all single select options match as an alternative to my current method of ignoring “unique” single select options.

“Option does not exist” is a difficult error to avoid in a foolproof way, at least for me and how I’ve coded this.

2 Likes

I need this right now. Hope it’s selected and made available.

While it wasn’t one of the winning submissions, it is available for you to copy! Check the last link in the original post. If I’m not mistaken, it will be added to the custom blocks library as well some time in the future.