Hans Öjes
hmm ... looped for You at 00:20 ... hmm?
Not here, so far!
Could You give some values which makes that?
I could test here too.
Which range of Planned finish times do You use?
This works then Planned finish time is between 'shop opens - shop closes'.
For me, if Planned finish time is after shop closes,
then that time should write by user
to next possible working day at shop opens time ...
as well as if it should be before open time then
it should write by user as previous working day's shop's close time.
(This is same file, only shop closes time has changed to 16:45 and also I changed runtimes as You wrote.)
hmm ... looped for You at 00:20 ... hmm?
Not here, so far!
Could You give some values which makes that?
I could test here too.
Which range of Planned finish times do You use?
This works then Planned finish time is between 'shop opens - shop closes'.
For me, if Planned finish time is after shop closes,
then that time should write by user
to next possible working day at shop opens time ...
as well as if it should be before open time then
it should write by user as previous working day's shop's close time.
(This is same file, only shop closes time has changed to 16:45 and also I changed runtimes as You wrote.)