add points autocalculation in transactions edit.