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

When splitting invoices, the original and the split invoice date_due loses time

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.11.2
    • Fix Version/s: 5.11.3
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      When an invoice is generated it contains a date_due that has a time value based on when the invoice was generated. So, if an invoice is created on "2025-03-27 19:18:00" then the due date would contain the same time "19:18:00".

      However, if you split an invoice, the due date for the original is set to the same date but the time is removed and becomes "00:00:00". The new invoice that is created because of the split also contains the time "00:00:00".

      This may cause the invoice to appear to be due on a different date than originally, depending on the timezone.

      Instead, both invoices (the original and new) should contain the same date time as the original invoice in invoices.date_due.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              17/Apr/25

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 3 hours, 5 minutes
              3h 5m

                Agile