# How would you approach this dilemma for a booking app

**URL:** <https://community.glideapps.com/t/how-would-you-approach-this-dilemma-for-a-booking-app/19528>\
**Category:** Ask for Help\
**Created:** [December 8, 2020, 1:39am UTC](https://community.glideapps.com/t/how-would-you-approach-this-dilemma-for-a-booking-app/19528 "2020-12-08T01:39:19Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [November 3, 2021, 9:13pm UTC](https://community.glideapps.com/t/how-would-you-approach-this-dilemma-for-a-booking-app/19528/19 "2021-11-03T21:13:00Z")

</div>

Hola @Lisa !

I know it’s an old topic but I wonder if you could improve your logic and APP or gave up?

I created my own version for these kind of APPs and I could simplify the logic and amount of columns. Of course, I used JS code through some Experimental Code columns to get it.

Try to do it using the Glide’s conventional tools is a nightmare and a mountain of work. I can understand @ThinhDinh perfectly when he stated “… _if someone asks me to build that thing again I would never say yes_” 😀.

I basically worked with arrays, put all dates into arrays, sorted them, filtered and looked for those available days/hours using my arrays via JS code and I can say that my APPs are not monsters difficult to maintain or improve (my big concern when I develop an APP or project).

Here you can test my demo version if you want: [https://book-us.glideapp.io](https://book-us.glideapp.io)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/b/5b69819c4e63abea6b035b6b293aad3fa7723b33.jpeg) … ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/5/f5f60cc8a91a84ca844654c1a372ec81deae7f56.png)

I included a section where you can set up your attendance parameters and control which days/hours you are available to accept a booking. I know there are more cases or settings to handle the non-workings days but I think I have covered 80-90% of cases.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/6/a60ddc7d453831422eaa910a5cd5fcd376ecd679.png) … ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/1/a1ad1dd10c064b35a3f9d1673d76fab213b17d32.png)

I hope it helps you if you are still stuck with it.

Feliz día!

---

_[View the full topic](https://community.glideapps.com/t/how-would-you-approach-this-dilemma-for-a-booking-app/19528)._
