SolidInvoice
SolidInvoice copied to clipboard
Reset entity manager when it is closed
PR Summary
- Improvements in
InvoiceManager.php- The invoice manager has been updated to handle errors better, improving the stability of the application
- The precision of code in the Invoice Manager has been improved, contributing to a safer and faster application by ensuring that only the correct types of data are used.
- A condition has been added to check if the 'EntityManager' is closed and it resets it if needed. This enhancement addresses any potential halt in operations due to the 'EntityManager' being closed.
- Updates in
ScheduleBuilder.php- The method to handle query results in the Schedule Builder has been changed. It now leaves out intermediary data structures leading to a more efficient and faster operation.
- The system has been updated to only consider active invoices that have no end date or a future end date. This optimizes the system's focus and resources.
- The way the system gets the current time has been improved to provide more accurate timing information.
- Lastly, the description of the invoices has been updated, providing clarity and better understanding for users or clients interacting with these invoices.