Fixed error in invoice number method and added some css