324 — should apply default due period to new invoices¶
Description¶
Verifies that enabling Default due period (in days) in invoice settings makes new invoices prefill the due date as today + N days.
Preconditions¶
- Signed-in tenant with
Client 01and the user on the Invoice settings page.
Steps¶
- Toggle Default due period on and enter a random number of days between 1 and 60.
- Click Save settings. Expected: the "Saved" toast appears.
- Switch to Invoices, click Create invoice, pick
Client 01, click Next. - Expected: the due-date field is prefilled with today's date plus the chosen number of days (formatted as day/month/year).
Related¶
- Spec:
playwright/tests/integration/invoice.spec.ts(line 689)