Edit UI form of purchases and sales.