I said you would have to do it for all Registers. Each time you calculate the time compare it to the previous total time. If it is less then this Register has the shortest time.
for each Register...
Type: Posts; User: Junky
I said you would have to do it for all Registers. Each time you calculate the time compare it to the previous total time. If it is less then this Register has the shortest time.
for each Register...
Did you try it?
For each Register, iterate over the Customers and sum the service times.