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

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.12.0 Sprint 2 [ 209 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 3 hours, 5 minutes [ 11100 ]
        Worklog Id 17659 [ 17659 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          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