Closed tiagonmas closed 1 year ago
I made small changes in the code to avoid throwing an exception. They expensive from the performance perspective and that is a known case and not something exceptional. What I did is created a InvalidInvoice object that will be returned instead and the caller will handle this invalid invoice showing the page that you created.
Description
Not letting users create invoices for past years, if after Jan 15th.