fix foreign currency editing, and receipt requirement calculation.