Duplicating an Invoice

When viewing the particulars of a non-recurring invoice (one that wasn't generated through a subscription), the administrator will encounter the "Duplicate Invoice" option. Selecting this option will trigger the immediate creation of a new invoice, identical to the one being accessed, without requiring an additional confirmation. The newly generated invoice will also be initialized with a "draft" status, permitting further editing if necessary.

It's essential to emphasize that the duplication feature is exclusively applicable to non-recurring invoices, regardless of their current status. In the case of recurring invoices, the option will still be visible but disabled, preventing its use.