Added corresponding changes to edit sales invoice