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.