Update commerce_invoice_custom.module

updated with final invoice number generation algorithm.