Update AOS_Invoices.php

Set the invoice number in the case where it's a new record but already has an id.