Type IA supernovae and cosmic peculiar velocities