Details
Description
Prorated amounts are calculated based on the days between the order date and the pro rata day. A day is split at noon, local time.
When the number of prorate days is calculated to be zero (0), it is presumed that the order day and pro rata day are the same (i.e. a customer is ordering on the pro rata day), so the price is to be in full for the entire term. However, it is also possible that the prorate days can be calculated to be zero (0) on the last half of the last day before the pro rata day. Because of this, the price is set to the full term price rather than the prorated price of that last half day, which would be zero.
This needs to be updated so that the last half day before the pro rata day is also prorated.