Batchinvoice controller, subforms functionality added