I would like to have a counter in a browse screen that calculates the waiting time for a client.
A client comes to an appointment. When the client arrives in the waiting room, the assistant mentionned that the client is arrived and a counter starts.
We would lilke to sort client list by waiting time to limit confusion in the waiting room. Having that information directly accessible and be able to sort this column would be an elegant solution. Any idea about how to perform that ? thx for your help.
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Counter in browse screen to manage waiting room.
-
- nuBuilder Team
- Posts: 4301
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
Re: Counter in browse screen to manage waiting room.
By counter you mean the difference (in minutes) between the time now and the time the customer arrived?
Add a calculation in a Display column like
To refresh a Browse form in a certain interval, look here.
Add a calculation in a Display column like
Code: Select all
TIMESTAMPDIFF(MINUTE, `cus_arrived_at`, NOW())