fix save purchase and kardex