Details
-
Type: Sub-task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.3.0-b1
-
Component/s: None
-
Labels:None
Description
Add a new event triggers before input validation for:
- Invoices.addBefore
- Invoices.editBefore
- Invoices.setClosedBefore
- Invoices.createFromServicesBefore
Replace the current triggers for:
- Invoices.add
- Invoices.edit
- Invoices.setClosed
- Invoices.createFromServices
With ones for:
- Invoices.addAfter
- Invoices.editAfter
- Invoices.setClosedAfter
- Invoices.createFromServicesAfter
Add new methods for the Invoices observer for the new events.
Deprecate the old event methods, but call them in their new after equivalents.