This a price simulator for a Portuguese company, so its developed in PT , gives the price depending on the hours of check in and check out, tons, if it is on weekend etc... the problem is when I try to calculate for exemple:
check in : 8:00
check out 18:00
The price that it gives is 879.34, because is calculating 2 shifts 8 to 17 and 17 to 8 , as you can see below described.
What I need in this case is only calculate the second shift and do not add the frist shift so in this case is 859.97
I hope you understand what I need if not please let me know.