Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1574

Prorated service price may be the full amount just before the pro rata day

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.2, 3.5.0-b1
    • Component/s: None
    • Labels:
      None

      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              25/Feb/15