invoice numbering: fix bug
invoice numbering: fix bug: a task in smol-software-harbor (Harbor dataset). On the first invoice of a new year, Numbering.next number in lib/numbering.rb keeps counting from the previous year ( INV-2025-0413 instead of INV-2025-0001 ). The counter must restart at 0001 every new year. Fix it and…
The task
On the first invoice of a new year, `Numbering.next_number` in `lib/numbering.rb` keeps counting from the previous year (`INV-2025-0413` instead of `INV-2025-0001`). The counter must restart at 0001 every new year. Fix it and run `ruby -Ilib test/numbering_test.rb`.
Part of efederici/smol-software-harbor.