fixed invoice form so it now takes data