Describe the bug
The invoice generator displays the "Invoice Date" and "Due Date" fields in reverse order. The "Invoice Date" (date of creation) is shown as being after the "Due Date," which is incorrect. Additionally, the "Invoice Date" field allows selecting future dates, while the "Due Date" field restricts the date to the current day (in this sense, the inputs are inverted).
To Reproduce
Steps to reproduce the behavior:
Go to the invoice/receipt generation page.
Input the "Invoice Date" and "Due Date."
Generate the invoice.
Observe that the "Due Date" appears as a date earlier than the "Invoice Date"
Expected behavior
The "Invoice Date" should be the creation date of the invoice, and the "Due Date" should reflect a date after the issue date. The system should ensure that the "Due Date" comes after the "Invoice Date."
Screenshots
Attached is a screenshot of the error:
Desktop:
OS: Windows 11
Browser: Brave Browser
Additional context
The "Invoice Date" field allows future dates, while the "Due Date" is restricted to the current day. These input behaviors are inconsistent and should be adjusted.
Describe the bug
The invoice generator displays the "Invoice Date" and "Due Date" fields in reverse order. The "Invoice Date" (date of creation) is shown as being after the "Due Date," which is incorrect. Additionally, the "Invoice Date" field allows selecting future dates, while the "Due Date" field restricts the date to the current day (in this sense, the inputs are inverted).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The "Invoice Date" should be the creation date of the invoice, and the "Due Date" should reflect a date after the issue date. The system should ensure that the "Due Date" comes after the "Invoice Date."
Screenshots
Attached is a screenshot of the error:
Desktop:
Additional context
The "Invoice Date" field allows future dates, while the "Due Date" is restricted to the current day. These input behaviors are inconsistent and should be adjusted.