Fixing #1

Pancake have updated the _generate_invoice_number() function that broke
this plugin